ISDBApplicationEvents::OnPlaylistChanged
		
		
		
		Jump to navigation
		Jump to search
		
Parameters
| Name | Type | Description | 
|---|---|---|
| Playlist | SDBPlaylist | Playlist changed in library. | 
Event description
This event is called when a playlist in Library is changed in some way (track is deleted or re-ordered).
Example code
Sub OnStartUp()
  Script.RegisterEvent SDB, "OnPlaylistChanged", "PlaylistChanged"
  Script.RegisterEvent SDB, "OnPlaylistAdded", "PlaylistAdded"
  Script.RegisterEvent SDB, "OnPlaylistRemoved", "PlaylistRemoved"    
End Sub
Sub PlaylistChanged( Playlist)
 msgbox "Changed playlist " + Playlist.Title
End Sub
Sub PlaylistAdded( Playlist)
 msgbox "Added playlist " + Playlist.Title
End Sub
Sub PlaylistRemoved( Playlist)
 msgbox "Removed playlist " + Playlist.Title
End Sub