[API] an endpoint to sync a playlist
Hello,
Currently, I use the API to, in order:
- empty a folder linked to a playlist
- add mp3 in this folder
The problem is that the playlist refresh is done every 5 minutes and if the playlist is playing, the system sometimes thinks it is empty (before the new sync).
Is it possible to add a simple route to refresh a folder linked to a playlist via the playlist ID, please?
/station/{station_id}/playlist/{id}/sync
Comments: 2
-
14 Dec, '21
RoyCool! I'm very curious which script your using.
Could you please share it?
Kind Regards,
Roy -
17 Jan
Buster Neece AdminAs of newer versions of AzuraCast, if you assign a playlist to a folder (or clear the playlists associated with a folder) it will apply to the items inside the folder immediately instead of waiting for the 5-minute sync task.