Gets all possible fields that can be used ('Album','Rating',...)
Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)
Gets/Sets collection to be searched ('Entire Library', 'Music', 'Video',...)
Gets list of QueryCondition objects defining search rules, see dlgSearch for example
Set to true after deletion so that 'change' event is called and item is removed from UI lists.
Gets integer id of the object
Whether this object can be listened (e.g. for 'change' event)
Is source for status bar informations.
Gets the object type as string
Gets persistent id of the object
Gets/Sets phrase to be searched (e.g. when searching via search bar)
Whether object support pin to pinned list
Gets the object title
Rest
...params: any[]Adds new QueryCondition to conditions list and returns
Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.
list of all possible limit orders
Get all external object links (acoustID, musicbrainz, wikipedia etc.)
list of all possible sort orders
Get external link associated with the object. All link identifiers are (updated list is available in consts.js) : var LINK_MUSICBRAINZ = 'musicbrainz', LINK_ACOUSTID = 'acoustid', LINK_TVDB = 'tvdb', LINK_MAZE = 'maze', LINK_IMDB = 'imdb', LINK_WIKI = 'wiki', LINK_ECHOPRINT = 'echoprint', LINK_MOVIEDB = 'moviedb', LINK_DISCOGS = 'discogs';
Rest
...params: any[]Gets persons fullfilling this query params
Rest
...params: any[]Gets all playlists fullfilling this query params
Rest
...params: any[]Gets all podcasts fullfilling this query params
Rest
...params: any[]Gets list of files that fullfills this search criteria
Rest
...params: any[]content optional param to specify content e.g. {contentType: 'audio', fillPlayOrder: true}
var trcklist = QueryData.getTracklist();
trcklist.whenLoaded().then(function () {
// all tracks are loaded here
});
Event is called when object is somehow changed
See App.listen
additional change type (can have values like 'tracklist', 'deleted', 'title' or undefined)
Rest
...additionalArgs: any[]app.listen(object, 'change', (changeType) => { });
Event is called when object is going to destroy
See App.listen
Event is called when status info of the object is changed
See App.listen
Defines set of search rules (e.g. auto-playlist is defined by QueryData), see dlgSearch for example
QueryData