mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
3.2.24.1
This commit is contained in:
@@ -57,6 +57,22 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
get
|
||||
{
|
||||
var extraType = ExtraType;
|
||||
if (extraType.HasValue)
|
||||
{
|
||||
if (extraType.Value == Model.Entities.ExtraType.Sample)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (extraType.Value == Model.Entities.ExtraType.ThemeVideo)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (extraType.Value == Model.Entities.ExtraType.Trailer)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user