Queueitemplaylist, Moveitemplaylist, Playlistid] [location] [objecttype] [objectid – Qsonix Integration User Manual

Page 11: Playlistid] [fromsequencenumber] [tosequencenumber

Advertising
background image

Qsonix Integration Guide

Page | 11

Location

Specifies where the item specified should be added to the now playing queue.
Location must be one of the following values:

End – Add selected item to the end of the playlist

Next – Add selected item to the playlist immediately after the current track
Now – Add selected item to the playlist immediately after the current track and then
immediately call track next so that the queued track will start playing immediately.
Clear – Clear the playlist and then add the selected item.
# - If a number is specified as the location parameter, then the item(s) will be
inserted into the now playing playlist at the index specified. The index is 0-based.

ObjectType

Selection of exactly what item is to be insert into the playlist is further determined by
the ObjectType and ObjectID parameters. The ObjectType parameter must be one
of the following:

Album, Artist, Genre, Track, Playlist

ObjectID

The ObjectID parameter is then used to indicate which item of the specified
ObjectType will be inserted into the playlist.

QueueItemPlaylist

[PlaylistID] [Location] [ObjectType] [ObjectID]

DESCRIPTION

Allows adding of items to the Now Playing playlist for the specified [Zone]. The location in the current
playlist that the item will be inserted is determined by the value of the [Location] parameter.

PARAMETERS

PlaylistID

Specifies which playlist should have the items added.

Location

Specifies where the item specified should be added to the specified playlist.
Location must be one of the following values:

End – Add selected item to the end of the playlist
Clear – Clear the playlist and then add the selected item.

ObjectType

Selection of exactly what item is to be insert into the playlist is further determined by
the ObjectType and ObjectID parameters. The ObjectType parameter must be one
of the following:

Album, Artist, Genre, Track, Playlist

ObjectID

The ObjectID parameter is then used to indicate which item of the specified
ObjectType will be inserted into the playlist.

MoveItemPlaylist

[PlaylistID] [FromSequenceNumber] [ToSequenceNumber]

DESCRIPTION

Moves the track with the specified [FromSequenceNumber] from the playlist specified by [PlaylistID] to
a new location specified by [ToSequenceNumber].

PARAMETERS

PlaylistID

Specifies which playlist should have the items added. This can also be
provided as a string value formatted as “NPx” where NP represents “Now
Playing” and „x‟ is the zone number. For example, to remove an item from
the now playing playlist for zone 3, the PlaylistID parameter can be supplied

as NP3.

Advertising