yplaylist-0.4 - yad Youtube downloader

Moderator: Forum moderators

Post Reply
plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

yplaylist-0.4 - yad Youtube downloader

Post by plinej »

yplaylist.png
yplaylist.png (23.61 KiB) Viewed 2308 times

Here's a little yad program that uses yt-dlp, ffmpeg, and ffprobe as backends. Paste in the Youtube playlist (or single video) that you'd like to download and select output directory, resolution, video and audio codecs. Tick the checkboxes if you want to trim silence from the start and end of videos and/or merge all videos in playlist to one video.

yplaylist-0.4.pet
(8.48 KiB) Downloaded 104 times
Last edited by plinej on Sat Jun 22, 2024 12:02 pm, edited 3 times in total.
You can download my packages at https://archive.org/download/plinej-packages
User avatar
Governor
Posts: 1000
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 266 times
Been thanked: 48 times

Re: yplaylist-0.1 - yad Youtube downloader

Post by Governor »

:thumbup2:

plinej wrote: Mon Mar 25, 2024 11:48 pm

Here's a little yad program that uses yt-dlp, ffmpeg, and ffprobe as backends. Paste in the Youtube playlist (or single video) that you'd like to download and select output directory, resolution, video and audio codecs. Tick the checkboxes if you want to trim silence from the start and end of videos and/or merge all videos in playlist to one video.

yplaylist-0.1.pet

I used to walk the earth thinking the news was real and adults knew what was going on.

User avatar
Jasper
Posts: 1756
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 878 times
Been thanked: 365 times

Re: yplaylist-0.1 - yad Youtube downloader

Post by Jasper »

@plinej

Feature request - audio only downloads?

plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

Re: yplaylist-0.1 - yad Youtube downloader

Post by plinej »

@Jasper, I should be able to implement that. I'll probably work on it tomorrow.

You can download my packages at https://archive.org/download/plinej-packages
User avatar
bigpup
Moderator
Posts: 7433
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 991 times
Been thanked: 1660 times

Re: yplaylist-0.1 - yad Youtube downloader

Post by bigpup »

If you are tweaking.

I suggest you have it start with output directory already set to /mnt/home

That is a good location to download and not have the stuff in the save file/folder

/mnt/home will be the partition the Puppy OS is installed on or the partition where the save is located.

Just placed on the partition and not inside any directory.

For me it starts with root selected and that would be a location in the save.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

Re: yplaylist-0.2 - yad Youtube downloader

Post by plinej »

0.2 is up. Audio only download checkbox added and if you've never run the program and if /mnt/home exists that will be the default save directory.

You can download my packages at https://archive.org/download/plinej-packages
User avatar
bigpup
Moderator
Posts: 7433
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 991 times
Been thanked: 1660 times

Re: yplaylist-0.2 - yad Youtube downloader

Post by bigpup »

Not seeing the /mnt/home change in version 0.2

Yes It has /mnt/home in the operating file system.

This is what I see:
.

Screenshot.jpg
Screenshot.jpg (20.11 KiB) Viewed 1974 times

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Jasper
Posts: 1756
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 878 times
Been thanked: 365 times

Re: yplaylist-0.2 - yad Youtube downloader

Post by Jasper »

@plinej

Happy Easter!!

Thank you, works perfectly for me :thumbup2:

plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

Re: yplaylist-0.2 - yad Youtube downloader

Post by plinej »

@bigpup, you're right...

You can download my packages at https://archive.org/download/plinej-packages
plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

Re: yplaylist-0.3 - yad Youtube downloader

Post by plinej »

0.3 is up. Try that @bigpup. You will have to delete ~/.yplaylist if you've run the program to see /mnt/home as the default save to...

You can download my packages at https://archive.org/download/plinej-packages
User avatar
bigpup
Moderator
Posts: 7433
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 991 times
Been thanked: 1660 times

Re: yplaylist-0.3 - yad Youtube downloader

Post by bigpup »

Tried version 0.3

You got it!

Now starts set to download to /mnt/home

Nice little program!

I like it! :thumbup:

Note:
I am using it in BookwormPup64 10.0.6

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

plinej
Posts: 243
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 7 times
Been thanked: 101 times

Re: yplaylist-0.4 - yad Youtube downloader

Post by plinej »

updated to 0.4 bugfix

You can download my packages at https://archive.org/download/plinej-packages
User avatar
vtpup
Posts: 758
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 204 times
Been thanked: 174 times
Contact:

Re: yplaylist-0.4 - yad Youtube downloader

Post by vtpup »

Thanks @plinej for this useful Youtube downloader. I've been using it on my laptop (in sig) for a couple weeks now and like it a lot.

I have come up with an issue, and that is, if I download a video from YouTube into a directory which has a video with the same title as another video, the first video gets overwritten, even though they are different youtube videos, with different youtube addresses.

For example if a downloade video in my folder is called "Engine Start" and I visit another channel with a video called "Engine Start" and download that one, it will simply overwrite the earlier video, with no warning, and then close.

Two possible solutions:

1.) Stop before saving to a duplicate name, and ask a user if they want to alter the name to something unique, or:

2.) Add a digit to the title or use the actual Youtube video address hash as part of the name, since those are unique. For example: Engine Start AwOvdq2YM1z.mkv

And a request:

It would be great, when downloading multiple videos, if the program didn't just close automatically after downloading one. Presently I keep opening the program again to download the next video.

Thanks again for this little program!

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

Post Reply

Return to “Browsers and Internet”