Closed terminal77 closed 2 years ago
This can have unintended consequences if one of the songs fail to download causing error and then we may end up with empty playlist. Will probably look into this later.
Thank you, we can probably add a check, here I'll write down the logic I had in mind:
Also to add to #5 , since you are quite familiar with Saavn APIs. Is it possible to pass an additional argument that will remove all the songs from playlist after download? The idea here is that I will be running this as a cron job where it will download songs from a playlist, once the songs are downloaded it will remove those from playlist and then I can add any new songs to playlist from Saavn app and this will only download new songs on next run. I know it only downloads new songs by default but for my use case the downloaded songs will be moved from download location to Music storage. e.g:
python3 Download.py -o /home/monu/Desktop/ -url https://www.jiosaavn.com/album/tum-hi-aana-from-marjaavaan/j9bfphC2728_ -clearplaylist