This is the script: https://github.com/pystardust/ytfzf
Is there a way to install this script youtube video player in fossa?
Moderators: 666philb, Forum moderators
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
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.
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
can you find/install jq with the puppy package manager or maybe pkg would be better?
- 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?
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.
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
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?
Thanks. Postponed for tomorrow
Re: Is there a way to install this script youtube video player in fossa?
You mean this:
- Attachments
-
- fsf.jpg (122.87 KiB) Viewed 673 times
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
yes, but line 459 (and surrounding)
edit: I missed it in your pic
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
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
-
- Posts: 1935
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 170 times
- Been thanked: 368 times
Re: Is there a way to install this script youtube video player in fossa?
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
- 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?
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
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?
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 (186.56 KiB) Viewed 668 times
- 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?
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
fossapup64 viewtopic.php?f=40&t=88
-
- 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?
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