Public Member Functions | |
sbIMediaList | createList (in sbILocalDatabaseLibrary aLibrary, in nsIURI aUri, in unsigned long aIntervalSeconds, in nsILocalFile aDestinationDirectory) |
Create a new dynamnic playlist. | |
void | updateList (in sbILocalDatabaseSimpleMediaList aMediaList, in nsIURI aUri, in unsigned long aIntervalSeconds, in nsILocalFile aDestinationDirectory) |
Update a new dynamnic playlist. | |
void | updateAllNow () |
Force an update of all dynamic playlists. | |
void | updateNow (in sbIMediaList aMediaList) |
Force an update of a specified dynamic playlist. | |
Public Attributes | |
readonly attribute nsISimpleEnumerator | scheduledLists |
Returns an enumerator of all dynamic playlists as |sbIMediaList|s. |
Definition at line 45 of file sbILocalDatabaseDynamicPlaylistService.idl.
sbIMediaList sbILocalDatabaseDynamicPlaylistService::createList | ( | in sbILocalDatabaseLibrary | aLibrary, | |
in nsIURI | aUri, | |||
in unsigned long | aIntervalSeconds, | |||
in nsILocalFile | aDestinationDirectory | |||
) |
Create a new dynamnic playlist.
aLibrary | The library in which to create the new list | |
aUri | The URL that will be read to gather tracks for the list | |
aIntervalSeconds | Interval between updates, in seconds | |
aDestinationDirectory | Directory that the downloaded files will be saved in. If null, the default download directory is used. |
void sbILocalDatabaseDynamicPlaylistService::updateList | ( | in sbILocalDatabaseSimpleMediaList | aMediaList, | |
in nsIURI | aUri, | |||
in unsigned long | aIntervalSeconds, | |||
in nsILocalFile | aDestinationDirectory | |||
) |
Update a new dynamnic playlist.
aMediaList | The dynamic playlist to update | |
aUri | The URL that will be read to gather tracks for the list | |
aIntervalSeconds | Interval between updates, in seconds | |
aDestinationDirectory | Directory that the downloaded files will be saved in. If null, the default download directory is used. |
void sbILocalDatabaseDynamicPlaylistService::updateNow | ( | in sbIMediaList | aMediaList | ) |
Force an update of a specified dynamic playlist.
aMediaList | The dynamic playlist to update |