Handles finding media files in directories and adding them to a library or list. More...
import"sbIDirectoryImportService.idl";
Public Member Functions | |
| 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. More... | |
Public Attributes | |
| sbIDirectoryImportJob | |
| Recursively import from the given directories into the specified media list. More... | |
Handles finding media files in directories and adding them to a library or list.
Definition at line 88 of file sbIDirectoryImportService.idl.
| sbIDirectoryImportJob sbIDirectoryImportService::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.
| aDirectories | an array of nsIFile paths |
| aTargetMediaList | the media list into which found items should be loaded (defaults to the main library) |
| aTargetIndex | the index into the media list where items should be inserted (ignored if aTargetMediaList is not an sbIOrderableMediaList) |
| aTypeSniffer | a type sniffer to be used to check whether the imported files are supported |
| sbIDirectoryImportService::sbIDirectoryImportJob |
Recursively import from the given directories into the specified media list.
| aDirectories | an array of nsIFile paths |
| aTargetMediaList | the media list into which found items should be loaded (defaults to the main library) |
| aTargetIndex | the index into the media list where items should be inserted (ignored if aTargetMediaList is not an sbIOrderableMediaList) |
Definition at line 103 of file sbIDirectoryImportService.idl.