Module: modalMaintenance_js

Methods

(inner) clearDiskcache(target) → {void}

Clears the covercache
Parameters:
Name Type Description
target Node triggering element
Source:
Returns:
Type
void

(inner) cropDiskcache(target) → {void}

Crops the covercache
Parameters:
Name Type Description
target Node triggering element
Source:
Returns:
Type
void

(inner) dedupPlaylists(remove, target) → {void}

Deduplicates all playlists
Parameters:
Name Type Description
remove boolean remove duplicate elements?
target Node triggering element
Source:
Returns:
Type
void

(inner) deletePlaylists(target) → {void}

Removes all playlists by condition
Parameters:
Name Type Description
target Node triggering element
Source:
Returns:
Type
void

(inner) initModalMaintenance() → {void}

Initializes the maintenance elements
Source:
Returns:
Type
void

(inner) setLoglevel(target) → {void}

Sets the myMPD loglevel
Parameters:
Name Type Description
target Node triggering element
Source:
Returns:
Type
void

(inner) updateCaches(force, target) → {void}

Updates the myMPD caches
Parameters:
Name Type Description
force boolean true=forces an update
target Node triggering element
Source:
Returns:
Type
void

(inner) updateDB(uri, rescan, target) → {void}

Updates or rescans the database
Parameters:
Name Type Description
uri string baseuri
rescan boolean true = rescan, false = update
target Node triggering element
Source:
Returns:
Type
void

(inner) updateDBfinished(idleEvent) → {void}

Update database finished handler
Parameters:
Name Type Description
idleEvent string mpd idle event
Source:
Returns:
Type
void

(inner) updateSmartPlaylists(force, target) → {void}

Updates all smart playlists
Parameters:
Name Type Description
force boolean true = forces update of all smart playlists, false = updates only outdated smart playlists
target Node triggering element
Source:
Returns:
Type
void

(inner) validatePlaylists(remove, target) → {void}

Validates all playlists
Parameters:
Name Type Description
remove boolean remove invalid elements?
target Node triggering element
Source:
Returns:
Type
void