Getfor_nowplaying [zone] [trackcount] {userdata, Get_playlists, Getfor_nowplaying – Qsonix Integration User Manual

Page 18: Pagenumber] [pagesize] {userdata, Zone] [trackcount] {userdata

Advertising
background image

Qsonix Integration Guide

Page | 18

[AlbumCount][TrackCount][Duration][DurationAsString] 

PageNumber

The page number being returned.

Int32

TotalPages

Indicates how many pages are available at the page size specified.

Int32

TotalPeriods

Count of the number of periods in the library.

Int32

PeriodID

Unique period identifier for the period being returned. Distinct years have a
period ID that is simply the year. Decades have a period ID that prepends a
1 to the decade (for example, 1980s has a period ID of 11980).

Int16

DisplayString

A displayable version of the PeriodID. This translates decades back to a
displayable form such as “1980s”.

String(5)

AlbumCount

The number of albums associated with this period.

Int32

TrackCount

The total number of tracks associated with this period.

Int32

TotalDuration

The total duration of all tracks associated with this period.

Int32

TotalDurationAsString The total duration of all tracks associated with this period. This is returned as

a formatted string value (ex: 1:23:45).

String(20)

Get_Playlists

[PageNumber] [PageSize] {UserData}

DESCRIPTION

Retrieves a list of playlists in the system.

PARAMETERS

PageNumber

Specifies the page number to be retrieved.

Int32

PageSize

Specifies the number of rows in each page.

Int32

RESPONSE DEFINITION

GET_PLAYLISTS[PageNumber][TotalPages][TotalPlaylists][UserData][PlaylistID][PlaylistName]

[DurationInSeconds][DurationAsString][TrackCount]

PageNumber

The page number being returned.

Int32

TotalPages

Indicates how many pages are available at the page size specified.

Int32

TotalPlaylists

Count of the number of playlists in the library.

Int32

PlaylistID

Unique playlist identifier for the playlist being returned.

Int32

PlaylistName

The name of the playlist.

String(255)

DurationInSecon
ds

Total duration of all tracks in the playlist. This is returned as an integer value in
seconds.

Int32

DurationAsString Total duration of all tracks in the playlist. This is returned as a formatted string

value (ex: 1:23:45).

String(10)

TrackCount

Total number of tracks in the playlist.

Int32

GetFor_NowPlaying

[Zone] [TrackCount] {UserData}

DESCRIPTION

Retrieves a list of tracks from the now playing playlist for the specified Zone. The first row returned in
the result will be the current track for that zone. Based on the value of TrackCount, additional rows

Advertising