MUSIC TAG UPDATE VOLATILE (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

MUSIC_TAG_UPDATE_VOLATILE

Arguments

Command arguments: none

List arguments: <hostname> <songid> <rating> <playcount> <lastplayed>

Examples

Command:

94      MUSIC_TAG_UPDATE_VOLATILE[]:[]masterbe[]:[]1234[]:[]7[]:[]25[]:[]2014-03-19T13:15:30Z

Successful response:

2       OK

Unsuccessful response:

22       ERROR: slave not found


Description

This command will update the rating, last played time and play count in a music tracks tag. The command will run mythutil --updatemeta to do the update and will return immediately. mythutil will send a MUSIC_METADATA_CHANGED <songid> on success to let all clients know the metadata for the indicated track has changed. The master backend will forward the command to a slave for processing if the track is on a slave.

Returns

An OK or ERROR response.

Changelog

version changeset description
80 [2f1a5350be] Initial version