[GH-ISSUE #38] Unable to create playlist when missing files. #27

Open
opened 2026-03-04 12:28:08 +03:00 by kerem · 6 comments
Owner

Originally created by @skorakora on GitHub (Dec 8, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/38

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?

Originally created by @skorakora on GitHub (Dec 8, 2022). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/38 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?
Author
Owner

@vortex91 commented on GitHub (Apr 4, 2023):

im having same issue. Is development on this stopped?

<!-- gh-comment-id:1495197870 --> @vortex91 commented on GitHub (Apr 4, 2023): im having same issue. Is development on this stopped?
Author
Owner

@casualsnek commented on GitHub (Apr 4, 2023):

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 !

<!-- gh-comment-id:1495547795 --> @casualsnek commented on GitHub (Apr 4, 2023): > 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 !
Author
Owner

@casualsnek commented on GitHub (Apr 4, 2023):

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!

<!-- gh-comment-id:1495551906 --> @casualsnek commented on GitHub (Apr 4, 2023): > 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!
Author
Owner

@casualsnek commented on GitHub (Apr 5, 2023):

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

<!-- gh-comment-id:1497372433 --> @casualsnek commented on GitHub (Apr 5, 2023): > Can you share link to the playlist that has unavailable tracks ?
Author
Owner

@vortex91 commented on GitHub (Apr 6, 2023):

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

<!-- gh-comment-id:1499325222 --> @vortex91 commented on GitHub (Apr 6, 2023): 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](https://github.com/casualsnek/onthespot/files/11172614/edits.zip) example of playlist with "unavailable" and "failed" https://open.spotify.com/playlist/3c9viZYoVMFv4ygPoGFsaz
Author
Owner

@casualsnek commented on GitHub (Apr 6, 2023):

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

<!-- gh-comment-id:1499329876 --> @casualsnek commented on GitHub (Apr 6, 2023): > Hello, i have pushed changes regarding this issue in development branch (https://github.com/casualsnek/onthespot/commit/1bb6bec9ff054ba6773aedf8fb06b89ae7d2305e) ! Can you give it a try
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#27
No description provided.