QueueAndPlay
Syntax:
QueueAndPlay n
Classification:
Synchronous
Result Type:
No result
Responses:
ParameterError
OK – indicates success
Example:
SearchSongs ok
SearchSongs: TransactionInitiated
SearchSongs: ListResultSize 2
SearchSongs: Boulevard Of Broken Dreams
SearchSongs: You Shook Me All Night Long
SearchSongs: ListResultEnd
SearchSongs: TransactionComplete
QueueAndPlay 0
QueueAndPlay: OK
ListNowPlayingQueue
ListNowPlayingQueue: ListResultSize 2
ListNowPlayingQueue: Boulevard Of Broken Dreams
ListNowPlayingQueue: You Shook Me All Night Long
ListNowPlayingQueue: ListResultEnd
QueueAndPlay replaces the current Now Playing queue with the results of the
most recent song browse or search (or of the current container), and then it
begins playback of the list starting at the song at the zero-based index indicated
by the parameter n. The previous contents of the Now Playing queue are
deleted.
Copyright© 2006 Roku, LLC
Page 72
www.rokulabs.com