Package Details: youtube-viewer-git 3.8.0.r0.g887fdc8-1

Git Clone URL: (read-only, click to copy)
Package Base: youtube-viewer-git
Description: Command line utility for searching and streaming videos from YouTube.
Upstream URL:
Keywords: youtube
Licenses: Artistic2.0
Conflicts: youtube-viewer
Provides: youtube-viewer
Submitter: trizen
Maintainer: trizen
Last Packager: trizen
Votes: 112
Popularity: 0.103617
First Submitted: 2012-09-28 06:36
Last Updated: 2020-10-14 22:57

Dependencies (15)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

Anonymous comment on 2013-09-07 01:41

Searching for videos works excellently for me, but they seem to be not playing for some reason. I have 'nolirc=true' in my mplayer config. When I enter the number of the video I want to watch, it'll output the title of the video, description, author, etc., but will hang for several seconds and then return me to the results page rather than play the video. Debug mode shows that it executes this command before it hangs:
'/usr/bin/mplayer -prefer-ipv4 -really-quiet -cache 2000 -cache-min 3'

I am able to make it work by using vlc as the media player instead, but I'd really like to use mplayer. Is there any way that I could fix this?

trizen commented on 2013-05-28 18:12

After successfully upgraded to perl 5.18, you need to delete everything from /usr/lib/perl5/site_perl, and to reinstall the perl-xml-fast package. Or just remove completely the XML:: Fast module from your system. youtube-viewer will work without it.

If some warnings will appear after the upgrade, making an alias like this:
alias youtube-viewer="perl -X /usr/bin/youtube-viewer"

will hide them all.

aibo commented on 2013-05-28 16:17


since I updated youtube-viewer and a handful of perl packages from the main repos, I get XML parse errors when I search for videos and no video results. I get this XML error also, when I pass a video url as an argument to youtube-viewer.
Result is, that it doesn't list any videos or play any passed videos.

This is what I see with "--debug 1" and a video url:

** GET ==> 200 OK
XML::Fast: Error occured while parsing the XML content of:

=>> Search for YouTube videos (:h for help)

Anonymous comment on 2013-03-16 16:19

Hi, got a little bug to report:

--get-title is broken for me:

% youtube-viewer -N --get-title=""
The Simpsons THX
=>> Search for YouTube videos (:h for help)

The expected behavior is that it only outputs the title and then exits.

archman commented on 2013-01-11 16:59

[401 Token expired]
Any ideas?

gtmanfred commented on 2012-09-28 20:57

cool, i figured that is what it was, will rebuild and push to the repos again, and then merge the 2 thanks :D

trizen commented on 2012-09-28 06:38

Sorry. I just wanted to fix the 403:Forbidden issue first. youtube-viewer-git has been added and version 3.0.2 released.

gtmanfred commented on 2012-09-28 02:50

if you don't remake this by tomorrow, I will have to just delete it

gtmanfred commented on 2012-09-27 04:46

please make youtube-viewer-git, and move the pkgbuild there so I can merge this one there and you can keep the votes

Anonymous comment on 2012-09-27 02:59

I'm getting "Server returned 403:Forbidden" for everything everywhere now. Does this still work for everyone else? Did youtube change something?
edit: youtube-dl and minitube don't work either. I'm guessing youtube changed something as usual.