Fix playlist-related errors

This commit is contained in:
smoogipoo 2018-12-14 12:35:05 +09:00
parent 91f6b08479
commit 8e6a85058b
2 changed files with 6 additions and 0 deletions

View File

@ -244,6 +244,9 @@ protected override void LoadComplete()
private void updatePlaylist()
{
if (playlistBind.Count == 0)
return;
// For now, only the first playlist item is supported
var item = playlistBind.First();

View File

@ -240,6 +240,9 @@ private void updateRoom(Room newRoom)
private void updatePlaylist()
{
if (playlistBind.Count == 0)
return;
// For now, only the first playlist item is supported
var item = playlistBind.First();