ISDBApplicationEvents::OnPlaylistRemoved

From MediaMonkey Wiki
Revision as of 19:52, 15 July 2013 by Ludek (talk | contribs) (Created page with "===Parameters=== {{MethodParameters |Playlist |SDBPlaylist | Playlist to be removed from library.}} ===Event description=== This event is called when a playlist is delet...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Parameters

Name Type Description
Playlist SDBPlaylist Playlist to be removed from library.


Event description

This event is called when a playlist is deleting from library.

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