37 #include "nsISupports.idl"
47 [scriptable,
uuid(D2CC37F4-A5DB-4226-966
F-C51A9AE5686F)]
60 in AString aLibFilePath,
82 in
unsigned long aNonExistentMediaCount,
83 in
unsigned long aTrackCount);
109 in AString aPlaylistName,
110 out
boolean aApplyAll);
123 [scriptable,
uuid(04E3F8E9-70F4-4129-9A74-CEC88A8AEE93)]
175 in AString aLibFilePath,
177 in
boolean aCheckForChanges);
203 [scriptable,
uuid(81c027cd-1c4d-42d7-8b70-134cba5175a1)]
readonly attribute AString libraryReadableType
readonly attribute AString libraryDefaultFileName
Interface for importing external libraries.
readonly attribute AString libraryFileExtensionList
void onImportError()
Handle library import error events. These events occur whenever an error is encountered while importi...
void initialize()
Initialize the library importer.
void onNonExistentMedia(in unsigned long aNonExistentMediaCount, in unsigned long aTrackCount)
Handle non-existent media events. These events occur whenever the media file for an imported track do...
Generic interface for exposing long running jobs to the UI.
readonly attribute AString libraryType
readonly attribute AString libraryDefaultFilePath
void onLibraryChanged(in AString aLibFilePath, in AString aGUID)
Handle library changed events. These events occur when the contents of the import library change...
void onUnsupportedMedia()
Handle unsupported media events. These events occur whenever an attempt is made to import media that ...
readonly attribute boolean libraryPreviouslyImported
void setListener(in sbILibraryImporterListener aListener)
Set the listener for import events.
void finalize()
Finalize the library importer.
AString onDirtyPlaylist(in AString aPlaylistName, out boolean aApplyAll)
Handle dirty playlist events. These events occur when an imported library playlist has been modified ...
Interface for listening to library importer events.
readonly attribute AString libraryPreviousImportPath
attribute sbILibraryImporter defaultLibraryImporter