Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)
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
Whether object support pin to pinned list
Gets the object title
Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.
Get all external object links (acoustID, musicbrainz, wikipedia etc.)
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[]Event is called when object is somehow changed
See App.listen
app.listen(object, 'change', (changeType) => { });
additional change type (can have values like 'tracklist', 'deleted', 'title' or undefined)
Rest
...additionalArgs: any[]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
Undocumented