Playonlinux
As the initial Wine-only solution was rather complicated (see below) I have found a Playonlinux solution that I posted on U&L.
Wine-only
(without Playonlinux)
- To be sure, remove the previous Wine installation from Synaptic.
rm -rf ~/.wine
sudo add-apt-repository ppa:ubuntu-wine/ppa -y && sudo apt-get update
sudo apt-get install wine1.8
export WINEARCH=win32
At this point winetricks
is needed. You can install it with sudo apt-get install winetricks
but that version is subject to a possible error described here.
- To avoid that error the solution is (after removing
winetricks
if already installed) to use the github link:
sudo apt-get remove winetricks
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
Then move winetricks
file from ~/
to /usr/bin
by copy/paste in root file manager or
sudo mv winetricks /usr/bin/
winetricks vcrun2010 dotnet40 gdiplus comctl32 ie8
(If, as indicated in the source link posted at the end, the command is run before installing msxml3
, you will be prompted in terminal to download it as indicated above.)
Do not approve updates and such from Windows.
- Download, unpack the Captvty package on your home partition and execute captvty.exe ('open with' - Wine), it should work now.
The program has an option to watch the videos without downloading them using internal or external players. The internal player is flashplayer for Windows. To get that and be able to whatch the videos in this way:
Go to http://get.adobe.com/en/flashplayer/otherversions/
Download the Windows 7, Internet Explorer version, in ~/
then
wine install_flash_player_ax.exe
The internal flash player works fine and seems totally preferable to external players, because the Linux native video players cannot be used (only Windows players in Wine).
(The latter can only theoretically be used in the same way, on the condition that Wine supports them, and then added through Captvty options. The only one that (kind of) worked when testing was the portable mpv for Windows, but compared to the 'internal' flash player there is a long/huge (5 minutes!) lag between the moment the command to start the video is made and the moment the video starts playing: otherwise it works fine... when it does... but it's not worth the effort: to watch the video use the other methods presented in this answer to get the video url and play it in a native video player.)
To search & launch Captvty (from Dash in Unity, krun in KDE, Synapse, etc) and see it among other Internet applications in menu launchers, create a .desktop
file like so:
Using gedit
:
gedit ~/.local/share/applications/captvty-wine.desktop
and paste this, changing the path to the .exe
file for Exec=
line:
[Desktop Entry]
Categories=AudioVideo;
Exec=bash -c 'wine /path/to/the/program/folder/captvty-2.5.1/Captvty.exe'
Icon=captvty
Name=TV Downloader Captvty
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;System;
To have an icon for that, find a png, name it captvty.png
and put it in ~/.local/share/icons
Credits: the answer is based on these posts here and here.
Version update:
Tested the above with 2.3.8.2 version and also with 2.5.1. Testing the more recent 2.5.4.1 the arte 7+ option gave no results, while this worked with the older version.