Media

Imports

In Protobuf files:

import "melo/api/Media.proto";

In C++ files:

#include <melo/api/Media.pb.h>

Media

This message is used as payload of Media message.

Field

Type

Label

Description

name

string

Display name (if no title)

title

string

Title of the media (replace name)

artist

string

Artist of the media

album

string

Album from which media is coming

cover

string

Image used for the media.

A cover should start with one of those prefixes:
- “icon:” to provide a unique identifier of an icon available on https://iconify.design/
- “asset:” to provide a path to an asset (It must be gathered with the dedicated method)

duration

uint32

Duration of the media

track

uint32

Track on the album

tracks

uint32

Count of track on the album