spotifywebapipython.models.playerqueueinfo
Spotify Web API PlayerQueueInfo object.
Information about the user's current playback queue.
Initializes a new instance of the class.
Arguments:
- root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
The object type of the currently playing item, or null if nothing is playing.
If not null, it can be one of track, episode, ad or unknown.
Date and time items were was last refreshed, in unix epoch format (e.g. 1669123919.331225). A value of zero indicates the date was unknown.
Note that this attribute does not exist in the Spotify Web API; it was added here for convenience.
The tracks or episodes in the queue. Can be empty.
Will be one of the following: Track or Episode
Checks the Queue collection to see if an item already exists with the
specified Uri value.
Returns True if the specified Uri value exists in the collection; otherwise, False.