MUSIC TAG GETIMAGE (Myth Protocol)

From MythTV Official Wiki
Revision as of 11:30, 19 March 2014 by Paulh (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MUSIC_TAG_GETIMAGE

Arguments

Command arguments: none

List arguments: <hostname> <songid> <imagetype>

Examples

Command:

46      MUSIC_TAG_GETIMAGE[]:[]masterbe[]:[]1234[]:[]1

Successful response:

2       OK

Unsuccessful response:

22       ERROR: slave not found


Description

This command will extract an image from a music tracks tag and save it to the 'AlbumArt' storage group. The command will run mythutil --extractimage to extract the image and will return immediately. mythutil will send a MUSIC_METADATA_CHANGED <songid> event 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 [e6c8a78685]cgitgithub Initial version