spotifywebapipython.spotifymediatypes

class SpotifyMediaTypes(enum.StrEnum):

Spotify media types enumeration.

ALBUM = <SpotifyMediaTypes.ALBUM: 'album'>

Album media type.

ARTIST = <SpotifyMediaTypes.ARTIST: 'artist'>

Artist media type.

AUDIOBOOK = <SpotifyMediaTypes.AUDIOBOOK: '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 = <SpotifyMediaTypes.EPISODE: 'episode'>

Episode media type.

PLAYLIST = <SpotifyMediaTypes.PLAYLIST: 'playlist'>

Playlist media type.

PODCAST = <SpotifyMediaTypes.PODCAST: '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 = <SpotifyMediaTypes.SHOW: 'show'>

Show media type.

TRACK = <SpotifyMediaTypes.TRACK: 'track'>

Track media type.

UNKNOWN = <SpotifyMediaTypes.UNKNOWN: '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.