spotifywebapipython.spotifytypeprefixes

class SpotifyTypePrefixes(enum.StrEnum):

Spotify media type prefixes enumeration.

ALBUM = <SpotifyTypePrefixes.ALBUM: 'spotify:album:'>

Album media type.

ARTIST = <SpotifyTypePrefixes.ARTIST: 'spotify:artist:'>

Artist media type.

AUDIOBOOK = <SpotifyTypePrefixes.AUDIOBOOK: 'spotify:audiobook:'>

Audiobook media type.

This value is not part of the Spotify Web API specification. It is loaded from our API so that the type of item can be determined programatically.

EPISODE = <SpotifyTypePrefixes.EPISODE: 'spotify:episode:'>

Episode media type.

PLAYLIST = <SpotifyTypePrefixes.PLAYLIST: 'spotify:playlist:'>

Playlist media type.

PODCAST = <SpotifyTypePrefixes.PODCAST: 'spotify:podcast:'>

Podcast episode type.

This value is not part of the Spotify Web API specification. It is loaded from our API so that the type of item can be determined programatically.

SHOW = <SpotifyTypePrefixes.SHOW: 'spotify:show:'>

Show media type.

TRACK = <SpotifyTypePrefixes.TRACK: 'spotify:track:'>

Track media type.

USER = <SpotifyTypePrefixes.USER: 'spotify:user:'>

Track media type.

UNKNOWN = <SpotifyTypePrefixes.UNKNOWN: 'spotify:unknown:'>

Unknown media type.

This value is not part of the Spotify Web API specification. It is loaded from our API so that the type of item can be determined programatically.