Fix BaseItemKind conversion for PlaylistsFolder

Return the correct ClientTypeName to allow Enum Parse
Added dynamic unit tests to ensure all BaseItem concrete descend
This commit is contained in:
Luca Benini
2021-02-13 15:28:37 +01:00
parent 75ec8b0c8c
commit c4d142eda1
5 changed files with 124 additions and 1 deletions

View File

@@ -49,5 +49,10 @@ namespace Emby.Server.Implementations.Playlists
query.Parent = null;
return LibraryManager.GetItemsResult(query);
}
public override string GetClientTypeName()
{
return "ManualPlaylistsFolder";
}
}
}