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 query condition in the old INI format
Gets/Sets collection query condition in the new JSON portable and human readable format
Set to true after deletion so that 'change' event is called and item is removed from UI lists.
Gets/Sets description of the collection.
Icon name of the collection.
Gets integer id of the object
Whether this object can be listened (e.g. for 'change' event)
Is source for status bar informations.
Gets/Sets name of the collection.
Gets the object type as string
Gets persistent id of the object
Gets/Sets position order of the collection node in media tree.
Gets queryData of the collection.
Whether object support pin to pinned list
Gets the object title
Gets/Sets visibility of the collection in media tree. It can be one of the value: 0 - invisible (false) 1 - visible (true) 2 - visible if not empty
Assign internal data from collection.
Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.
Gets list of collections sharing same view.
Get ArtistList based on collection filter. Returns album artists only.
Get all external object links (acoustID, musicbrainz, wikipedia etc.)
Get ArtistList based on collection filter.
Get ArtistList based on collection filter. Returns artists only (contributing artists).
Get copy of the collection.
Collection
Get decade list.
Rest
...params: any[]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[]Get PersonList (ArtistList) based on collection filter and person type.
Rest
...params: any[]Get Rating | rating class based on collection filter and specified rating. Rating should be a value between 0 and 100 where 0 is unknown and 100 is 5 stars.
Rating value
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
Collection