onthespot icon indicating copy to clipboard operation
onthespot copied to clipboard

Unable to create playlist when missing files.

Open skorakora opened this issue 2 years ago • 6 comments

HI. Some songs failed to download, adn program is unable to create m3u playlist as long as I have missing songs, Is there any way to avoid that/ skip those missing songs?

skorakora avatar Dec 08 '22 02:12 skorakora

im having same issue. Is development on this stopped?

vortex91 avatar Apr 04 '23 01:04 vortex91

im having same issue. Is development on this stopped?

The development has not stopped, although i have my end of semester exams till 9th Apr. I'll start working on issues after that date ! Sorry for delayed development and bugfixes !

casualsnek avatar Apr 04 '23 08:04 casualsnek

HI. Some songs failed to download, adn program is unable to create m3u playlist as long as I have missing songs, Is there any way to avoid that/ skip those missing songs?

Thanks for letting me know, i will add check for unavailable songs and handle them properly!

casualsnek avatar Apr 04 '23 08:04 casualsnek

Can you share link to the playlist that has unavailable tracks ?

casualsnek avatar Apr 05 '23 12:04 casualsnek

I fixed the code to handle "unavailable" and "failed" use casee. runtimedata.py: added "missing" downlowder.py: added "missing.add(trk_track_id_str)" to " if not is_playable:" and "except Exception:" utility: changed logic of ddc to "set(downloaded_data.keys()).union(missing)" and " if track_id in missing:"

users can unzip and replace in proper folders the 3 files with the attachment and it will create m3u when unavaialble or failed to download

edits.zip

example of playlist with "unavailable" and "failed" https://open.spotify.com/playlist/3c9viZYoVMFv4ygPoGFsaz

vortex91 avatar Apr 06 '23 16:04 vortex91

Hello, i have pushed changes regarding this issue in development branch (https://github.com/casualsnek/onthespot/commit/1bb6bec9ff054ba6773aedf8fb06b89ae7d2305e) ! Can you give it a try

casualsnek avatar Apr 06 '23 16:04 casualsnek