MUSIC FIND ALBUMART (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

MUSIC_FIND_ALBUMART

Arguments

Command arguments: none

List arguments: <hostname> <songid> <update_database>

Examples

Command:

47      MUSIC_FIND_ALBUMART[]:[]masterbe[]:[]1234[]:[]1

Successful response:

128     OK[]:[]2[]:[]11[]:[]1[]:[]front cover[]:[]1234-front.jpg[]:[]masterbe[]:[]12[]:[]2[]:[]back cover[]:[]1234-back.jpg[]:[]masterbe

Unsuccessful response:

22       ERROR: slave not found
22       ERROR: track not found

Description

This command finds a music tracks albumart either in the same directory as the track or embedded in the tracks tag. It can also optionally update the database with any new art found. The master backend will forward the command to a slave for processing if the track is on a slave.

Returns

OK followed by the number of images found then the data for each image or ERROR response.

The image data is in this format:- <imageid>[]:[]<image type>[]:[]embedded flag[]:[]description[]:[]filename[]:[]hostname

Changelog

version changeset description
80 [d0185093e]cgitgithub Initial version