mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-07 20:18:49 +00:00
Changed functionality for adding playlists
dquote> - Sending event for addPlaylist, and sending the whole list instead of one-by one
This commit is contained in:
@@ -35,6 +35,19 @@
|
||||
pass: Base64(channel_pass)
|
||||
}
|
||||
|
||||
'addPlaylist', {
|
||||
channel: CHANNEL_NAME,
|
||||
userpass: Base64(CHANNEL_PASSWORD),
|
||||
adminpass: Base64(PASSWORD),
|
||||
songs: [
|
||||
{
|
||||
id: song_id,
|
||||
title: song_title,
|
||||
duration: song_duration
|
||||
}, ... { ... }
|
||||
]
|
||||
}
|
||||
|
||||
// Imports songs from another zoff-channel
|
||||
'import_zoff', {
|
||||
channel: CHANNELNAME,
|
||||
|
||||
Reference in New Issue
Block a user