1 Commits

Author SHA1 Message Date
Thomas Viesmose Birch
1f69d0e867 Added OthersPlaylists to the parseMessages 2024-05-04 16:19:16 +02:00

View File

@@ -73,7 +73,7 @@ export default function parseMessage(message: string): StuenMessage | null {
case 'GetOtherPlaylists': case 'GetOtherPlaylists':
return new GetOtherPlaylists(); return new GetOtherPlaylists();
case 'OthersPlaylists': case 'OthersPlaylists':
return new OthersPlaylists(data.playlist); return new OthersPlaylists(data.playlists);
case 'ToggleTag': case 'ToggleTag':
return new ToggleTag(data.song, data.tag); return new ToggleTag(data.song, data.tag);
case 'Shuffle': case 'Shuffle':