Added remove playlist
This commit is contained in:
+3
-1
@@ -11,7 +11,7 @@ import {
|
||||
ListenerList,
|
||||
Playlists,
|
||||
PlaylistSongs,
|
||||
QueueSong,
|
||||
QueueSong, RemovePlaylist,
|
||||
RemoveSongFromPlaylist,
|
||||
ReorderSong,
|
||||
SearchSong,
|
||||
@@ -69,6 +69,8 @@ export default function parseMessage(message: string): StuenMessage | null {
|
||||
return new PlaylistSongs(data.playlist);
|
||||
case 'CreatePlaylist':
|
||||
return new CreatePlaylist(data.title);
|
||||
case 'RemovePlaylist':
|
||||
return new RemovePlaylist(data.title);
|
||||
case 'AddSongToPlaylist':
|
||||
return new AddSongToPlaylist(data.song, data.playlist);
|
||||
case 'RemoveSongFromPlaylist':
|
||||
|
||||
Reference in New Issue
Block a user