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?
Search Criteria
Package Details: youtube-viewer-git 3.11.6.r0.gcc1264a-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/youtube-viewer-git.git (read-only, click to copy) |
---|---|
Package Base: | youtube-viewer-git |
Description: | A lightweight YouTube client for Linux |
Upstream URL: | https://github.com/trizen/youtube-viewer |
Keywords: | perl youtube |
Licenses: | Artistic2.0 |
Conflicts: | youtube-viewer |
Provides: | youtube-viewer |
Submitter: | trizen |
Maintainer: | trizen |
Last Packager: | trizen |
Votes: | 112 |
Popularity: | 0.000000 |
First Submitted: | 2012-09-28 06:36 (UTC) |
Last Updated: | 2025-04-22 16:46 (UTC) |
Dependencies (15)
- perl (perl-gitAUR)
- perl-data-dump
- perl-json
- perl-libwww
- perl-lwp-protocol-https
- perl-unicode-linebreak
- yt-dlp (yt-dlp-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-libfdk_aacAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR) (optional) – conversions and MKV merging
- mpv (mpv-light-pulseAUR, mpv-gitAUR, mpv-build-gitAUR, mpv-full-luajit-gitAUR, libmpv-gitAUR, mpv-full-gitAUR, mpv-full-build-gitAUR, mpv-amd-full-gitAUR, mpv-fullAUR) (optional) – play videos with MPV (recommended)
- perl-json-xs (optional) – faster JSON parsing
- perl-lwp-useragent-cachedAUR (optional) – local cache support
- perl-term-readline-gnu (optional) – better STDIN support (+history)
- vlc (vlc-noxAUR, vlc-gitAUR) (optional) – play videos with VLC
- wget (wget-gitAUR) (optional) – download videos with wget
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »
Pacce commented on 2014-01-19 18:13 (UTC)
lordmocha commented on 2013-12-03 00:08 (UTC)
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
trizen commented on 2013-12-02 00:56 (UTC)
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 (UTC)
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
<deleted-account> commented on 2013-09-07 01:41 (UTC)
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 (UTC)
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 (UTC)
Hi,
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 http://gdata.youtube.com/feeds/api/videos/pc0NHsRLef8?v=2 ==> 200 OK
XML::Fast: Error occured while parsing the XML content of: http://gdata.youtube.com/feeds/api/videos/pc0NHsRLef8?v=2
=>> Search for YouTube videos (:h for help)
<deleted-account> commented on 2013-03-16 16:19 (UTC)
Hi, got a little bug to report:
--get-title is broken for me:
% youtube-viewer -N --get-title="http://www.youtube.com/watch?v=K3_HHZFi0As"
The Simpsons THX
=>> Search for YouTube videos (:h for help)
>
The expected behavior is that it only outputs the title and then exits.
Pinned Comments
trizen commented on 2025-03-16 10:21 (UTC) (edited on 2025-03-16 10:22 (UTC) by trizen)
A workaround would be to set in the config-file,
force_fallback => 1,
which will useyt-dlp
to extract the video URLs.