SCAN MUSIC (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

SCAN_MUSIC

Arguments

Command arguments: none

List arguments: none

Examples

Command:

10      SCAN_MUSIC

Successful response:

2       OK

Unsuccessful response:

5       ERROR

Description

Triggers a rescan of the Music directory for MythMusic content. The command returns immediately, and the scan is performed asynchronously in the background by running mythutil --scanmusic on each host with a music directory. Each host will send a MUSIC_SCANNER_STARTED <host> event when the scan starts and a MUSIC_SCANNER_FINISHED <host> <total tracks> <new tracks> <total coverart> <new coverart> event when finished.

Changelog

version commit description
80 [8aefe1bcf]cgitgithub initial version