Page 1 of 1

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

Posted: Sun Jun 20, 2021 3:16 am
by joet12345

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

Posted: Sun Jun 20, 2021 3:38 am
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.


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

Posted: Sun Jun 20, 2021 3:56 am
by joet12345

This


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

Posted: Sun Jun 20, 2021 4:03 am
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


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

Posted: Sun Jun 20, 2021 4:10 am
by joet12345

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


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

Posted: Sun Jun 20, 2021 4:12 am
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.


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

Posted: Sun Jun 20, 2021 4:22 am
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?


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

Posted: Sun Jun 20, 2021 4:23 am
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:


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

Posted: Sun Jun 20, 2021 4:28 am
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:


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

Posted: Sun Jun 20, 2021 4:33 am
by williwaw

yes, but line 459 (and surrounding)

edit: I missed it in your pic


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

Posted: Sun Jun 20, 2021 4:40 am
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


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

Posted: Sun Jun 20, 2021 4:49 am
by joet12345

This:


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

Posted: Sun Jun 20, 2021 5:33 am
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


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

Posted: Mon Jun 21, 2021 3:53 am
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 627 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.


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

Posted: Fri Jun 25, 2021 1:33 am
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:


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

Posted: Tue Jun 29, 2021 5:26 pm
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 587 times

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

Posted: Wed Jun 30, 2021 9:26 pm
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