gtk-youtube-viewer (for lots of pups)
*** Gtk-youtube-viewer v3.5 for TahrPup 32-bit ***
(tested on TahrPup 6.0.6 and X-Tahr)
====================================================
EDIT 2018-10-21 Download link replaced with fixed version:
Added HTTP::Headers perl modules, this should fix the problem not remembering authentication when logged in
====================================================
EDIT: Download here newest version 3.5.3 :
http://murga-linux.com/puppy/viewtopic. ... 59#1009159
youtube-viewer-3.5.1-tahr_i386.pet:
https://dl.dropboxusercontent.com/s/iea ... 6.pet?dl=1
Gtk-youtube-viewer works best with mpv and youtube-dl.
(many video's won't play without youtube-dl installed)
Install mpv-20150814-git-i686-precise.pet (works on Tahr)
https://dl.dropboxusercontent.com/s/63i ... e.pet?dl=1
Got it from here, thanks jist !
http://www.murga-linux.com/puppy/viewto ... 332#859332
Install youtube-dl:
EDIT:
There may be a problem with rxvt (needed for e.g. "Download video")
Change in Preferences to xterm and add -hold :
Fred
(tested on TahrPup 6.0.6 and X-Tahr)
====================================================
EDIT 2018-10-21 Download link replaced with fixed version:
Added HTTP::Headers perl modules, this should fix the problem not remembering authentication when logged in
====================================================
EDIT: Download here newest version 3.5.3 :
http://murga-linux.com/puppy/viewtopic. ... 59#1009159
youtube-viewer-3.5.1-tahr_i386.pet:
https://dl.dropboxusercontent.com/s/iea ... 6.pet?dl=1
Gtk-youtube-viewer works best with mpv and youtube-dl.
(many video's won't play without youtube-dl installed)
Install mpv-20150814-git-i686-precise.pet (works on Tahr)
https://dl.dropboxusercontent.com/s/63i ... e.pet?dl=1
Got it from here, thanks jist !
http://www.murga-linux.com/puppy/viewto ... 332#859332
Install youtube-dl:
Code: Select all
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl
There may be a problem with rxvt (needed for e.g. "Download video")
Change in Preferences to xterm and add -hold :
Code: Select all
terminal => "/usr/bin/xterm",
terminal_exec => "-hold -e '%s'",
Last edited by fredx181 on Wed 07 Nov 2018, 18:01, edited 4 times in total.
-
- Posts: 154
- Joined: Wed 10 Aug 2011, 21:41
- Location: United States
- Contact:
I installed this on UpupBB 18.0.5 +14 yesterday. It worked wonderfully at that time.
I started the app today and it would not work. I started the program in lxterm. Initially there were no messages in the terminal window. After attempting to search subscriptions (I am logged in) this message displayed in the terminal window:
I started the app today and it would not work. I started the program in lxterm. Initially there were no messages in the terminal window. After attempting to search subscriptions (I am logged in) this message displayed in the terminal window:
No videos were displayed in the viewer interface. I am not able to search for videos by channel or by user either.Can't locate HTTP/Headers/Util.pm in @INC (you may need to install the HTTP::Headers::Util module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/i386-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/share/perl5/LWP/UserAgent.pm line 375.
- Attachments
-
- Screenshot.png
- (30.37 KiB) Downloaded 587 times
Yes, not sure, but apparently because of the missing "HTTP::Headers" modules the login authentication isn't remembered, I added these, so should be fixed now, new download links here:roadkill13 wrote:I installed this on UpupBB 18.0.5 +14 yesterday. It worked wonderfully at that time.
I started the app today and it would not work. I started the program in lxterm. Initially there were no messages in the terminal window. After attempting to search subscriptions (I am logged in) this message displayed in the terminal window:
No videos were displayed in the viewer interface. I am not able to search for videos by channel or by user either.Can't locate HTTP/Headers/Util.pm in @INC (you may need to install the HTTP::Headers::Util module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/i386-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/share/perl5/LWP/UserAgent.pm line 375.
Bionic:
http://murga-linux.com/puppy/viewtopic. ... 55#1007755
Tahr:
http://murga-linux.com/puppy/viewtopic. ... 18#1007818
And thanks for reporting !
@Smithy,
I think I can do that, probably tonight or tomorrow.Hi Fred, if you get the chance to make a non-cde pet for Artful that would be great. That MPV for precise works in Artful.
Fred
-
- Posts: 154
- Joined: Wed 10 Aug 2011, 21:41
- Location: United States
- Contact:
Fred wrote:
Once installed it works just fine. Thank you very much for the fix.
One minor issue to report with the 3.5.2 version (fixed). Package installer reported that the name inside the package is different than the name outside the package and refused to install. I resolved this by renaming the package by removing -bionic from the name of the pet package so it reads "youtube-viewer-3.5.2_i386.pet".Yes, not sure, but apparently because of the missing "HTTP::Headers" modules the login authentication isn't remembered, I added these, so should be fixed now, new download links here:
Bionic:
http://murga-linux.com/puppy/viewtopic. ... 55#1007755
Once installed it works just fine. Thank you very much for the fix.
Ah, thanks, good to know, just before uploading I did rename the pets.roadkill13 wrote:Package installer reported that the name inside the package is different than the name outside the package and refused to install. I resolved this by renaming the package by removing -bionic from the name of the pet package so it reads "youtube-viewer-3.5.2_i386.pet".
Again replaced download links above now (removed "-bionic" from name).
Fred
-
- Posts: 154
- Joined: Wed 10 Aug 2011, 21:41
- Location: United States
- Contact:
*** Gtk-youtube-viewer for Artful and Xenial ***
EDIT: Download here newest version 3.5.3:
http://murga-linux.com/puppy/viewtopic. ... 59#1009159
Artfulpup pet package 32-bit:
https://dl.dropboxusercontent.com/s/yj1 ... 6.pet?dl=1
There's no special need to install mpv in Artfulpup, the mplayer included seems to work fine.
But if you do want to use mpv, go in Preferences and change to mpv, so looks like:
Xenialpup pet package 32-bit:
https://dl.dropboxusercontent.com/s/8px ... 6.pet?dl=1
There may be a problem with rxvt (needed for e.g. "Download video")
Change in Preferences to xterm and add -hold :
........................................................
Install youtube-dl (otherwise many video's won't play), from terminal:
Fred
EDIT: Download here newest version 3.5.3:
http://murga-linux.com/puppy/viewtopic. ... 59#1009159
Artfulpup pet package 32-bit:
https://dl.dropboxusercontent.com/s/yj1 ... 6.pet?dl=1
There's no special need to install mpv in Artfulpup, the mplayer included seems to work fine.
But if you do want to use mpv, go in Preferences and change to mpv, so looks like:
Code: Select all
video_player_selected => "mpv",
https://dl.dropboxusercontent.com/s/8px ... 6.pet?dl=1
There may be a problem with rxvt (needed for e.g. "Download video")
Change in Preferences to xterm and add -hold :
Code: Select all
terminal => "/usr/bin/xterm",
terminal_exec => "-hold -e '%s'",
Install youtube-dl (otherwise many video's won't play), from terminal:
Code: Select all
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl
Last edited by fredx181 on Mon 05 Nov 2018, 20:57, edited 2 times in total.
For to update gtk-youtube-viewer, it needs to be compiled from newer version at github:Smithy wrote:Thanks for doing these latest Fred.
If it needs updating from time to time, is there an update command that can be entered for them like before ./youtube-dl.cde -U
https://github.com/trizen/youtube-viewer
But that's probably rather easy because the perl dependencies are already installed (from the installed pet).
(unless the changes are so major that it needs other perl modules)
EDIT: Required to install from PPM: libmodule-build-perl and cmake (at least)
Updating youtube-dl you can do from time to time by:
Code: Select all
youtube-dl -U
Good info, thanks Fred.
Here's some svg pixmap icons for the app if they are useful to you.
Just two missing, Playlists and Like, oh and a submenu Video icon somewhere, couldn't find them in the massive faenza set.
https://www.dropbox.com/s/y0i4o3wqoh5gg ... s.tar?dl=1
Here's some svg pixmap icons for the app if they are useful to you.
Just two missing, Playlists and Like, oh and a submenu Video icon somewhere, couldn't find them in the massive faenza set.
https://www.dropbox.com/s/y0i4o3wqoh5gg ... s.tar?dl=1
- icosahedron
- Posts: 119
- Joined: Mon 28 Nov 2011, 11:58
- Location: UK
Thanks a million for this, Fred. I’ve just stumbled across this thread while I was looking for a replacement browser - because You Tube insists (yet again) that my outdated browser can’t read the video formats (even though it was doing so happily at the weekend...
I’ve downloaded the universal viewer from your link of 28th March 2018 and it runs on my Lucid 525 OK.
However, only a few of the videos seem to play. Some videos run, most don’t. Nor do the videos download. Only the ones that play will download.
Reading this thread in more detail, this problem seems to be related to the ‘youtube-dl’ whatever that is. I’m not a programmer, I just install a Pet and run it. If it needs fixing, I’m outta my league unless I can get line by line instructions of what to do.
Can you tell me in words of one syllable how to fix the youtube viewer, or point me to one that will work for me out of the box?
Thanks.
I’ve downloaded the universal viewer from your link of 28th March 2018 and it runs on my Lucid 525 OK.
However, only a few of the videos seem to play. Some videos run, most don’t. Nor do the videos download. Only the ones that play will download.
Reading this thread in more detail, this problem seems to be related to the ‘youtube-dl’ whatever that is. I’m not a programmer, I just install a Pet and run it. If it needs fixing, I’m outta my league unless I can get line by line instructions of what to do.
Can you tell me in words of one syllable how to fix the youtube viewer, or point me to one that will work for me out of the box?
Thanks.
Computers: - I just ride 'em, I dunno what makes 'em work.
Console/Terminal? What's that?
I visit the Internet to OBTAIN information, not to PROVIDE it! (Increase Internet Privacy)
Console/Terminal? What's that?
I visit the Internet to OBTAIN information, not to PROVIDE it! (Increase Internet Privacy)
Hi icosahedron,
Better try this one, see here (works also on Lucid):
http://murga-linux.com/puppy/viewtopic. ... 640#991640
youtube-dl is sort of helper program for gtk-youtube-viewer.
Without it (or not updated from time to time) many video's won't play.
To update youtube-dl, run from terminal in the "yt-viewer-3.1.5_youtube-dl" directory:
Btw, I made new cde-package with newest version of gtk-youtube-viewer (3.5), see next post.
(works also on Lucid)
Fred
Yes, the one from 28th March was first attempt and improved later.I’ve downloaded the universal viewer from your link of 28th March 2018 and it runs on my Lucid 525 OK.
However, only a few of the videos seem to play. Some videos run, most don’t. Nor do the videos download. Only the ones that play will download.
Better try this one, see here (works also on Lucid):
http://murga-linux.com/puppy/viewtopic. ... 640#991640
youtube-dl is sort of helper program for gtk-youtube-viewer.
Without it (or not updated from time to time) many video's won't play.
To update youtube-dl, run from terminal in the "yt-viewer-3.1.5_youtube-dl" directory:
Code: Select all
./youtube-dl.cde -U
(works also on Lucid)
Fred
*** gtk-youtube-viewer v3.5 (latest) cde-package ***
EDIT 2018-10-31, re-uploaded, fixed some mistakes, download link below replaced.
EDIT: again made some fixes, download link below replaced.
EDIT: 2018-11-01 some video's (from categories) didn't play, fixed,download link below replaced (with date appended)
EDIT: Problems were caused by using Xarchiver, resulting in broken symlinks, download link below replaced (again )
Size is a bit more than previously shared yt-viewer cde-packages.
Has some improvements, e.g. all icons show, looks a little better (using Greybird theme)
https://dl.dropboxusercontent.com/s/sxo ... ar.gz?dl=1
Runs on any 32-bit Linux OS
To run gtk-youtube-viewer, run 'gtk-youtube-viewer.cde' (just click) from the extracted "yt-viewer-3.5.0_youtube-dl" directory.
More info here (e.g. run youtube-viewer command line program and update youtube-dl):
http://murga-linux.com/puppy/viewtopic. ... 640#991640
Some limitations:
Clickable links do not open in browser, e.g. in video details or link to get to authentication login page.
Workaround is to right-click on the link, "copy url" and paste in browser address bar.
Fred
EDIT 2018-10-31, re-uploaded, fixed some mistakes, download link below replaced.
EDIT: again made some fixes, download link below replaced.
EDIT: 2018-11-01 some video's (from categories) didn't play, fixed,download link below replaced (with date appended)
EDIT: Problems were caused by using Xarchiver, resulting in broken symlinks, download link below replaced (again )
Size is a bit more than previously shared yt-viewer cde-packages.
Has some improvements, e.g. all icons show, looks a little better (using Greybird theme)
https://dl.dropboxusercontent.com/s/sxo ... ar.gz?dl=1
Runs on any 32-bit Linux OS
To run gtk-youtube-viewer, run 'gtk-youtube-viewer.cde' (just click) from the extracted "yt-viewer-3.5.0_youtube-dl" directory.
More info here (e.g. run youtube-viewer command line program and update youtube-dl):
http://murga-linux.com/puppy/viewtopic. ... 640#991640
Some limitations:
Clickable links do not open in browser, e.g. in video details or link to get to authentication login page.
Workaround is to right-click on the link, "copy url" and paste in browser address bar.
Fred
Last edited by fredx181 on Thu 01 Nov 2018, 10:51, edited 4 times in total.
-
- Posts: 154
- Joined: Wed 10 Aug 2011, 21:41
- Location: United States
- Contact:
In UpupBB18.05 I am getting this:
Can't locate WWW/YoutubeViewer/ParseXML.pm in @INC (you may need to install the WWW::YoutubeViewer::ParseXML module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/WWW/YoutubeViewer/GetCaption.pm line 149.
The module WWW::YoutubeViewer::ParseXML is required!
To install it, just type in terminal:
sudo cpan WWW::YoutubeViewer::ParseXML
=>> Previous warnings: