Update details of a single playlist.
PUT
Body
application/json
namestringExample
Test Playlistdescriptionstring | nullExample
A playlist containing my favorite songstypePlaylistTypesdefaultonce_per_x_songsonce_per_x_minutesonce_per_hourcustomsourcePlaylistSourcessongsplaylistsremote_urlrequestsorderPlaylistOrdersrandomshufflesequentialremote_urlstring | nullExample
https://remote-url.example.com/stream.mp3remote_typePlaylistRemoteTypes | nullremote_bufferintegerThe total time (in seconds) that Liquidsoap should buffer remote URL streams.
Example
0is_enabledbooleanExample
trueis_jinglebooleanIf yes, do not send jingle metadata to AutoDJ or trigger web hooks.
Example
falseplay_per_songsintegerExample
5play_per_minutesintegerExample
120play_per_hour_minuteintegerExample
15weightintegerThe relative weight of the playlist. Larger numbers play more often than playlists with lower number weights.
Example
3include_in_requestsbooleanExample
trueinclude_in_on_demandbooleanWhether this playlist’s media is included in ‘on demand’ download/streaming if enabled.
Example
truebackend_optionsArray<string>Example
interrupt,loop_once,single_track,mergeavoid_duplicatesbooleanExample
truepreserve_queue_on_restartbooleanDon’t reset this playlist’s queue when the station is restarted or its configuration is rewritten.
Example
falseschedule_itemsArray<any>podcastsArray<any>playlistsArray<any>Parameters
station_idinteger | stringrequiredpathidinteger<int64>requiredpathPlaylist ID
Response
Success
Access denied.
Record not found.
A generic exception has occurred.
Authorization
ApiKeyapiKey in header