32 #include "nsISupports.idl"
41 [scriptable,
function,
uuid(27bfbb84-ac22-46bd-b1bb-cf3baf6f3b3c)]
110 [scriptable,
uuid(a8193c8e-4f9a-4b31-ae7b-4f4ee07f4efb)]
259 [optional] in AString aSiteID);
313 [optional] in AString aSiteID);
438 [scriptable,
uuid(023734d0-0ba2-4c19-9fe6-58646282b586)]
473 in AUTF8String
aPath);
sbIRemoteMediaList getMediaListBySiteID(in AString aSiteID)
Get the media list with the given siteID.
sbIMediaItem createMediaItem(in AString aURL)
Create a media item from a URL.
readonly attribute AString filename
The filename of the library file Set only in debug builds.
void connectToSiteLibrary(in AUTF8String aDomain, in AUTF8String aPath)
Connects the remote library to a library from the internal data model.
attribute boolean scanMediaOnCreation
Control whether or not media is scanned when created.
An interface for a sandbox library created by the website.
readonly attribute nsISimpleEnumerator playlists
readonly attribute nsIVariant mostPlayedArtists
sbIRemoteMediaList createSimpleMediaList(in AString aName, [optional] in AString aSiteID)
Create a simple media list.
void connectToDefaultLibrary(in AString aLibName)
Connect the remote library to the main or web library.
void createMediaListFromURL(in AString aName, in AString aURL, [optional] in sbICreateMediaListCallback aCallback, [optional] in AString aSiteID)
Create a media list from an exising playlist file.
An interface to control a media library from remote web pages.