Package Details: youtube-viewer-git 3.2.3-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: 1.129270
First Submitted: 2012-09-28 06:36
Last Updated: 2016-07-29 15:00

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.

aibo commented on 2013-05-28 16:17

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)

trizen commented on 2013-03-16 17:06

Hi Army.

It wasn't me who broken this option. See: https://github.com/trizen/youtube-viewer/commit/e435a64e63bd4a7a881b79a47d19ae1a7ac249d2

By setting 'interactive' to 0 (in config), or by specifing the argument: '--no-interactive', it should work again.

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="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.

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.

gtmanfred commented on 2012-09-26 20:11

awesome, I will move it in just a little bit

trizen commented on 2012-09-26 09:13

A tag has been created: https://github.com/trizen/youtube-viewer/tags
I would like to see this package into community :) Thanks

gtmanfred commented on 2012-09-25 23:36

if you would tag some releases on github, and move this package to youtube-viewer-git, I would really like to put this into community If that is ok with you?

Thanks

trizen commented on 2012-09-23 13:19

Falstaff, see: https://bbs.archlinux.org/viewtopic.php?pid=1117699#p1117699

Falstaff commented on 2012-09-23 13:02

I'm getting this error when I'm trying to build:

Perl API version v5.14.0 of Data::Dumper does not match v5.16.0 at /usr/lib/perl5/site_perl/XSLoader.pm line 95.
Compilation failed in require at /usr/share/perl5/core_perl/Module/Build/Dumper.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Module/Build/Dumper.pm line 10.
Compilation failed in require at /usr/share/perl5/core_perl/Module/Build/Base.pm line 19.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Module/Build/Base.pm line 19.
Compilation failed in require at /usr/share/perl5/core_perl/Module/Build.pm line 15.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Module/Build.pm line 15.
Compilation failed in require at Build.PL line 4.
BEGIN failed--compilation aborted at Build.PL line 4.

Anonymous comment on 2012-09-03 06:37

Looks like characters, which aren't supported in filenames on Windows are being replaced. This is fine for Windows, but we can do better! ;)

Gently commented on 2012-09-03 02:34

trizen, when I download I'm getting a percentage symbol in some filenames:

Bill Gates Flushes Charity Down Toilet%.mp4
Rob Legato% The art of creating awe.mp4

The original names are:
Rob Legato: The art of creating awe
Bill Gates Flushes Charity Down Toilet?

trizen commented on 2012-08-24 09:42

@quite: it is recommended, but not required.

quite commented on 2012-08-24 09:40

perl-term-readline-gnu is also a dependency, right?

Anonymous comment on 2012-08-20 22:48

@Trizen: Everything seems works flawlessly for me now with the update, and with a new conf. Thank you so much!

Raziel23 commented on 2012-08-20 12:23

@nagisa: It should works but you have to update PATH enviroment variable. The perl package contain bash scripts in /etc/profile.d/perlbin.sh which add the path /usr/bin/site_perl to PATH variable only if a /usr/bin/site_perl directory exists. So if you haven't created the /usr/bin/site_perl directory before installing youtube_viewer package you have to reboot system or execute "source /etc/profile.d/perlbin.sh" command in terminal to update PATH variable.

nagisa commented on 2012-08-20 11:43

@trizen, wouldn't it be easier just to do `mv $pkgdir/usr/bin/site_perl/* $pkgdir/usr/bin` and update package?

trizen commented on 2012-08-20 09:26

@Beefive, thanks for the reports.
Here are some solutions:
1. export PATH="$PATH:/usr/bin/site_perl/"
2. Added a new value in config: 'results_with_colors' (please update).
3. The old way was very ambiguous, but now, :a=1 is equivalent with =a1 or ;a1 (see: youtube-viewer --tricks)

trizen commented on 2012-08-20 09:25

@Beefive, thanks for the reports.
Here are some solution:
1. export PATH="$PATH:/usr/bin/site_perl/"
2. Added a new value in config: 'results_with_colors' (please update).
3. The old way was very ambiguous, but now, :a=1 is equivalent with =a1 or ;a1 (see: youtube-viewer --tricks)

Anonymous comment on 2012-08-20 02:58

I find it very awkward to have to type out ":a=1" to see a specific author's videos, rather than the old way, "v 1". Is there any way you could somehow make that easier?

Anonymous comment on 2012-08-20 02:13

I got this error: http://pastebin.com/KhS6FZEs
After that, it installed into /usr/bin/site_perl/youtube-viewer. It does work if I run it from there, so I just made an alias for now. Also, "colors => 1" in the .conf doesn't work, but using -C does (however the colors look different from before). Let me know what more details you need!

Anonymous comment on 2012-08-19 07:34

The new PKGBUILD works fine here. I did get this error with the last PKGBUILD. Are you, Stefan and deselect, using the current PKGBUILD?

Anonymous comment on 2012-08-19 06:20

@StefanHusmann: I, too, get this error and cannot proceed, despite having all dependencies met. :S

trizen commented on 2012-08-19 03:09

@StefanHusmann: It installs fine here. Can you, please, provide more details? Thanks.

haawda commented on 2012-08-19 02:57

The install step fails with a "cannot stat, no such file or directory" message.

thestinger commented on 2012-06-22 21:24

@brotatos: rebuild perl-xml-fast

brotatos commented on 2012-06-22 21:23

Error ocurred while parsing http://gdata.youtube.com/feeds/api/videos/ZI3kq2WiNFU?v=2
Perl API version v5.14.0 of XML::Fast does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/share/perl5/core_perl/autouse.pm line 53.

hwkiller commented on 2012-06-20 20:33

Just wanted to say that this is an amazing program. Awesome job!

Anonymous comment on 2012-06-02 15:14

recompiling perl-xml-fast fixes it

Anonymous comment on 2012-06-02 13:52

youtube-viewer doesn't work with perl-5.16

Error ocurred while parsing http://gdata.youtube.com/feeds/api/videos/GCzaZWWT8Ys?v=2
Perl API version v5.14.0 of XML::Fast does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92, <FIN> line 1.
Compilation failed in require at /usr/share/perl5/core_perl/autouse.pm line 53, <FIN> line 1.

Downgrading to 5.14 works for now!

daimonion commented on 2012-02-17 22:50

Thanks, Trizen, I've just deleted youtube-viewer.conf, and it started to work again. Don't know how did I miss that... :)

trizen commented on 2012-02-15 16:57

Make sure that everything is ok in ~/.config/youtube-viewer/youtube-viewer.conf
Also, running it in '--debug' mode may help...

trizen commented on 2012-02-15 16:57

Make sure that everything is ok in ~/.config/youtube-viewer/youtube-viewer.config
Also, running it in '--debug' mode may help...

daimonion commented on 2012-02-15 16:48

It stopped working suddenly (doesn't play a video), but it can download a flv file. How can I debug it?

daimonion commented on 2012-02-15 16:46

It stopped working suddenly, how can I debug it?

felixonmars commented on 2012-02-15 10:33

@trizen
It works! Thank you so much!

trizen commented on 2012-02-15 09:40

Add 'nolirc=yes' to ~/.mplayer/config

felixonmars commented on 2012-02-15 03:25

I always get this:
mplayer: could not connect to socket
mplayer: No such file or directory

what could be the problem? thanks.

trizen commented on 2012-01-19 04:53

Done.

OK100 commented on 2012-01-18 18:56

Please add perl-net-http to dependencies.

trizen commented on 2012-01-18 18:04

Updated!

trizen commented on 2012-01-15 08:48

I will release a new version of youtube-viewer in the next few days and I'll also add those dependencies in the PKGBUILD.
Thank you guys!

Raziel23 commented on 2012-01-15 08:17

I have had also problem with running youtube-viewer. After installation perl-http-message and also perl-lwp-protocol-https package everything works. The package perl-http-message is no more dependency for perl-libwww package. When I have had only installed perl-http-message package I had one line error:

Can't use an undefined value as a SCALAR reference at /usr/bin/youtube-viewer line 1494.

Best regards.

trizen commented on 2012-01-15 06:27

'perl-http-message' should be a dependence of 'perl-libwww' (at least it was. (Arch Linux bug?)) and 'perl-lwp-protocol-https' is optional. Your error is strange... Please run it in debug mode (youtube-viewer --debug) and copy-paste here the URL which appears. Thanks.

Also reinstalling the youtube-viewer may fix the problem...

orschiro commented on 2012-01-15 05:03

We're getting closer.

=>> Insert an YouTube URL or search something...
> blues
Unbalanced close tag <feed> depth=2
Force tag close <category> at depth 2 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Force tag close <entry> at depth 1 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Force tag close <feed> at depth 0 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Error at char 61391 ( scheme='http://gdata.youtube.com/schemas/2007/keywords.cat): Error parsing node attributes at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.

I'm wondering why all these packages are not part of the dependencies.

trizen commented on 2012-01-15 04:10

Try to install 'perl-lwp-protocol-https'

orschiro commented on 2012-01-14 22:40

Thanks.

The error is gone but I do not get any videos to play.


[/home/robert]$ youtube-viewer salixos hd

(x_x) No video results!

=>> Insert an YouTube URL or search something...
> ^C

Regardless of the keywords I use I do not get any video results.

Regards

trizen commented on 2012-01-14 08:19

@orschiro - 'cpan HTTP::Request' or 'pacman -S perl-http-message' should fix the problem.

orschiro commented on 2012-01-14 08:10

I receive the following error.

Can anybody point me into the right direction?


=>> Insert an YouTube URL or search something...
> blues
Can't locate HTTP/Request.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 10, <STDIN> line 1.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 10, <STDIN> line 1.
Compilation failed in require at /usr/bin/youtube-viewer line 278, <STDIN> line 1.


Regards,

Robert

AnnS commented on 2011-12-08 03:52

It's not working for me. When I try to watch a video it shows the video description, etc, but then this:

mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

And it stays like that for a few seconds, then my system crashes to the login screen. And I find this in everything.log every time it happens: localhost kdm[708]: X server for display :0 terminated unexpectedly

Maybe there's something I'm missing?
I apologize for my english!

trizen commented on 2011-11-28 14:05

Yes. Install the latest version from git.
Usage: youtube-viewer -G --mplayer='--some arguments for gnome-mplayer' # default: without any argument!

Anonymous comment on 2011-11-28 02:55

Is there a way to use this with gnome-mplayer?

daimonion commented on 2011-09-25 02:01

Great, thanks for this awesome script! It rocks in conjuction with Opera! :D

A question: is there a way for this script to "press" F12 key when user input needed?

trizen commented on 2011-08-12 08:56

Fixed. I'm sorry for late.

Anonymous comment on 2011-08-09 07:09

How to use SMPlayer instead of Mplayer

Anonymous comment on 2011-08-04 21:27

Looks like youtube changed something. The userscript I use to play youtube videos with the internal video player doesn't work anymore either. So this package needs to be updated. Trizen, will take a look into it?

ajs124 commented on 2011-08-04 20:09

me too, but i'm useing mplayer2 and it worked before.

Anonymous comment on 2011-08-04 14:01

I can't stream any videos with this at all anymore since a few days back. Could it be an issue with new mplayer?

Anonymous comment on 2011-07-21 10:05

When I pause for a few minutes and resume playback, mplayer quits in the middle of the video.
I tried changing cache settings, but it didn't help.
I always have to use -idle to find out at what time the video quit.

Also is there a way to replay the video once it's over?
When I use -loop 0 it seems to redownload the entire file and -idle doesn't allow skipping back.

Anonymous comment on 2011-06-11 19:45

Thanks a lot, that was fast, I've replaced mplayer2-git with mplayer2 from community and the problem is solved.

trizen commented on 2011-06-11 18:54

Are you using mplayer2-git? There is the problem...

Anonymous comment on 2011-06-11 18:39

Hi, the script is great
There's one problem, after I watch one video it becomes kind of crazy, it keeps showing different results every one second, and no matter what I write at prompt, it gets erased every second too.
I dont't know if there's something wrong whith my box configuration or if it's a bug.
Thank's

trizen commented on 2011-06-07 10:36

You are right, something was wrong. Now everything should work fine...

Anonymous comment on 2011-06-07 07:13

With youtube-downloader I always get an option to download 240p videos, so they are available. But it's forbidden to stream them? I don't completely understand, sorry. But mp4 instead of flv also helps, so thanks for that!

trizen commented on 2011-06-07 06:12

1. I'm not sure
2. 240p (itag=5) is forbidden by Youtube, so I added support for 360p MP4 which is smaller than 360p FLV (MP4=6MB, FLV=7.1MB) (-2 to activate)

Anonymous comment on 2011-06-03 21:24

Other question, could you add an option -2 to play videos with 240p? It's because when I'm at home in my parent's house, the internet is so slow, that 240p is the only way to view youtube videos fluently. I'm sure there are other people out there who have to suffer under such a slow internet connection.

Anonymous comment on 2011-06-01 17:14

Is there a way to enable livestreams like on http://www.youtube.com/sport1 ?

Anonymous comment on 2011-04-08 23:26

Weird bug: When pasting a short youtube link (like http://youtu.be/oHg5SJYRHA0) on to youtube-viewer it snags information for the author info from 2 videos back and the title from the previous video
Kind of weird because the short url isn't that special, only a redirection.

trizen commented on 2011-03-22 18:11

Would be great, but I don't think this is possible, only to download the video first and extract audio after...

Anonymous comment on 2011-03-22 16:47

I LOVE the new option to download with wget. Just curious though, would it be possible to make it so that you download only audio from a video?

trizen commented on 2011-02-20 23:23

Hehe, thanks :)

Anonymous comment on 2011-02-20 23:13

DUDE! This subtitle thing is great! WELL done!!!

trizen commented on 2011-02-15 10:57

Updated. Thanks!

Anonymous comment on 2011-02-15 09:17

Just took a look at your PKGBUILD. Dude we don't use startdir anymore! Please use $srcdir instead of $startdir/src and $pkgdir instead of $startdir/pkg

trizen commented on 2011-02-15 08:29

Added makedepends=('git') to the PKGBUILD.

Anonymous comment on 2011-02-15 01:46

==> Connecting to github GIT server....
/tmp/yaourt-tmp-jmy/aur-youtube-viewer/./PKGBUILD: line 22: git: command not found

Fixed by installing git.

Anonymous comment on 2011-02-12 18:22

github, good decision :)

trizen commented on 2011-02-08 09:19

i hope it's a temporary problem, but anyway, I've changed the link source for the moment...

tjwoosta commented on 2011-02-08 08:36

Same issue here.

Anonymous comment on 2011-02-07 19:43

Right now the file doesn't download here as well, http://trizen.go.ro doesn't work, I get a 503 (service unavailable). Maybe it's temporal, I'll check again later, but there might be a problem with your server?

trizen commented on 2011-02-06 18:50

The URL is good. Please try again.

noctux commented on 2011-02-06 18:46

PKG-Build fails to download the necessary files:

--2011-02-06 19:43:28-- http://trizen.go.ro/files/youtube-viewer
Auflösen des Hostnamen »trizen.go.ro«.... 81.196.20.134
Verbindungsaufbau zu trizen.go.ro|81.196.20.134|:80...

trizen commented on 2010-12-19 01:56

Big update!
- ~60% of code has been changed
- Speed of script has been improved
- Added Windows support (needs SMPlayer)
- Many minor bug-fixes... Enjoy it!

trizen commented on 2010-12-17 15:20

How is possible?

[$~] makepkg -g
==> Retrieving Sources...
-> Found youtube-viewer
==> Generating checksums for source files...

md5sums=('24ce8f7f1337765a03db9dae03706df7')

Hiz commented on 2010-12-17 15:09

md5sums=('a9c99a260cb2e7c1c98b7932fd642b0a')

trizen commented on 2010-12-06 12:29

The option "-u" is back :)

trizen commented on 2010-12-06 07:20

Yes, I did that because doesn't worked anymore... Anyway, you can try to use youtube-viewer [username] --profile, but is not so relevant for all usernames... Anyway, give me some time and, only MAYBE, I will bring it back :) (in the next days)

Anonymous comment on 2010-12-05 23:08

Did you remove the feature to display all videos of a specific user? I liked that feature :'-(

Oh and I discovered that you thank me in the sourcecode, very nice :D I'm proud and honored to be helpful!

tjwoosta commented on 2010-12-02 19:50

Fails validity check

trizen commented on 2010-11-30 14:21

Fixed...
The problem was "die "$streaming\n";"
I'm sorry about that...

Anonymous comment on 2010-11-30 12:45

I have a problem, the multi select option doesn't work anymore

% youtube-viewer axe-fx for beginners tutorial


1 - Axe Fx for Beginners Tutorial 8: Drive and Distortion (9:00)
2 - Axe Fx for Beginners Tutorial 6: Vocoder (9:08)
3 - Axe-Fx for Beginners Tutorial 5: The Compression Block (6:39)
4 - Axe Fx for Beginners Tutorial 7: Synth Guitar (9:19)
5 - Axe-Fx for Beginners Tutorial 1: Making a simple Patch (11:04)
6 - Axe-Fx for Beginners Tutorial 2: The Chorus Block (10:28)
7 - Axe-Fx for Beginners Tutorial 3: The Delay Block (11:16)
8 - Axe-Fx for Beginners Tutorial 4: The Flange Block (9:17)

=>> Insert the Number of a Video
> 5 6 7 8 3 2 4 1
http://www.youtube.com/get_video?t=vjVQa1PpcFPLuUNKrx31vNshJ2AwAKB7dzRTKkpo0HE=\&video_id=g6GPeXKbCZw\&asv=3g6GPeXKbCZw

Then it simply stops. Is the "&" before video_id the problem?

firecat53 commented on 2010-10-25 15:55

Great script!! It'd be awesome if there was a cmomand to send the URL of the selected video to stdout so it could be piped to something like youtube-dl.

Thanks!
Scott

trizen commented on 2010-10-16 10:43

trizen.go.ro is back!

Youtube-Viewer has been updated.

New options are available:
-c : show categories
-m : more clips at search
-f : fullscreen mode

Added "Did you mean" option and few small bug fixes...

View more informations in script...

trizen commented on 2010-10-14 10:22

I know... For some reasons the server is down. I hope it will be back very soon... Sorry for any inconvenience.

Anonymous comment on 2010-10-14 10:01

trizen.go.ro is unreachable for me.......

Anonymous comment on 2010-10-10 11:34

Nope, the md5sum is right. How do you create the package? makepkg? clyde? yaourt? ...?

Anonymous comment on 2010-10-10 09:55

Hi, get the following when trying to build:

==> Making package: youtube-viewer 2.3-1 (Sun Oct 10 17:54:03 WST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found youtube-viewer
==> Validating source files with md5sums...
youtube-viewer ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: Build failed

Cheers

trizen commented on 2010-08-11 10:11

Solved. Thank you!

Anonymous comment on 2010-08-08 17:14

Hey, there's a little problem with the title of the videos

[...] Working... Please wait...


=>> &#x202a;How fast is Arch Linux?&#x202c;&lrm;
--------------------------------------------------------------------------------
* Uploaded by alvarogd

Arch Linux with KDEmod. Very fast.
--------------------------------------------------------------------------------

=>> View & Download
--------------------------------------------------------------------------------
* URL http://www.youtube.com/watch?v=A5h7wtkg4Bc
* GET http://www.youtube.com/get_video?video_id=A5h7wtkg4Bc&t=vjVQa1PpcFPC_tH9p4ZyJ5j0XErTPGhq-hoSKsTn5YA=&asv=3&fmt=18
--------------------------------------------------------------------------------

This also happens with youtube-downloader

Falstaff commented on 2010-08-02 10:44

Awesome.

trizen commented on 2010-07-22 10:56

'ao -sdl' is because, many of audio drivers are buggy and many users use default configuration, so when you play two videos once the sound is heard only from first one, anyway, I'm gonna remove it... Thanks.

Anonymous comment on 2010-07-22 10:44

Just one thing, you use -ao sdl in the mplayer command line. I still think it's better to let the user configure this in the mplayer config.

trizen commented on 2010-07-22 08:32

Fixed...

trizen commented on 2010-07-22 08:07

OMG. What youtube have done? No video works... Fix is coming soon... I'm sorry...

Anonymous comment on 2010-07-21 09:57

Yepp, pretty nice! No must-have, but coming closer to the original youtube experience. Wanna add all the video comments as well? (joking)

trizen commented on 2010-07-21 09:31

* It's time for v2.2.0
** Added a nice feature which prints some informations about the video which you watching at.

trizen commented on 2010-07-21 09:31

* Time for v2.2.0
** Added a nice feature which prints some informations about the video which you watching at.

Anonymous comment on 2010-07-19 16:46

Great! :-) Looking forward to new ideas ... I have none right now :-D

trizen commented on 2010-07-19 13:31

I think everything should work fine now... :) (sorry for late)

Anonymous comment on 2010-07-13 17:08

So ... I've been using this little toy every day for the last couple of weeks and there are two things that would make it even better (imho)

1.
When someone sends me a youtube link via chat, I start it with youtube-viewer. Works fine, but would be great to see the title of it somewhere, because in case that's relevant for the further conversation with my friend I have to go to the youtube page which I really would love to avoid

2.
When I want to watch a splitted video (e.g. for example "we feed the world" with this output)

% youtube-viewer we feed the world essen globa - hq

1 - 01/09 - We feed the World: Essen global - HQ (10:38)
2 - 02/09 - We feed the World: Essen global - HQ (10:38)
3 - 09/09 - We feed the World: Essen global - HQ (10:31)
4 - 05/09 - We feed the World: Essen global - HQ (10:38)
5 - 06/09 - We feed the World: Essen global - HQ (10:38)
6 - 03/09 - We feed the World: Essen global - HQ (10:38)
7 - 07/09 - We feed the World: Essen global - HQ (10:38)
8 - 04/09 - We feed the World: Essen global - HQ (10:38)
9 - 08/09 - We feed the World: Essen global - HQ (10:38)
10 - Global Warming: MEAT THE TRUTH (full length • widescreen • 4 subtitle languages ... (1:12:20)

=>> Insert the Number of Video
> 1 2 6 8 4 5 7 9 3

(I picked this example because this was the video I watched yesterday, which lead to this idea)

it would be really a cool feature to be able to insert multiple numbers of videos to play them one after the other in the right order.

trizen commented on 2010-06-30 15:30

Solved.. I've tried something and I forgot to change it back...
Now, everything should work fine... Thank you :-)

Anonymous comment on 2010-06-30 14:30

Oh, one thing: About your mplayer option -vo sdl, it's better to let the user decide which output driver to be used! I don't like sdl, because in fullscreen mplayer my multimedia keys don't work. I prefer xv and I have it configured in my ~/.mplayer/config via vo=vx.
The cache options are ok imho.

That's really my only complaint, I love this script!!!

Anonymous comment on 2010-06-30 13:02

You're welcome, thanks for implementing them! I already uninstalled minitube :-D

trizen commented on 2010-06-30 10:33

That was really easy to implement it. Thanks for your ideas :D

Anonymous comment on 2010-06-30 10:07

Super awesome!!!
There's one idea that came to me yesterday, I'm not sure how hard it is to implement, but:
When I'm searching for a video and go through all the results, I always have to start youtube-viewer again with the same search words. That's not a big deal of course because of the command line history in the shell. But it would be even better if youtube-viewer doesn't quit after the video is completely played or interrupted, but goes back to the results.
I hope you get what I mean :-)

By the way, I tested your newest version on tty by adding -vo fbdev2 -really-quiet to the mplayer options. Really awesome to have youtube on tty! :-D

trizen commented on 2010-06-30 02:16

Done! Both of them :)

Usage:
1. To continue playing videos, one after one, use: "youtube-viewer [words] -p"
2. To search a video use: "youtube-viewer [words]" and to play it, insert only the number of it.

trizen commented on 2010-06-29 21:49

Done...

Anonymous comment on 2010-06-29 14:33

The thing is, when I'm on the terminal, I want to avoid using the mouse. The double-click method works, of course, but I think having to type in short numbers would be great.

trizen commented on 2010-06-28 23:20

I will think about it...
Anyway is easy to copy-paste the code.
Try this: "double-click" on code and then "middle-click".

trizen commented on 2010-06-28 23:14

I will think about it...

Anonymous comment on 2010-06-28 21:42

Would it be possible to
1. get a continuous playback of the results (the way minitube does)? This would really make minitube unneeded :-)
2. select the video with a simpler combination than the code of the video? for example could you number them 1,2,3,... in order of the results?

trizen commented on 2010-06-28 20:12

Added support to search YouTube Videos and play them in mplayer by inserting the video code.
Usage: youtube-viewer [words]
Example: youtube-viewer avatar trailer 2009

trizen commented on 2010-06-07 00:28

Great idea.. working on it...

Edited: Done... :)

[script] : will let you choose the quality of video
[script] [url] : script will choose best quality available
[script] -s || -stdin: Insert a URL via STDIN and play it @ best quality available
[script] -h || -help : print this message...

trizen commented on 2010-06-06 23:31

Ok.. great idea.. working on it...

Edited: Done... :)

[script] : will let you choose the quality of video
[script] [url] : script will choose best quality available
[script] -stdin : Insert a URL via STDIN and play @ best quality available
[script] -help : print this message...

trizen commented on 2010-06-06 23:26

Ok.. great idea.. working on it...

Edited: Done... :)

trizen commented on 2010-06-06 22:54

Ok.. great idea.. working on it...

Anonymous comment on 2010-06-06 22:51

Feature request ;-)

What do you think about implementing sth like this

youtube-viewer --best http://www.youtube.com/watch?v=???

where --best automatically picks the best quality available for the specific video? I'd love to use this in a script.

Anonymous comment on 2010-06-02 17:32

Nice app, thnx!