spotifywebapipython.models.spotifyconnectdevices
Spotify Connect Devices collection.
Number of seconds between the current date time and the DateLastRefreshed property value.
Date and time the device list was last refreshed, in unix epoch format (e.g. 1669123919.331225).
Returns True if the Items collection contains the specified device id value;
otherwise, False.
Alias entries (if any) are also compared.
Returns True if the Items collection contains the specified device name value;
otherwise, False.
Alias entries (if any) are also compared.
Returns True if the Items collection contains the specified Zeroconf getInfo Endpoint url value;
otherwise, False.
Returns a SpotifyConnectDevice instance if the Items collection contains the specified
device zeroconf discovery results key value; otherwise, None.
Returns a SpotifyConnectDevice instance if the Items collection contains the specified
device id value; otherwise, None.
All Spotify Connect Zeroconf GetInfo response DeviceId entries are checked
first; if not resolved, then base device Id entries are checked. We do it
this way in case a Spotify Connect Zeroconf GetInfo response has not been
recevied for a device yet.
Returns a SpotifyConnectDevice instance if the Items collection contains the specified
device name value; otherwise, None.
All Spotify Connect Zeroconf GetInfo response RemoteName / Zeroconf DiscoveryResult
DeviceName entries are checked first; if not resolved, then Spotify Connect Zeroconf
GetInfo Alias entries are checked. We do it this way in case an alias name is defined
for a Spotify Connect Zeroconf entry that already exists with the same name (e.g. the
RemoteName entry will take precedence).
Returns a SpotifyConnectDevice instance if the Items collection contains the specified
device name and id value; otherwise, None.
Alias entries (if any) are NOT compared.
Returns the index of the Items collection entry that contains
the specified device zeroconf discovery results key value if found;
otherwise, -1.
Returns the index of the Items collection entry that contains
the specified device zeroconf discovery results name value if found;
otherwise, -1.