v0.3.0.0-alpha1
Pre-release- New:
-
Included foobar2000.js wraps the API to make JavaScript development easier. (alpha1)
-
Set permissions in the Preferences dialog. (alpha1)
-
Properties
- isLibraryEnabled: Returns true if the Media Library is enabled. (alpha1)
- canReadFiles: Returns true if the component can read local files. (alpha1)
- canReadDirectories: Returns true if the component can read local directories. (alpha1)
- canExecuteShellOperations: Returns true if the component can execute shell operations. (alpha1)
-
Methods
-
execute(filePath, arguments, directoryPath, operation, showMode): Execites a shell operation on a file. Mostly used to run applications. Check the SHELLEXECUTEINFOW documentation for the possible values of the parameters. (alpha1)
-
showLibraryPreferences(): Shows the Media Library preferences dialog. (alpha1)
-
searchLibrary(query): Searches the Media Library for matching tracks. Returns a metadb handle list. (alpha1)
-
getMetaDBHandleListCount(list): Returns the number of items in a list of metadb handles. (alpha1)
-
getMetaDBHandleListItem(list, index): Returns the item at the specified index in a list of metadb handles. (alpha1)
-
releaseMetaDBHandleList(list): Releases a list of metadb handles. (alpha1)
-
getMetaDBHandlePath(handle): Gets the path of the specified metadb handle. (alpha1)
-
getMetaDBHandleRelativePath(handle): Gets the path of the specified metadb handle relative to the Media Library folder it is in. (alpha1)
-
getMetaDBHandleLength(handle): Gets the length of the specified metadb handle (in ms). (alpha1)
-
-
Callbacks
- onLibraryItemsAdded(items): Called when items have been added to the Media Library. (alpha1)
- onLibraryItemsModified(items): Called when Media Library items have been modified. (alpha1)
- onLibraryItemsRemoved(items): Called when Media Library items have been removed. (alpha1)
-