| Variable |
Usage |
| Title |
obj.Title |
| RequestedBy |
obj.RequestedBy |
| RequestedByName |
obj.RequestedByName |
| ID |
obj.ID |
| URL |
obj.URL |
Retrieve the next X amount of songs in the queue
List<Song> GetSongQueue(int max)
songs = Parent.GetSongQueue(10)
for obj in songs:
Parent.Log(ScriptName,obj.Title)
Retrieve the next X amount of songs in the playlist
List<Song> GetSongPlaylist(int max)
songs = Parent.GetSongPlaylist(10)
for obj in songs:
Parent.Log(ScriptName,obj.Title)
Get the Current song that's playing
KeyValuePair<string,string> GetNowPlaying()
song = Parent.GetNowPlaying()
Parent.Log(ScriptName,"Title: " + song.Key)
Parent.Log(ScriptName,"Requested By: " + song.Value)