protocol.GetTracksContentResponse
This response acts as an acknowledgment to its corresponding request and contains a collection of relative file paths (including file name, indicating relative location of the file within Muse server folder organisation) and the base64 encoded contents of that file. This data is sufficient to create unique local copies of any audio file managed by Muse.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
items | no | 1 | list | a list of track ids |
col | no | 1 | list | a list of track filenames with content data |
path | no | 1 | string | the relative filepath of a file |
size | no | 1 | string | the size of a file, in bytes |
data | no | 1 | string | a file contents, Base64 encoded |
Example xml:
<siresp> <cid>10.5.0.23:2042</cid> <fn> <getTracksContent> <items> <trid>12121212121</trid> <trid>23232323232</trid> </items> <col> <tc> <path>Flight Over Rio.mp3</path> <size>12345</size> <data>SomeBase64EncodedData</data> </tc> <tc> <path>Flight Over Rio.mp3</path> <size>12345</size> <data>SomeBase64EncodedData</data> </tc> </col> </getTracksContent> </fn> </siresp>