mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #101] Metadata Failed #72
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @trdahl on GitHub (Oct 25, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/101
Im getting lot of "get metadata failed", is there a way around this?
Error Message:
[2023-10-25 22:19:14,932 :: worker.downloader.SESSION_DL_TH-3b2c0c6d-3794-4797-b677-10c2189975d4 :: C:\onthespot\src\onthespot\worker\downloader.py -> 385:
run() :: ERROR] -> Download process returned false: 5Wk8wALd5xMXFyX0qulnz4
[2023-10-25 22:19:14,934 :: worker.downloader.SESSION_DL_TH-3b2c0c6d-3794-4797-b677-10c2189975d4 :: C:\onthespot\src\onthespot\worker\downloader.py -> 341:
run() :: INFO] -> Processing download for track by id '5Wk8wALd5xMXFyX0qulnz4', Attempt: 2/3
[2023-10-25 22:19:14,937 :: spotutils :: C:\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Dan McKie"; Allow path separators: False
[2023-10-25 22:19:14,939 :: spotutils :: C:\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Anton Stellz"; Allow path separators: False
[2023-10-25 22:19:14,939 :: spotutils :: C:\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Physical Systems: Pt. II"; Allow path separators: False
[2023-10-25 22:19:14,940 :: spotutils :: C:\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Earthquaker"; Allow path separators: False
[2023-10-25 22:19:14,941 :: worker.downloader.SESSION_DL_TH-3b2c0c6d-3794-4797-b677-10c2189975d4 :: C:\onthespot\src\onthespot\worker\downloader.py -> 97: download_track() :: ERROR] -> Metadata fetching failed for track by id '5Wk8wALd5xMXFyX0qulnz4', Traceback (most recent call last):
File "C:\onthespot\src\onthespot\worker\downloader.py", line 52, in download_track
song_info = get_song_info(session, track_id_str)
File "C:\onthespot\src\onthespot\utils\spotify.py", line 370, in get_song_info
'label': sanitize_data(album_data['label']),
KeyError: 'label'
@casualsnek commented on GitHub (Oct 28, 2023):
Looks like you are using release version ! Can you try building from source and see if it's fixed ?
( If you don't know how to build or can;t build for any reason, i can share a build from main branch for you ! )
@bulasag commented on GitHub (Nov 10, 2023):
I was in the same situation as trdahl, using release version and getting "Get metadata failed". I tried building from source and it did get a lot better- about 100 previously failing songs downloaded but there's still 37 left now.
I get these errors when retrying:
Also tried searching for some songs that failed and re-downloading, errors:
Edit: Clarification + Tried searching and re-downloading
@FatMax1492 commented on GitHub (Aug 25, 2024):
I'm having the same "get metadata failed". First on the release and after following the suggestions here also after building from source. What gives?