MUSIC TAG ADDIMAGE (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

MUSIC_TAG_ADDIMAGE

Arguments

Command arguments: none

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

Examples

Command:

59       MUSIC_TAG_ADDIMAGE[]:[]masterbe[]:[]1234[]:[]front.jpg[]:[]1

Successful response:

2       OK

Unsuccessful response:

22       ERROR: slave not found
22       ERROR: track not found
23       ERROR: tagger not found
43       ERROR: embedded images not supported by tag
32       ERROR: failed to find image file
39       ERROR: failed to write album art to tag

Description

This command will add/update an image in a music tracks tag. The image must first be copied to the 'AlbumArt' directory in the 'MusicArt' storage group or into the same directory as the track. 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] Initial version