Looking for a specialized tool to search, watch and download online videos from French tv stations and especially from arte tv, Captvty seems one of the most powerful, the main advantage being that it is able to display all the available titles. But this is a Windows program, and the different methods to install it under Wine seemed obscure and contradictory to me.
The idea behind this question is for me to find, test and post here the steps needed to make this program work under Wine in 16.04.
Best Answer
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)
At this point
winetricks
is needed. You can install it withsudo apt-get install winetricks
but that version is subject to a possible error described here.winetricks
if already installed) to use the github link:Then move
winetricks
file from~/
to/usr/bin
by copy/paste in root file manager orThen, the Microsoft XML Parser file is needed. Download it and put it in
~/.cache/winetricks/msxml3
(create folder if it's not there).Run the command:
(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.
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
~/
thenThe 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
:and paste this, changing the path to the
.exe
file forExec=
line: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.