saved
Saved module for handing the saved tracks from user library
Saved(name, url, urls, songs)
dataclass
¤
Bases: SongList
Saved class for handling the saved tracks from user library.
get_metadata(url='saved')
staticmethod
¤
Returns metadata for a saved list.
Arguments¤
- url: Not required, but used to match the signature of the other get_metadata methods.
Returns¤
- metadata: A dictionary containing the metadata for the saved list.
- songs: A list of Song objects.
Source code in spotdl/types/saved.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
|
SavedError
¤
Bases: Exception
Base class for all exceptions related to saved tracks.