Quasolaris / NewPipePlaylistExtractor

Download your NewPipe created playlists as mp3, wav or other codec and listen to it offline. It is also possible to export the playlists as CSV, M3U8 or other text formats.
GNU General Public License v3.0
17 stars 3 forks source link

Quality-of-life fixes #7

Open medape opened 1 month ago

medape commented 1 month ago

Hello again! Thank you so much for accepting my last pull request. And for your appreciation.

You mentioned wanting to expand the script, maybe there is a way to make it so we can use the same code for a GUI, and for a CLI like CITGuru/PyInquirer? I don't know, it's a topic I never looked into a lot.

I'm planning to add a couple of CSV formats I'm going to make use for, but for now, I wanted to have you look if you're interested in these commits. Most of them are small tweaks and fixes.

The largest addition here is that now, if fed a .ZIP file, the extractor automatically checks if there is a newpipe.db file weighing less than 1 GiB (uncompressed), and if so, extracts it to a temporary folder so as to save the user that "effort". There is a way to extract the file directly to memory, but I couldn't find the way to run SQL queries on that.

Quasolaris commented 1 month ago

Hi @medape Thank you so much for adding more features!

I'm a bit packed at the moment but I will take a look, test and merge it as soon as I got time.

Quasolaris commented 1 week ago

Hi Medape

I finally had time to look at your pull request! Again thank you for the additions, especially the ZIP-Extraction I wanted to do that for a long time but just never came around to do it.

Features/changes tested:

I found two things that make the request not working on my end (see the review comments on the corresponding lines), the rest works as intended.

Regarding the GUI, thanks for the input, I'll take at look at CITGuru/PyInquirer.

Cheers!