gtk-youtube-viewer (for lots of pups)
my Puppypup !
slitazpup Gtk YT works well on my Ubuntupup, my Debianpup, my devuanpup,
and my Puppypup !
and my Puppypup !
Is anyone else having trouble with this? It stopped working for me after I tried to download videos about the israeli attack on Syria.
cheers!
cheers!
Code: Select all
> 20
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1191, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1102, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1163, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 808, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Hi.
It has nothing to do with any subject of the vids.
youtube-dl is funny that way: it'll stop working if you do not update it...
It may have worked ok for you at 11:43, but if a new version was uploaded at
11:44, it'll give you an error when you try using your "old" version at 11:45.
So do like it says in your error message, try?
IHTH
It has nothing to do with any subject of the vids.
youtube-dl is funny that way: it'll stop working if you do not update it...
It may have worked ok for you at 11:43, but if a new version was uploaded at
11:44, it'll give you an error when you try using your "old" version at 11:45.
So do like it says in your error message, try
Code: Select all
youtube-dl -U
IHTH
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
I did try that but no joy:musher0 wrote:So do like it says in your error message, tryCode: Select all
youtube-dl -U
Code: Select all
# youtube-dl -U
bash: youtube-dl: command not found
#
Hi greengeek, not sure if it's about the yt-viewer cde package, if it is, see here:
http://murga-linux.com/puppy/viewtopic. ... 640#991640
EDIT: Looking better at the error output you posted, I don't think it has to do with the cde package, but what did you use then ?
Fred
http://murga-linux.com/puppy/viewtopic. ... 640#991640
But I don't know if this will solve the problem though.For a part, youtube-viewer is depending on "youtube-dl".
However it was earlier included in the package, it couldn't be used by itself. Now it can, for example to update youtube-dl (and to download, see below):
Code:
./youtube-dl.cde -U
EDIT: Looking better at the error output you posted, I don't think it has to do with the cde package, but what did you use then ?
Fred
Hi Fred,fredx181 wrote: for example to update youtube-dl (and to download, see below):
Code:But I don't know if this will solve the problem though.Code: Select all
./youtube-dl.cde -U
I installed my cde pet then opened a terminal inside the /root/youtube-viewer directory and did the following:
Code: Select all
# ./youtube-dl.cde -U
bash: ./youtube-dl.cde: No such file or directory
#
I will scan back through the thread.
cheers!
Hi greengeek, sorry, I don't know which .pet you mean.
The youtube cde "package" is a tar.gz archive, when extracted you get folder "yt-viewer-3.1.5_youtube-dl".
In that folder open a terminal and update youtube-dl like this:
Fred
The youtube cde "package" is a tar.gz archive, when extracted you get folder "yt-viewer-3.1.5_youtube-dl".
In that folder open a terminal and update youtube-dl like this:
Code: Select all
root@live:~/yt-viewer-3.1.5_youtube-dl# ./youtube-dl.cde -U
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
Updating to version 2018.09.18 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
Thanks - I had made a pet of the previous version that you made. I have now downloaded the 315 version, untarred it, made a pet of it, loaded it, and run your syntax:fredx181 wrote:The youtube cde "package" is a tar.gz archive, when extracted you get folder "yt-viewer-3.1.5_youtube-dl".
Code: Select all
# ./youtube-dl.cde -U
Updating to version 2018.09.18 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
#
Many thanks!
Not sure if you mean: to run gtk-youtube-viewer ?Smithy wrote:Could someone make a pet of this that looks and functions like Phil's picture on page one of this thread, or is that too sensible a request..
Yes, not a pet, but tar.gz:
https://dl.dropboxusercontent.com/s/kux ... ar.gz?dl=1
Same as i earlier shared Here (download at bottom of post)
Extract to someplace and click on "gtk-youtube-viewer.cde" inside folder "yt-viewer-3.1.5_youtube-dl"
(EDIT: greengeek mentioned above that he made a pet from this, maybe he wants to share?)
See pic, looks a bit different than Phil's picture but functions the same.
EDIT: See here for a pet made for D-pup Stretch:
http://murga-linux.com/puppy/viewtopic. ... 065#988065
(but probably it doesn't work on other puppies)
Fred
- Attachments
-
- gtk-youtube-viewer.png
- Gtk-youtube-viewer
- (167.49 KiB) Downloaded 276 times
Hi Fred, yes I will certainly share my pet - although I need to mention some cautions first:fredx181 wrote:(EDIT: greengeek mentioned above that he made a pet from this, maybe he wants to share?)
- This is the CDE "terminal display" version and does not look anything like Phil's interface. (EDIT : See the note below about Gtk (Gui) method)
- This is only tested on Slacko 5.6 (although should be fine in many other systems)
- It is only intended for use with JWM as it makes minor modifications to the file /root/.config/rox.sourceforge.net/ROX-Filer/globicons so that the View and Download buttons have nice icons.
- I run with no persistence so this lets me test my .pets without ongoing risk to a savefile or to personal data (which I keep on another partition). Please take a savefile backup before testing my pets
HowTo:
- Install the pet
- Look inside the directory /root/youtube-viewer
- Use the Videoplay icon if you just want to view the YT video, or else click the Videodownload icon if you want to download the video (see pic below)
- You will see a terminal open up requesting the search terms for the video you want to locate (see pic below)
- Type the number of the video that matches your needs (and hit enter)
- The video will play (if you selected the videoplay icon) or download if you clicked the videodownload icon.
- Locate the downloaded video inside the /root/youtube-viewer/cde-root directory (see pic below)
....................................................................................
NOTE: - To run Gtk-youtube-viewer in GUI mode, just click on /root/youtube-viewer/gtk-youtube-viewer.cde
(You might find this simpler than using the text-based terminal method above)
....................................................................................
The pet can be downloaded here:
EDIT : Newer version of pet (includes auto updater script) available here:
http://www.murga-linux.com/puppy/viewto ... 73#1007673
original version archived here:
https://www.mediafire.com/file/m3n7upnp ... 0.5555.pet
- Attachments
-
- root_youtube-viewer_contents.jpg
- (52.24 KiB) Downloaded 270 times
-
- Download_Terminal_interface.jpg
- (46.03 KiB) Downloaded 263 times
-
- Downloaded_Vid_found_in_CDE-Root_Directory.jpg
- (31.24 KiB) Downloaded 275 times
Last edited by greengeek on Fri 19 Oct 2018, 05:42, edited 5 times in total.
@greengeek, thanks !
Your how-to is mostly focused on "youtube-viewer" command line program.
Added at the end: how to run gtk-youtube-viewer (GUI)
(I think that;s what Smithy asked for)
HowTo:
- Install the pet
- Look inside the directory /root/youtube-viewer
- Use the Videoplay icon if you just want to view the YT video, or else click the Videodownload icon if you want to download the video (see pic below)
- You will see a terminal open up requesting the search terms for the video you want to locate (see pic below)
- Type the number of the video that matches your needs (and hit enter)
- The video will play (if you selected the videoplay icon) or download if you clicked the videodownload icon.
- Locate the downloaded video inside the /root/youtube-viewer/cde-root directory (see pic below)
....................................................................................
- To run Gtk-youtube-viewer (GUI), just click on /root/youtube-viewer/gtk-youtube-viewer.cde
....................................................................................
The pet can be downloaded here:
https://www.mediafire.com/file/m3n7upnp ... 0.5555.pet
Fred
Your how-to is mostly focused on "youtube-viewer" command line program.
Added at the end: how to run gtk-youtube-viewer (GUI)
(I think that;s what Smithy asked for)
HowTo:
- Install the pet
- Look inside the directory /root/youtube-viewer
- Use the Videoplay icon if you just want to view the YT video, or else click the Videodownload icon if you want to download the video (see pic below)
- You will see a terminal open up requesting the search terms for the video you want to locate (see pic below)
- Type the number of the video that matches your needs (and hit enter)
- The video will play (if you selected the videoplay icon) or download if you clicked the videodownload icon.
- Locate the downloaded video inside the /root/youtube-viewer/cde-root directory (see pic below)
....................................................................................
- To run Gtk-youtube-viewer (GUI), just click on /root/youtube-viewer/gtk-youtube-viewer.cde
....................................................................................
The pet can be downloaded here:
https://www.mediafire.com/file/m3n7upnp ... 0.5555.pet
Fred
Thanks fred and greengeek, I gave your fred version a go earlier, and whilst it searches and finds videos, when I right click to play, it does some internet activity and then something flashes like a quick terminal attempt and then nothing.
Same with download. I tried switching preferences to lxterm and mplayer but no joy.
It worked with Phil's version a few years ago and then that stopped lol.
Would be good to get this working as the state of browsers now is bad, FF 50's and 60's seems to disappear sometimes at the drop of a hat and warnings about " it seems you need to use pulse audio" total rubbish. And apulse is conflicting when one uses linux with lots of multimedia.
They do seem to be very intrusive now, but I do have a list of about:configs if you want to break 'em (fix 'em lol)
I don't think tint 2 is flaking out, but it will cause problems with shittily written apps like zynaddsubfx, but they belong as container plugins anyway imo. Yoshimi seems more solid.
I haven't had a working mpv yet so maybe that is a problem, but since your app is portable with all the libs etc it should just pick it up ok?
I will try greengeeks job see if I can get a vid to play.
I'm on Artful at the moment, thinking of trying Bionic at some point in the future. But it runs well, very very well in fact.
What you up to greengeek, a rudolph hess attempt? spark ignition.
Same with download. I tried switching preferences to lxterm and mplayer but no joy.
It worked with Phil's version a few years ago and then that stopped lol.
Would be good to get this working as the state of browsers now is bad, FF 50's and 60's seems to disappear sometimes at the drop of a hat and warnings about " it seems you need to use pulse audio" total rubbish. And apulse is conflicting when one uses linux with lots of multimedia.
They do seem to be very intrusive now, but I do have a list of about:configs if you want to break 'em (fix 'em lol)
I don't think tint 2 is flaking out, but it will cause problems with shittily written apps like zynaddsubfx, but they belong as container plugins anyway imo. Yoshimi seems more solid.
I haven't had a working mpv yet so maybe that is a problem, but since your app is portable with all the libs etc it should just pick it up ok?
I will try greengeeks job see if I can get a vid to play.
I'm on Artful at the moment, thinking of trying Bionic at some point in the future. But it runs well, very very well in fact.
What you up to greengeek, a rudolph hess attempt? spark ignition.
I always double-click on one of the results and it plays in mpv (yes indeed mpv is included in the package) did you try that ?Smithy wrote:Thanks fred and greengeek, I gave your fred version a go earlier, and whilst it searches and finds videos, when I right click to play, it does some internet activity and then something flashes like a quick terminal attempt and then nothing.
It could be that you need to update youtube-dl first (gtk-youtube-viewer combined with mpv depends on it):
From terminal in directory "yt-viewer-3.1.5_youtube-dl" :
Code: Select all
./youtube-dl.cde -U
Fred
Oh, that's done it, yes it updated and now it is running, with audio too.
Thanks very much!
Do you know the location where it puts the update?
And just wondering where I can tart it up a bit. The icons seem to be missing for a few buttons. Ah usr/share/icons seems a bit sparse with just a yad.png.
Thanks very much!
Do you know the location where it puts the update?
And just wondering where I can tart it up a bit. The icons seem to be missing for a few buttons. Ah usr/share/icons seems a bit sparse with just a yad.png.
- Attachments
-
- Screenshot.png
- (121.77 KiB) Downloaded 832 times
Funny you should ask - I have not tried the gtk interface for a very long time (I had problems with it and stopped using it...).fredx181 wrote:@greengeek, does video play in gtk-youtube-viewer work for you ?
However - I just tried it again now and yes, it works perfectly. No reason for me to avoid it now (Using it straight from my pet - no additional update).
EDIT : - seems that the first search works fine, but subsequent searches don't. I have to close the gui and start all over again. Don't have the same problem with the terminal version.
EDIT 2 : Ok - it seems that the second search DOES work but does not clear the first search results out of the way. The second search results just appear below the first search results, in the "next page" section.
thanks for all the help!
I'm looking at methods to ignite a petrol/air mixture in a turbine that has no interruptions to the flame front (unlike an Otto cycle engine). Not sure what Hess did, but, no - I don't think I'm following in his footsteps.Smithy wrote:What you up to greengeek, a rudolph hess attempt? spark ignition.
cheers!
Ok, nice !Smithy wrote:Oh, that's done it, yes it updated and now it is running, with audio too.
Thanks very much!
Do you know the location where it puts the update?
And just wondering where I can tart it up a bit. The icons seem to be missing for a few buttons. Ah usr/share/icons seems a bit sparse with just a yad.png.
The youtube-dl script replaces itself after updating (in cde-root/usr/local/bin)
See attached for the missing icons, just extract in cde-root/usr/share/icons (or cde-root/usr/share/pixmaps) and they should show in gtk-youtube-viewer.
BTW,I re-uploaded the cde-package with the missing icons included, see EDIT here:
http://murga-linux.com/puppy/viewtopic. ... 640#991640
Ah great, I was wondering already why you mentioned only youtube-viewer command line options in your how-to.greengeek wrote:fredx181 wrote:
@greengeek, does video play in gtk-youtube-viewer work for you ?
Funny you should ask - I have not tried the gtk interface for a very long time (I had problems with it and stopped using it...).
However - I just tried it again now and yes, it works perfectly. No reason for me to avoid it now Smile (Using it straight from my pet - no additional update).
Fred
- Attachments
-
- gtk-youtube-viewer_missing-icons.tar.gz
- Extract in cde-root/usr/share/icons
- (5.81 KiB) Downloaded 158 times
New version of my pet available - now includes the missing icons from Fredx above, and also adds an updater script & icon alongside the play and download scripts.
PLEASE REMEMBER : Backup your savefile before testing my pet.
https://www.mediafire.com/file/7elt2th7 ... g-0.75.pet
(HowTo posted on previous page)
PLEASE REMEMBER : Backup your savefile before testing my pet.
https://www.mediafire.com/file/7elt2th7 ... g-0.75.pet
(HowTo posted on previous page)
- Attachments
-
- icons.jpg
- (6.04 KiB) Downloaded 736 times
Last edited by greengeek on Fri 19 Oct 2018, 05:43, edited 1 time in total.