mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-03 21:02:52 +01:00
fix SA1513/SA1516
This commit is contained in:
@@ -44,10 +44,12 @@ namespace Emby.Dlna.PlayTo
|
||||
{
|
||||
return MediaBrowser.Model.Entities.MediaType.Audio;
|
||||
}
|
||||
|
||||
if (classType.IndexOf(MediaBrowser.Model.Entities.MediaType.Video, StringComparison.Ordinal) != -1)
|
||||
{
|
||||
return MediaBrowser.Model.Entities.MediaType.Video;
|
||||
}
|
||||
|
||||
if (classType.IndexOf("image", StringComparison.Ordinal) != -1)
|
||||
{
|
||||
return MediaBrowser.Model.Entities.MediaType.Photo;
|
||||
|
||||
Reference in New Issue
Block a user