27 #include "nsISupports.idl"
36 [scriptable,
uuid(d5f4dec1-6c33-4401-b3b1-bf4d56b7b459)]
45 readonly attribute AString
path;
118 void start(in ACString aSessionGuid);
131 void setFolder(in AString
aPath, in
boolean aSynchronizeMediaList);
135 #define SB_WATCHFOLDER_CONTRACTID \
136 "@songbirdnest.com/watch-folder;1"
ACString stop()
Stops watching.
readonly attribute boolean isSupported
attribute sbIMediaList mediaList
readonly attribute boolean isRunning
void removeIgnorePath(in AString aFilePath)
Remove an absolute file path from the ignored paths list of the watch folder service. All future events at the specified path will be processed by the watch folders service. When used in conjunction with |addIgnoreCount()|, any remaining events specified by the count will still be ignored.
attribute boolean canInteract
readonly attribute AString path
Handles finding media files in directories and adding them to a library or list.
void addIgnorePath(in AString aFilePath)
Add a absolute file path to be ignored by the watch folder service. This path will be ignored until i...
void setFolder(in AString aPath, in boolean aSynchronizeMediaList)
restoreHistoryPrecursor aCount
attribute sbIDirectoryImportService importer
attribute sbIMediacoreTypeSniffer typeSniffer
void addIgnoreCount(in AString aFilePath, in long aCount)
Add an absolute file path to be ignore by the watch folder service. This path will be ignored for the...
attribute sbIFileMetadataService metadataScanner
void start(in ACString aSessionGuid)
Starts watching.