mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2024-10-05 18:46:53 +02:00
24 lines
480 B
Python
24 lines
480 B
Python
|
class SpotifyId:
|
||
|
STATIC_FROM_URI = "fromUri"
|
||
|
STATIC_FROM_BASE62 = "fromBase62"
|
||
|
STATIC_FROM_HEX = "fromHex"
|
||
|
|
||
|
@staticmethod
|
||
|
def from_base62(base62: str):
|
||
|
pass
|
||
|
|
||
|
@staticmethod
|
||
|
def from_hex(hex_str: str):
|
||
|
pass
|
||
|
|
||
|
@staticmethod
|
||
|
def from_uri(uri: str):
|
||
|
pass
|
||
|
|
||
|
def to_spotify_uri(self) -> str:
|
||
|
pass
|
||
|
|
||
|
class SpotifyIdParsingException(Exception):
|
||
|
def __init__(self, cause):
|
||
|
super().__init__(cause)
|