Is there a way to install this script youtube video player in fossa?

Moderators: 666philb, Forum moderators

Post Reply
joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

type curl in a terminal to see if curl is installed. if so, try to paste the script but remove the sudo command where it occurs. if it fails, post the output.

joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

This

Attachments
123456.jpg
123456.jpg (38.74 KiB) Viewed 679 times
williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

can you find/install jq with the puppy package manager or maybe pkg would be better?

https://github.com/pystardust/ytfzf/blo ... pendencies

joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

I installed jp and fzf from package manager and it still not go

Attachments
1234567.jpg
1234567.jpg (24.16 KiB) Viewed 677 times
User avatar
mikeslr
Posts: 2959
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 913 times

Re: Is there a way to install this script youtube video player in fossa?

Post by mikeslr »

It's been a long day. But I kind of remember that you have to sfs-load the devx file to work with github. See if a search reveals that.

williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

if you open /usr/bin/ytfxf as text in an editor and maybe enable line numbers? (it's under the view menu in geany)

line 458 is?

joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

mikeslr wrote: Sun Jun 20, 2021 4:12 am

It's been a long day. But I kind of remember that you have to sfs-load the devx file to work with github. See if a search reveals that.

Thanks. Postponed for tomorrow :thumbup:

joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

williwaw wrote: Sun Jun 20, 2021 4:22 am

if you open /usr/bin/ytfxf as text in an editor and maybe enable line numbers? (it's under the view menu in geany)

line 458 is?

You mean this:

Attachments
fsf.jpg
fsf.jpg (122.87 KiB) Viewed 672 times
williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

yes, but line 459 (and surrounding)

edit: I missed it in your pic

Last edited by williwaw on Sun Jun 20, 2021 4:41 am, edited 1 time in total.
williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

i think you need to include an arguement to the ytfzf command

ytfzf -t richard stallman or whatever per "examples" https://github.com/pystardust/ytfzf/blo ... /README.md

Last edited by williwaw on Sun Jun 20, 2021 5:30 am, edited 1 time in total.
joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

This:

Attachments
000.jpg
000.jpg (20.72 KiB) Viewed 702 times
williwaw
Posts: 1934
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 367 times

Re: Is there a way to install this script youtube video player in fossa?

Post by williwaw »

what does it return if you try ytfzf puppy or ytfzf -D puppy

edit: fixed link to examples

the -t is for thumbnails, and so is ueberzug?

lets see if we can get it to work without images for now

User avatar
rockedge
Site Admin
Posts: 6538
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Re: Is there a way to install this script youtube video player in fossa?

Post by rockedge »

I got it to work in Bionic64 and I am using ytfzf -D puppy linux. Also needed to use:

Code: Select all

pip3 install ueberzug
Screenshot(103).png
Screenshot(103).png (228.37 KiB) Viewed 687 times

I have to try out the -t switch again, first attempt did not work fully with this error thrown:

Code: Select all

invalid preview window layout: left:50%:noborder:wrap

Also the playing of a selected video seems to start and shows data but no video.

joet12345
Posts: 305
Joined: Sun Apr 04, 2021 12:00 am
Has thanked: 15 times
Been thanked: 6 times

Re: Is there a way to install this script youtube video player in fossa?

Post by joet12345 »

rockedge wrote: Mon Jun 21, 2021 3:53 am

I have not had time to keep playing with this till now and I got somewhere further by using this

Code: Select all

ytfzf -t 1 -D puppy linux

I know YouTube has a stand alone servers for the main site thumbnails...so maybe this is what line 459 code is asking the youtube server... ytfzf needs to ask for thumbnails as a web browser would.... that is my theory at least.

Me, I cannot install euberzug... in the command prompt I get lots of errors so....example:

Attachments
z1.png
z1.png (186.56 KiB) Viewed 667 times
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: Is there a way to install this script youtube video player in fossa?

Post by 666philb »

Code: Select all

pip3 install ueberzug

of course you need pip3 from the ppm first.

you also need the latest youtube-dl (uninstall first if got from the PPM)

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

all working here, nice app

snapshot-2021-06-29-18-29-57.jpg
snapshot-2021-06-29-18-29-57.jpg (107.63 KiB) Viewed 647 times
Clarity
Posts: 3823
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 521 times

Re: Is there a way to install this script youtube video player in fossa?

Post by Clarity »

Hello @joet12345

Requests to update the 1st post of your thread
You may want to post the steps you find that would guide a user to get this service installed within the Menu>Multimedia folder?

Thanks in advance

Post Reply

Return to “Fossapup64”