Added new messages for returning users with playlists.
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
ListenerList,
|
||||
Playlists,
|
||||
PlaylistSongs,
|
||||
GetListenersWithPlaylists,
|
||||
QueueSong, RemoveFromAutoPlay, RemovePlaylist,
|
||||
RemoveSongFromPlaylist,
|
||||
ReorderSong,
|
||||
@@ -75,6 +76,8 @@ export default function parseMessage(message: string): StuenMessage | null {
|
||||
return new AddSongToPlaylist(data.song, data.playlist);
|
||||
case 'RemoveSongFromPlaylist':
|
||||
return new RemoveSongFromPlaylist(data.song, data.playlist);
|
||||
case 'GetListenersWithPlaylists':
|
||||
return new GetListenersWithPlaylists();
|
||||
case 'ToggleTag':
|
||||
return new ToggleTag(data.song, data.tag);
|
||||
case 'Shuffle':
|
||||
|
||||
Reference in New Issue
Block a user