Indicates whether remote sync is granted for this device sync profile
Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)
Auto-convert rules config
Indicates whether files to be copied from the device to the PC needs user confirmation during sync
Indicates whether content should by synced bidirectionally, i.e. also from the device to the PC
Indicates whether file metadata changes should be synced from the device to the PC
Indicates whether this device is USB connected
Whether artwork should be converted
Type to which the artwork should be converted
Local folder representing where should be copied files from the device
Optional, sync handlers stores custom service data here
Indicates whether files deletion should be confirmed by user during auto sync
Indicates whether all device files that are no longer on the sync list should be deleted during auto sync
Indicates whether library files that are no longer on the sync list should be deleted during auto sync
Set to true after deletion so that 'change' event is called and item is removed from UI lists.
Gets/Sets sync handler used for media sync, e.g. 'cloud', 'usb' etc.
See mediaSyncHandlers in mediaSync.js
Gets integer id of the object
Path to the image representing this device profile
Indicates whether auto-sync process is currently running
Indicates whether this profile is folder based, default is TRUE, but e.g. 'Google Play Music' utilizes this to FALSE
Indicates whether this device profiles is newly created (on first connect or first registration)
Whether this object can be listened (e.g. for 'change' event)
Is source for status bar informations.
Returns last sync time
timestamp in UTC form 'YYYY-MM-DD HH:MM:SS'
Gets/Sets name of this device sync profile
Gets the object type as string
Gets persistent id of the object
Treshold (in bytes) for removeAAFromTag
Indicates whether artwork should by removed from file tags when it is larger than removeAAByteRate treshold
Whether artwork should be resized
Max. resultion to which the artwork should be resized
Indicates whether files should be re-uploaded to new locations once their target locations are changed by sync mask config
If false then MediaMonkey leave them in its original locations
Indicates whether artwork should by copied to the file folders on the device
Indicates whether artwork should by copied to the file tags on the device
Indicates whether device content should be scanned ASAP or once needed
Indicates whether content of this device is being scanned
Mask representing target filename for artwork files
Indicates whether only first artist should be synced when multiple artists exists
Indicates whether only first genre should be synced when multiple genres exists
Indicates whether playlists should be synced to the device
Gets the object title
Adds device/cloud track into library (currently used for cloud content scanning into user library)
to be added
Overwrite existing library metadata (if exists)
Checks whether the track is downloaded and returns as second parameter in the promise
Adds device/cloud tracks into library (currently used for cloud content scanning into user library)
to be added
Overwrite existing library metadata (if exists)
Indicates whether the unpaired tracks should be downloaded locally
Indicates whether the tracks is full scan (to auto-remove no longer existing tracks from library)
Creates sync process for manipulating media sync
see MediaSync class implementation in helpers/mediaSync.js
for examples
can be either 'send' (manual sync) or 'auto' (auto sync)
Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.
Gets collection settings object
see /controls/deviceConfig/syncToDevice.js for examples
Gets folder list
folderType param can be either 'content' (for actual content listing)
or 'scanFromDevice' and 'syncFromDevice' for device folder configs (see /controls/deviceConfig/syncFromDevice.js for examples)
Gets device playlists
as promise
Gets list of supported playlist formats
Sets folder list as configured, see /controls/deviceConfig/syncFromDevice.js for examples
folderType param can be either 'scanFromDevice' or 'syncFromDevice'
Adds or updates device playlist into local user library (currently used for cloud content scanning into user library)
playlist guid (use empty string to created new one)
parent playlist guid (use empty string to insert under root)
last modified timestamp
auto-playlist's criteria JSON
if TRUE then creates playlist even if not all tracks are matched/found
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
Device class representing media sync profile
Device