diff options
| author | RblSb <msrblsb@gmail.com> | 2020-03-02 12:51:20 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-03-02 12:51:20 +0300 |
| commit | 298197a07496a762c415d0a7c77e0307243504b8 (patch) | |
| tree | 0f8d90e2b175fd72a13f394ab7e7257ef03943b2 /src/Types.hx | |
| parent | 8a277e9ca3a64d7b298b7c9333153f5512aa176d (diff) | |
Playlist lock toggler
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 5 |
1 files changed, 5 insertions, 0 deletions
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<VideoItem>, + isPlaylistOpen:Bool, itemPos:Int, globalIp:String }, @@ -125,6 +126,9 @@ typedef WsEvent = { }, ?updatePlaylist:{ videoList:Array<VideoItem> + }, + ?togglePlaylistLock:{ + isOpen:Bool } } @@ -155,4 +159,5 @@ enum abstract WsEventType(String) { var ClearPlaylist; var ShufflePlaylist; var UpdatePlaylist; + var TogglePlaylistLock; } |
