Navigation:  CATraxx v8 > Data server >

New methods

Previous pageReturn to chapter overviewNext page

The data server supports four new methods:

PlayTrack(TrackID)

This will play a single track.

PlayAlbum(AlbumID)

This will play a single album, tracks are played in the order they exist on the album.

PlayPlaylist(PlaylistID)

This will play the tracks in the specified playlist.

PlayFilter(Filter)

This will play the tracks according to the filter.

This command takes 5 parameters: Filter, Sort Order, Max Records, Random and Shuffle.

Some examples

(Of course, in the real world you would use data from the xml file in the filter.)

To play all tracks by U2:

<A HREF="PLAYFILTER:Track.Artist=U2">

To play all tracks by U2, sorted by release date:

<A HREF="PLAYFILTER:Track.Artist=U2@OrderBy=Track.Released">

To play the 25 oldest U2 songs:

<A HREF="PLAYFILTER:Track.Artist=U2@OrderBy=Track.Released@Max=25">

To pick 25 of the songs at random (still sorted by Released):

<A HREF="PLAYFILTER:Track.Artist=U2@OrderBy=Track.Released@Max=25@Random=Yes">

And finally, to shuffle the playlist:

<A HREF="PLAYFILTER:Track.Artist=U2@Max=25@Random=Yes@Shuffle=Yes">