diff --git a/Jellyfin.Plugin.SmartPlaylist/Store.cs b/Jellyfin.Plugin.SmartPlaylist/Store.cs index 5507e9b..2fdf84d 100644 --- a/Jellyfin.Plugin.SmartPlaylist/Store.cs +++ b/Jellyfin.Plugin.SmartPlaylist/Store.cs @@ -15,6 +15,9 @@ namespace Jellyfin.Plugin.SmartPlaylist { } private async Task LoadPlaylistAsync(string filename) { var r = File.ReadAllText(filename); + if (r.Equals("")) { + r = "{}"; + } var dto = new DeserializerBuilder().Build().Deserialize(r); if (dto == null) {