Nextcloud - Music
Created by: Lester Caine, Last modification: Yesterday 16:48
github code source Outstanding Issue Posted enquiry about format of directory tree.
Trying to find out just how I need to lay out the music in the folder tree so that the Music app can scan it, and in the process found out how to manually scan things using an occ function. Only problem at the moment is it only bothered with the first Beatles album and none of the other artist folders in the tree.
occ music: functions help
music:scan scan and index any unindexed or dirty audio files
music:reset-database drop metadata indexed by the music app (artists, albums, tracks, playlists)
music:reset-cache drop data cached by the music app for performance reasons
music:cleanup clean up orphaned DB entries (this happens also periodically on the background)
music:register-mime-types map following file extensions to proper MIME types: ["aac","aif","aifc","aiff","au","caf","wpl"]
music:podcast-add add a podcast channel from an RSS feed
music:podcast-export export user podcast channels to an OPML file
music:podcast-import import user podcast channels from an OPML file
music:podcast-reset remove all podcast channels of one or more users
music:podcast-update update podcast channels of one or more users from their sources
music:playlist-export export user playlist(s) to file(s)
music:playlist-import import user playlist(s) from file(s).
occ music:scan functions help
Description:
scan and index any unindexed or dirty audio files
Usage:
music:scan [options] [--] [...]
Arguments:
user_id specify one or more targeted users
Options:
--all target all known users
--group=GROUP specify a targeted group to include all users of that group (multiple values allowed)
--debug will run the scan in debug mode, showing memory and time consumption
--clean-obsolete also remove any obsolete file references from the library
--rescan rescan also any previously scanned tracks
--skip-dirty do not rescan the files marked "dirty" or having timestamp after the latest scan time
--skip-art do not search for album and artist cover art images
--folder[=FOLDER] scan only files within this folder (path is relative to the user home folder)
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--no-warnings Skip global warnings, show command output only
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
