Fix some warnings

This commit is contained in:
Bond_009
2020-04-11 12:03:10 +02:00
parent 29539174a3
commit 49fe5e0a21
15 changed files with 233 additions and 210 deletions

View File

@@ -20,6 +20,8 @@ namespace Emby.Server.Implementations.Channels
_channelManager = channelManager;
}
public string Name => "Channel Image Provider";
public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
{
return GetChannel(item).GetSupportedChannelImages();
@@ -32,8 +34,6 @@ namespace Emby.Server.Implementations.Channels
return channel.GetChannelImage(type, cancellationToken);
}
public string Name => "Channel Image Provider";
public bool Supports(BaseItem item)
{
return item is Channel;