27 #include "nsISupports.idl"
44 [scriptable,
uuid(395adc1c-64a3-45e4-8b00-893e7f76419c)]
87 [scriptable,
uuid(13ab5520-449e-11dd-ae16-0800200c9a66)]
103 [optional] in PRInt32 aTargetIndex);
121 [optional] in PRInt32 aTargetIndex);
sbIDirectoryImportJob importWithCustomSnifferAndMetadataScanner(in nsIArray aDirectories, in sbIMediacoreTypeSniffer aSniffer, in sbIFileMetadataService aMetadataScanner, [optional] in sbIMediaList aTargetMediaList, [optional] in PRInt32 aTargetIndex)
Recursively import from the given directories into the specified media list.
Generic interface for exposing long running jobs to the UI.
readonly attribute unsigned long totalDuplicates
Number of items that already existed in the target library.
readonly attribute unsigned long totalAddedToLibrary
Number of new (unknown) items that were added to the library.
readonly attribute sbIMediaList targetMediaList
Media list receiving found items.
Handles finding media files in directories and adding them to a library or list.
Represents a recursive directory import operation. Use sbIDirectoryImportService to start a new impor...
readonly attribute unsigned long targetIndex
Index into targetMediaList where found items are inserted.
nsISimpleEnumerator enumerateAllItems()
Enumerator for sbIMediaItems that were found during this job.
readonly attribute unsigned long totalAddedToMediaList
Number of items that were added to the target media list (Note that items may already existed in the ...