mirror of https://github.com/jellyfin/jellyfin.git
update components
This commit is contained in:
parent
f1ad56a7de
commit
caed649d7a
|
@ -42,11 +42,21 @@ namespace MediaBrowser.Providers.Movies
|
||||||
|
|
||||||
public bool Supports(IHasImages item)
|
public bool Supports(IHasImages item)
|
||||||
{
|
{
|
||||||
var channelItem = item as ChannelVideoItem;
|
var channelItem = item as IChannelMediaItem;
|
||||||
|
|
||||||
if (channelItem != null && channelItem.ContentType == ChannelMediaContentType.MovieExtra && channelItem.ExtraType == ExtraType.Trailer)
|
if (channelItem != null)
|
||||||
{
|
{
|
||||||
return true;
|
if (channelItem.ContentType == ChannelMediaContentType.Movie)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (channelItem.ContentType == ChannelMediaContentType.MovieExtra)
|
||||||
|
{
|
||||||
|
if (channelItem.ExtraType == ExtraType.Trailer)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Supports images for tv movies
|
// Supports images for tv movies
|
||||||
|
@ -56,7 +66,6 @@ namespace MediaBrowser.Providers.Movies
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't support local trailers
|
|
||||||
return item is Movie || item is MusicVideo;
|
return item is Movie || item is MusicVideo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
//[assembly: AssemblyVersion("3.0.*")]
|
[assembly: AssemblyVersion("3.0.*")]
|
||||||
[assembly: AssemblyVersion("3.0.5675.1")]
|
//[assembly: AssemblyVersion("3.0.5675.1")]
|
||||||
|
|
Loading…
Reference in New Issue