import"sbIDynamicPlaylistService.idl";
sbIMediaList sbIDynamicPlaylistService::createList |
( |
in sbILibrary |
aLibrary, |
|
|
in nsIURI |
aUri, |
|
|
in unsigned long |
aIntervalSeconds, |
|
|
in nsILocalFile |
aDestinationDirectory |
|
) |
| |
Create a new dynamnic playlist.
- Parameters
-
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. |
- Returns
- sbIMediaList The new dynamic playlist
Create a new podcast.
- Parameters
-
aLibrary | The library in which to create the new podcast |
aUri | The URL of the podcast feed |
aProperties | Optional initial properties for this new podcast |
void sbIDynamicPlaylistService::updateAllNow |
( |
| ) |
|
Force an update of all dynamic playlists.
void sbIDynamicPlaylistService::updateList |
( |
in sbIMediaList |
aMediaList, |
|
|
in nsIURI |
aUri, |
|
|
in unsigned long |
aIntervalSeconds, |
|
|
in nsILocalFile |
aDestinationDirectory |
|
) |
| |
Update a new dynamnic playlist.
- Parameters
-
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 sbIDynamicPlaylistService::updateNow |
( |
in sbIMediaList |
aMediaList | ) |
|
Force an update of a specified dynamic playlist.
- Parameters
-
aMediaList | The dynamic playlist to update |
The documentation for this interface was generated from the following file: