We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65f7fc commit 4b768f7Copy full SHA for 4b768f7
1 file changed
librespot/metadata.py
@@ -114,7 +114,7 @@ def from_uri(uri: str) -> AlbumId:
114
matcher = AlbumId.pattern.search(uri)
115
if matcher is not None:
116
album_id = matcher.group(1)
117
- return AlbumId(util.bytes_to_hex(AlbumId.base62.decode(album_id.encode())))
+ return AlbumId(util.bytes_to_hex(AlbumId.base62.decode(album_id.encode(), 16)))
118
raise TypeError("Not a Spotify album ID: {}.".format(uri))
119
120
@staticmethod
0 commit comments