Package Details: youtube-viewer-git 3.2.4-1

Git Clone URL: https://aur.archlinux.org/youtube-viewer-git.git (read-only)
Package Base: youtube-viewer-git
Description: A command line utility for searching and streaming videos from YouTube.
Upstream URL: https://github.com/trizen/youtube-viewer
Keywords: youtube
Licenses: GPLv3
Conflicts: youtube-viewer
Provides: youtube-viewer
Submitter: trizen
Maintainer: trizen
Last Packager: trizen
Votes: 108
Popularity: 0.570094
First Submitted: 2012-09-28 06:36
Last Updated: 2016-09-04 15:22

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

trizen commented on 2014-05-02 22:34

Hi dragos240,

Those videos have an encrypted signature which is hard to decrypt, but I see that the developers of youtube-dl figured a way to do it, so I added basic support for this URLs if youtube-dl is installed.
However, for some reason, this videos will play only in vlc and mpv, but not in mplayer.

dragos240 commented on 2014-02-03 03:10

Hi,

I'm getting 2 errors. One when attempting to play a video (no options):
"mplayer: could not connect to socket
mplayer: No such file or directory"

And when trying to download a video (-d):
HTTP request sent, awaiting response... 403 Forbidden
2014-02-02 22:08:10 ERROR 403: Forbidden.

Certain videos appear to work, although this specific one does not:
http://www.youtube.com/watch?v=RjzlkQylk90

youtube-dl is able to download the video. Any ideas?

trizen commented on 2014-01-20 04:54

Hello Pacce, those videos are specially protected by Youtube and can't be downloaded. If anyone will find some way around this issue, patches are very welcome. Thanks

Pacce commented on 2014-01-19 18:13

Hello Trizen!

Everything works great, except videos from Vevo or other labels (such as emimusic). When I play those videos, it shows the info and then goes back to video list.
Is this something related to my configuration or Vevo channel?

lordmocha commented on 2013-12-03 00:08

hey thanks, really-quiet fixed mpv. i had to install perl-lwp-protocol-https to be able to login. However once i paste in the auth code and remember, when i search for a video i get:
> test
[401 NoLinkedYouTubeAccount] Error occured on URL: http://gdata.youtube.com/feeds/api/videos?max-results=20&v=2&start-index=1&q=test

lordmocha commented on 2013-12-03 00:00

hey thanks, really-quiet fixed it. also i had to install perl-lwp-protocol-https to be able to login, should that be a dependency?

trizen commented on 2013-12-02 00:56

Hello lordmocha!
To play videos with mpv, try: youtube-viewer --mplayer=mpv --mplayer-args='--really-quiet'
Or modify the configuration file accordingly with any valid values for 'mplayer' and 'mplayer_arguments'.

lordmocha commented on 2013-12-02 00:49

hi, i can't seem to get this working for mpv, i have tried youtube-viewer --mplayer"mpv -prefer-ipv4", i have also tried /usr/bin/mpv and nolirc=true

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.

All comments