topic title: gtk-youtube-viewer
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#1
Is this still working for those using Testing or sid repos?

If not, I will upload a deb that is working here.
Alanarchy
Posts 0
Alanarchy
#2
It doesn't seem to be on my machine which uses testing, but like its owner, it's old and temperamental __{{emoticon}}__
Posts: 156
caprea
Joined: 08 Jan 2014
#3
Using testing

Code: Select all

$ gtk-youtube-viewer
Smartmatch is experimental at /usr/bin/gtk-youtube-viewer line 345.
Smartmatch is experimental at /usr/bin/gtk-youtube-viewer line 1024.
given is experimental at /usr/bin/gtk-youtube-viewer line 1137.
when is experimental at /usr/bin/gtk-youtube-viewer line 1138.
when is experimental at /usr/bin/gtk-youtube-viewer line 1143.
when is experimental at /usr/bin/gtk-youtube-viewer line 1147.
Smartmatch is experimental at /usr/bin/gtk-youtube-viewer line 1599.
Can't locate WWW/YoutubeViewer.pm in @INC (you may need to install the WWW::YoutubeViewer module) (@INC contains: / etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/bin/gtk-youtube-viewer line 35.
helga@freya:~
$ 
Posts: 19
fronkonstin
Joined: 16 Jun 2014
#4
Same problem in my case (antix 13.2 with jessie/testing repos). It seems that youtube-viewer-antix uses /usr/local/lib/perl/5.14.2 but my system, after"apt-get update" and"apt-get dist-upgrade" has perl 5.18.2. Even if you force perl to use that library with"perl -I <path>" it doesn't work (it reports a problem with XML::Fast module)

However, I tried this, and it worked:
- Uninstall youtube-viewer-antix (and libyaml-perl)

Code: Select all

sudo apt-get purge youtube-viewer-antix
sudo apt-get autoremove
- Go to
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://code.google.com/p/trizen/"
linktext was:"https://code.google.com/p/trizen/"
====================================
, get last binaries for wheezy (my system uses jessie/testing and it also works) and install with"gdebi"

Code: Select all

wget https://trizen.googlecode.com/files/youtube-viewer_3.0.9%7Ewheezy.zip
unzip youtube-viewer_3.0.9~wheezy.zip
sudo gdebi youtube-viewer_3.0.9/youtube-viewer_3.0.9-1_all.deb
Then you can use"youtube-viewer" (command-line) or"gtk-youtube-viewer" (GUI).

I have tested in a very old laptop (Pentium-II 333Mhz, 256Mb RAM) and it is able to reproduce youtube videos (in lowest quality mode; very ugly but usable __{{emoticon}}__ )
Posts: 19
fronkonstin
Joined: 16 Jun 2014
#5
Additionally, for users with this error in"mplayer" (used by"youtube-viewer" and"gtk-youtube-viewer") after"apt-get update" and"apt-get dist-upgrade"

Code: Select all

mplayer: error while loading shared libraries: libdvdnavmini.so.4: cannot open shared object file: No such file or directory
The following workaround works:

Code: Select all

sudo ln -s /usr/lib/i386-linux-gnu/libdvdnav.so.4.1.2 /usr/lib/i386-linux-gnu/libdvdnavmini.so.4