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 all download items as list
Gets the object type as string
Gets persistent id of the object
Gets the object title
Cancels download item
Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.
Gets download item based on given URL
Returns whether the given download item is currently in download progress
Pauses download item
Resumes the paused download item
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
Download manager class to handle pending/current downloads. Access via the global
app.downloader
.Downloader