Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)
State of '[x] Customize subscription rules' checkbox to override global podcast settings
State of '[x] Delete episodes older than' checkbox
State of '[x] Only if they have been listened to' checkbox
State of '[x] Only if rating less than' checkbox
Gets/Sets rating value corresponding to '[x] Only if rating less than' checkbox
Set to true after deletion so that 'change' event is called and item is removed from UI lists.
Gets/Sets description of this podcast subscription
Value correposning to '[x] On update, download [xxx][yyy]' dropdowns
DOWNLOAD_ALL = 0; DOWNLOAD_RECENT_1 = 1; DOWNLOAD_RECENT_2 = 2; DOWNLOAD_RECENT_5 = 3; DOWNLOAD_RECENT_10 = 4; DOWNLOAD_RECENT_20 = 5; DOWNLOAD_NOTHING = 6; DOWNLOAD_RECENT_1_DAY = 7; DOWNLOAD_RECENT_2_DAYS = 8; DOWNLOAD_RECENT_3_DAYS = 9; DOWNLOAD_RECENT_WEEK = 10; DOWNLOAD_RECENT_2_WEEK = 11; DOWNLOAD_RECENT_MONTH = 12; DOWNLOAD_OLDEST_1 = 13; DOWNLOAD_OLDEST_2 = 14; DOWNLOAD_OLDEST_5 = 15; DOWNLOAD_OLDEST_10 = 16; DOWNLOAD_OLDEST_20 = 17;
Value correposning to '[x] Delete episodes older than [xxx]' dropdown
Whether this object can be listened (e.g. for 'change' event)
Is source for status bar informations.
Gets/Sets login in case podcast feed is password protected
Gets the object type as string
Value correposning to '[x] On download, tag episodes based on data from podcast feed' checkbox
Gets/Sets password in case podcast feed is password protected
Gets persistent id of the object
Gets/Sets subscription feed URL link (link to RSS/XML podcast feed)
Value correposning to '[x] Always retain the [xxx]' checkbox
Gets/Sets number of episodes to be kept
Whether to show links to already removed episodes
Whether object support pin to pinned list
Gets/Sets title of the podcast subscription.
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.)
Gets episodes of this podcast subscription, similar to getTracklist(), but can specify other params
as promise
var trcklist = Podcast.getEpisodeList(true, false); <br>
trcklist.whenLoaded().then(function () { <br>
// all downloaded episodes in trcklist <br>
}); <br>
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
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
Podcast subscription class
Podcast