You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 41m 38s logged

probably should’ve split this into 2 devlogs, but uhh..

first: playlists + yt-dlp flags are now loaded from the config file! obviously this will be editable with a ui at some point in the future
i also added a config key for the directory that music will be downloaded! which is important…

and second: the playlist now syncs when new things are added or deleted!

this is done by storing a file with all the video ids of the playlist last time it was downloaded, and comparing it with whatever it is now, downloading individually what was added (to prevent potential ratelimits from youtube that would occur if i was just to run the command to download the entire playlist again), and deleting any songs that were removed from the playlist! (in the future, i want this to be a togglable setting as sometimes you might want to keep songs if they are removed from youtube or something)

next i want to make sure multiple playlists work properly, as i don’t want it to delete song files if a song was only removed from one playlist, or download a song that is already present from another playlist

0
1

Comments 0

No comments yet. Be the first!