mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 08:35:49 +03:00
[GH-ISSUE #172] [BUG] 404 when calling get_metadata_4_album() #30
Labels
No labels
bug
dependencies
duplicate
enhancement
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot-python-kokarare1212#30
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 @sesseor on GitHub (Jan 2, 2023).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/172
github.com/kokarare1212/librespot-python@0db444f3bd/librespot/core.py (L120)code return this :
<librespot.metadata.AlbumId object at 0x7f62693668c0> Traceback (most recent call last): File "/workspaces/spotify-downloader/instence.py", line 10, in <module> print(session.api().get_metadata_4_album(track_id)) File "/home/codespace/.python/current/lib/python3.10/site-packages/librespot/core.py", line 124, in get_metadata_4_album ApiClient.StatusCodeException.check_status(response) File "/home/codespace/.python/current/lib/python3.10/site-packages/librespot/core.py", line 206, in check_status raise ApiClient.StatusCodeException(response) librespot.core.ApiClient.StatusCodeException: 404when calling get_metadata_4_album()
also my code :
session.api().get_metadata_4_album(AlbumId.from_uri("spotify:album:3HHNR44YbP7XogMVwzbodx"))@kokarare1212 commented on GitHub (Jan 3, 2023):
It was an implementation issue with AlbumId.
@sesseor commented on GitHub (Jan 3, 2023):
looks good to me !