Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 11 Dec 2018, 04:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
gtk-youtube-viewer (for lots of pups)
Post new topic   Reply to topic View previous topic :: View next topic
Page 22 of 27 [401 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24, 25, 26, 27 Next
Author Message
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Sat 02 Jun 2018, 02:02    Post subject: my Puppypup !  

slitazpup Very Happy Gtk YT works well on my Ubuntupup, my Debianpup, my devuanpup,
and my Puppypup !
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Sat 22 Sep 2018, 03:54    Post subject:  

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!

Code:
> 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.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13152
Location: Gatineau (Qc), Canada

PostPosted: Sat 22 Sep 2018, 05:27    Post subject:  

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
Code:
youtube-dl -U
?

IHTH

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Sun 23 Sep 2018, 15:17    Post subject:  

musher0 wrote:
So do like it says in your error message, try
Code:
youtube-dl -U
I did try that but no joy:
Code:
# youtube-dl -U
bash: youtube-dl: command not found
#


I presume I just open a terminal in /root and type that command. No need to cd into a special directory first?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3573
Location: holland

PostPosted: Sun 23 Sep 2018, 15:34    Post subject:  

Hi greengeek, not sure if it's about the yt-viewer cde package, if it is, see here:
http://murga-linux.com/puppy/viewtopic.php?p=991640#991640

Quote:
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


But I don't know if this will solve the problem though.

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

_________________
Dog Linux website
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Sun 23 Sep 2018, 16:43    Post subject:  

Hi Fred, thanks for the links - yes it is the cde package i am using so that info appears to address my problem. I hope to work through that after work tonight.
cheers!
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Mon 24 Sep 2018, 04:02    Post subject:  

fredx181 wrote:
for example to update youtube-dl (and to download, see below):
Code:
Code:
./youtube-dl.cde -U


But I don't know if this will solve the problem though.

Hi Fred,

I installed my cde pet then opened a terminal inside the /root/youtube-viewer directory and did the following:

Code:
# ./youtube-dl.cde -U
bash: ./youtube-dl.cde: No such file or directory
#


I can only assume that I must be using an older version of the pet that does not use youtube-dl

I will scan back through the thread.

cheers!
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3573
Location: holland

PostPosted: Mon 24 Sep 2018, 04:53    Post subject:  

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:
Code:
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.


Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Mon 24 Sep 2018, 05:53    Post subject:  

fredx181 wrote:
The youtube cde "package" is a tar.gz archive, when extracted you get folder "yt-viewer-3.1.5_youtube-dl".
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:
Code:
# ./youtube-dl.cde -U
Updating to version 2018.09.18 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
#


and now it works again.

Many thanks!
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 963

PostPosted: Mon 15 Oct 2018, 04:03    Post subject:  

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..
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3573
Location: holland

PostPosted: Wed 17 Oct 2018, 06:42    Post subject:  

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


Not sure if you mean: to run gtk-youtube-viewer ?
Yes, not a pet, but tar.gz:
https://dl.dropboxusercontent.com/s/kuxve2rpguifdxt/yt-viewer-3.1.5_youtube-dl.tar.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.php?p=988065#988065
(but probably it doesn't work on other puppies)

Fred
gtk-youtube-viewer.png
 Description   Gtk-youtube-viewer
 Filesize   167.49 KB
 Viewed   151 Time(s)

gtk-youtube-viewer.png


_________________
Dog Linux website
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Wed 17 Oct 2018, 13:37    Post subject:  

fredx181 wrote:
(EDIT: greengeek mentioned above that he made a pet from this, maybe he wants to share?)
Hi Fred, yes I will certainly share my pet - although I need to mention some cautions first:
- 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/viewtopic.php?p=1007673#1007673

original version archived here:
https://www.mediafire.com/file/m3n7upnp486h77o/youtube-viewer315_gg-0.5555.pet
root_youtube-viewer_contents.jpg
 Description   
 Filesize   52.24 KB
 Viewed   134 Time(s)

root_youtube-viewer_contents.jpg

Download_Terminal_interface.jpg
 Description   
 Filesize   46.03 KB
 Viewed   134 Time(s)

Download_Terminal_interface.jpg

Downloaded_Vid_found_in_CDE-Root_Directory.jpg
 Description   
 Filesize   31.24 KB
 Viewed   133 Time(s)

Downloaded_Vid_found_in_CDE-Root_Directory.jpg


Last edited by greengeek on Fri 19 Oct 2018, 01:42; edited 5 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3573
Location: holland

PostPosted: Wed 17 Oct 2018, 14:45    Post subject:  

@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/m3n7upnp486h77o/youtube-viewer315_gg-0.5555.pet

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5329
Location: Republic of Novo Zelande

PostPosted: Wed 17 Oct 2018, 15:11    Post subject:  

fredx181 wrote:
Added at the end: how to run gtk-youtube-viewer (GUI)
(I think that;s what Smithy asked for)
Thanks Fred - i have now edited my post to include your GTk viewer comment.
cheers!
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 963

PostPosted: Wed 17 Oct 2018, 15:47    Post subject:  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 22 of 27 [401 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24, 25, 26, 27 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1483s ][ Queries: 12 (0.0516s) ][ GZIP on ]