Playlist Manager¶
Imports¶
In Protobuf files:
import "melo/api/PlaylistManager.proto";
In C++ files:
#include <melo/api/PlaylistManager.pb.h>
Event¶
This message is used as payload for Playlist Manager Event messages.
Field |
Type |
Label |
Description |
|---|---|---|---|
added |
melo.api.playlist.Descriptor |
Playlist that has been added / updated
|
|
removed |
string |
Playlist that has been removed
|
Request¶
This message is used as payload for Playlist Manager Request messages.
Field |
Type |
Label |
Description |
|---|---|---|---|
list |
Request.List |
List playlists
|
Request.List¶
Message to list playlists
Response¶
This message is used as payload for Playlist Manager Response messages.
Field |
Type |
Label |
Description |
|---|---|---|---|
list |
Response.List |
List of playlists
|
|
remove |
string |
Remove a playlist by ID
|
Response.List¶
Message with list of playlists
Field |
Type |
Label |
Description |
|---|---|---|---|
playlists |
melo.api.playlist.Descriptor |
repeated |
List of playlists
|