From 298197a07496a762c415d0a7c77e0307243504b8 Mon Sep 17 00:00:00 2001 From: RblSb Date: Mon, 2 Mar 2020 12:51:20 +0300 Subject: Playlist lock toggler --- src/Types.hx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Types.hx') diff --git a/src/Types.hx b/src/Types.hx index 49e93e4..50e38c3 100644 --- a/src/Types.hx +++ b/src/Types.hx @@ -64,6 +64,7 @@ typedef WsEvent = { isUnknownClient:Bool, clientName:String, videoList:Array, + isPlaylistOpen:Bool, itemPos:Int, globalIp:String }, @@ -125,6 +126,9 @@ typedef WsEvent = { }, ?updatePlaylist:{ videoList:Array + }, + ?togglePlaylistLock:{ + isOpen:Bool } } @@ -155,4 +159,5 @@ enum abstract WsEventType(String) { var ClearPlaylist; var ShufflePlaylist; var UpdatePlaylist; + var TogglePlaylistLock; } -- cgit v1.2.3