ph_playlist PowerHome formula function
Description
Programs a playlist into a CD changer.
Syntax
ph_playlist ( id, mode )
Argument Description
id The ID of the playlist you would like to have programmed.
mode The mode to use when programming the playlist. A 0 will send the playlist unaltered. A 1 will cause the playlist to first be randomized.
Return value
Integer. Returns a 0 if successful. Other return values are: 1 – an error occurred while generating the SQL to retrieve the commands for the PLAYPLAYLIST macro. 2 – an error occurred while creating the datastore to retrieve the commands for the PLAYPLAYLIST macro. 3 – No rows are defined for the PLAYPLAYLIST macro. 4 – an error occurred while generating the SQL to retrieve the tracks to be programmed for the playlist. 5 – an error occurred while creating the datastore to retrieve the tracks to be programmed. 6 – No tracks exist in the playlist.