gtk-youtube-viewer (for lots of pups)

Browsers, email, chat, etc.
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#401 Post by fredx181 »

Argolance wrote:Bonjour,
Here is gtk-youtube-viewer-3.5.0 (SFS file and pet package), based on :arrow: yt-viewer-3.5.0_youtube-dl-2018-11-01-fixed-symlinks by fredx181 that I chose because, as far as I know, it runs on most Puppies without complaints. It is completed by a small interface ("gtk-youtube-config") allowing user to quickly configure youtube-dl updates as well as the main options of GTK YouTube Viewer and by a directory with the scripts (gtk-viewer-trans-files_working-dir) to build a glade file in user's language if not exists (available: en, fr, es).

Downloads: Cordialement.
Now.... that's what you call "icing on the cake" :D !! Great work Argolance !

Tested quickly on D-pup Stretch and working well (quick configuration program is very nice addition).

On my StretchDog, gtk-youtube-viewer won't start, running from terminal shows me that it stops on gtkthemeinteg, probably because I don't have "include /usr/share/themes/....." line in ~/.gtkrc-2.0 pointing to a theme.
But no problem, I know it's intended to work on Puppy and it does !

I thought earlier to open new thread focused on new shared packages from the last pages, maybe best, anyone have opinion ?

EDIT:
as far as I know, it runs on most Puppies without complaints
That is: on 32-bit only , as far as I know.

Fred

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#402 Post by Smithy »

Hi Fred, just wondering about comments.
I like to read the comments on vids, but long ones scroll for miles to the right. Is there some way to wrap them or something?
I noticed something round line 3105 at
https://github.com/trizen/youtube-viewe ... ube-viewer

Not sure if that has anything to do with it.
But would be handy to add some arguments to /.config/gtl-youtube-viewer.conf to get the comments to wrap.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#403 Post by fredx181 »

Smithy wrote:Hi Fred, just wondering about comments.
I like to read the comments on vids, but long ones scroll for miles to the right. Is there some way to wrap them or something?
I noticed something round line 3105 at
https://github.com/trizen/youtube-viewe ... ube-viewer

Not sure if that has anything to do with it.
But would be handy to add some arguments to /.config/gtl-youtube-viewer.conf to get the comments to wrap.
Yes, thanks, that's a new feature that earlier version don't have, good improvement, here's pet for latest v3.5.4 :
https://dl.dropboxusercontent.com/s/1pu ... 6.pet?dl=1
But NOTE: It's only for to upgrade one of the earlier pets that I shared e.g. here:
http://murga-linux.com/puppy/viewtopic. ... 59#1009159
(the v3.5.4 pet doesn't contain the required perl modules, so installing it alone won't work)
I tested on Artful and Xenial, probably it works also on other puppies, but not sure.

Fred

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#404 Post by Smithy »

Heck that was quick Fred.
That’s better, fixes the scrolling problem, all good now cheers.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#405 Post by fredx181 »

Hi, here's new gtk-youtube-viewer pet v3.5.4 for radky's Dpup Stretch
https://dl.dropboxusercontent.com/s/ugh ... 6.pet?dl=1

The perl dependencies (modules) are included.
Recommended is to install youtube-dl (very useful as "helper" program for gtk-youtube-viewer) then there are no exceptions for playing video's AFAIK
Download and install youtube-dl:

Code: Select all

curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
# make executable
chmod a+rx /usr/local/bin/youtube-dl
Or run from Menu "Gtk-Youtube-Updater" (thanks Smithy !) it will install youtube-dl, if not installed already, otherwise it will update to latest youtube-dl version)
Dpup Stretch has mpv and mplayer, but I'd recommend using mpv (mplayer has problems seeking with some resolutions (crashing) )
For gtk-youtube-viewer, go in Preferences and change to mpv, like this:

Code: Select all

video_player_selected               => "mpv",


For youtube-viewer (CLI), run it from terminal:

Code: Select all

youtube-viewer --video-player=mpv
(or change to mpv in the config file: ~/.config/youtube-viewer/youtube-viewer.conf)

Fred

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#406 Post by tallboy »

Thank you, Fred! :D
True freedom is a live Puppy on a multisession CD/DVD.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#407 Post by radky »

Very much appreciated !

Thanks Fred :)
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

Tiki10
Posts: 2
Joined: Wed 19 Jun 2019, 20:57

#408 Post by Tiki10 »

Hello,

I wrinting on this forum for the first time and I m sorry to bother you, but it's seems to be the most active thread about GTK youtube viewer I've found after spending an afternoon of googling.
So, I'm rebuilding an old computer with an Athlon 2600+ (barton, no sse2), 768MB and....Linux Lite 3.8 :oops: (<= it because I didn't knew the existence of Puppy).
Everything works fine. I use Netsurf 3.8 for the web. It's fast enough but doesn' support Youtube.
I tried Minitube, but it doesn't works.
When I paste a youtube link to vlc, everything works smoothly. I got the link with NetSurf or GTK youtube viewer (3.5.0). I can download too.
I changed my configuration to use VLC, but when I try to watch a video sent by GTK Youtube viewer, VLC is horribly slow. I noticed that URL sent to VLC is not the same as this I can see in video properties.
I the same thing with mps.

I don't know how to fix the URL sent to VLC to got it like when I paste it manually ?

Thanks for your help,

Tiki

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#409 Post by fredx181 »

Hi Tiki10, I wish that I could help, but for me vlc doesn't work at all with gtk-youtube-viewer, don't know why, I have vlc version "3.0.6 Vetinari"
I use mpv for playing videos with gtk-youtube-viewer , works fine for me.

Fred

Tiki10
Posts: 2
Joined: Wed 19 Jun 2019, 20:57

#410 Post by Tiki10 »

Hello fredx181,

Thank you for your reply.
I 'm still searching a way to give the url show in comment to VLC (or mpv) as this one given by youtube-viewer make the player runing slow as hell.

Tiki

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

gtk-youtube-viewer for BusterPup

#411 Post by fredx181 »

Here's gtk-youtube-viewer-3.5.4 pet for BusterPup
EDIT: few hours later, re-uploaded, needed a fix, forgot earlier to include some perl modules required for the "youtube-viewer" CLI utility to work.
https://dl.dropboxusercontent.com/s/yuh ... 6.pet?dl=1

After installing it's recommended to run from Menu > Multimedia > Gtk-Youtube-Updater
(it will install/update latest youtube-dl too (used as helper program by gtk-youtube-viewer))

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

youtube-viewer pet for racy puppy

#412 Post by sindi »

With much forum help, I updated racy puppy to glibc 2.20 to work with the latest Palemoon. It also works with the standalone cde youtube-viewer.
Is there a pet to install youtube-viewer? The cde version displays at 480p and the standalone one at 720p (most of the time). 1.4-1.6GHz cpu and 512MB RAM.

The tahr version cannot find utf8.pm and it appears to want perl 5.18.2 not 5.10. Can I update perl without breaking things?

I have laptops where only racy puppy or puppies 4 can handle the video (nvidia and intel 855GM).

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#413 Post by Mike Walsh »

@ Phil/all:-

Got a query for y'all here. Largely because I've been helping tuxtoo set up the new website for Racy & Wary, I've finally got around to setting up a frugal of Wary at long last, alongside my long-suffering Racy install.

http://www.murga-linux.com/puppy/viewtopic.php?t=117306

I'm surprised by how capable it actually still is; it's certainly good enough to use as a 'daily driver'.

Amongst other things, I'm using GTK-YouTube. Now, this is the 'meat' of my query:-

It's running fine; videos play nicely.....with one glaring exception. There's NO audio. It runs correctly with audio in all my other Pups (all of which are using the same hardware!), so I'm guessing it's something either missing or needed by Wary itself.

Anybody have any pointers on this one, please? Any & all suggestions will, as always, be much appreciated. TIA.

[EDIT:-] A thought; might this be due to the need to update the thing? I'll give that a try, and report back.....


Mike. :wink:

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

gtk-youtube-viewer cde-exec pet audio works in racy

#414 Post by sindi »

The cde-exec pet of youtube-viewer 3.1.5 works for me with audio,
in racy updated with the libraries needed by latest palemoon.
I cannot run it from racy without cde-exec - missing perl pieces.

User avatar
tuxtoo
Posts: 173
Joined: Tue 14 Dec 2010, 19:45
Location: Knaresborough, North Yorkshire, UK
Contact:

#415 Post by tuxtoo »

@Mike

Seen this post and curiosity got the better of me, so I fired up the Wary live CD. Installed GTK-YouTube-Viewer and sound works okay. Not sure what the issue could be, hardware perhaps? I'm just great at helping with duff solutions, sorry!
Puppy Linux search engine.

[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.

Mirror [b][url]https://puppysearch.neocities.org[/url][/b]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#416 Post by Mike Walsh »

@ tuxtoo:-

Hiya, Stu. Well, whatever was the 'issue' would seem to have resolved itself. I've just fired it up again a few moments ago, and it's now behaving itself as I'd expect.....complete with audio.

This is the first time I've tried it for nearly a week. I noticed the lack of audio then, and have been meaning to post about it ever since. I finally got around to doing so a little while earlier, and, as stated, whatever was causing it is no longer doing so.

(This is, of course, the trouble with running many Puppies. It's all too easy to lose track of what you're doing with such-and-such an application, in such-and-such a Puppy.....it's a miracle I manage with as few problems as I do! :roll: :lol: )

Which is why I spend as much time as I do, setting all my Pups up so that it doesn't matter which one I boot into, I can get on with exactly the same daily routine..... Boring, ain't it?


Mike. :wink:

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

No streaming URL found

#417 Post by sindi »

Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Re: No streaming URL found

#418 Post by nic007 »

sindi wrote:Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.
You should be able to change the video quality settings when playing in a browser.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Youtube on old laptops without a browser

#419 Post by sindi »

The problem is not that I cannot change video settings but that:
(1) I hate ads in youtube played in a browser and can no longer find a youtube ad blocker for Palemoon
(2) Many of my laptops are too slow to play videos in a browser at more than 240p in sync, even not 'theater mode'.
youtube-viewer played them at 360p or sometimes even 720p.

Standalone youtube-dl and movgrab failed too. Updating youtube-dl made no difference (except in size).
The only Palemoon-capable youtube downloader is temporarily unavailable due to Firefox changes.

Android Tubemate worked last I checked.

We were watching a news program the day after.
It is playable as an audio podcast with Tunein on a 2010 Blackberry, available same evening.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: No streaming URL found

#420 Post by greengeek »

sindi wrote:Within the last month increasing numbers of youtube videos have not played, and for at least a week NONE of them are playing, in any puppy (with the pet that includes python and mpv and youtube-dl) or in debiandog wheezy (with all the dependencies downloaded and installed).

What did Youtube do to break things this time?

Youtube plays in a browser (at 240p, anyway). Palemoon seems to have no Youtube ad blocker.
The entire Internet is experiencing a lock down by Google and domain hosts in an apparent effort to block access to pro-Trump and/or "antivaxx" info.
I suspect the ineffective YT-dl is a symptom of the current muscle-flexing by the powers that be.

Hopefully the updater will start working again soon...

Post Reply