moosync_edk::api::extension_api

Function add_playlist

Source
pub fn add_playlist(playlist: QueryablePlaylist) -> MoosyncResult<String>
Expand description

Adds a new playlist to the main app.

§Arguments

  • playlist - The playlist to be added.

§Returns

A string representing the ID of the added playlist.