mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-26 17:40:30 +01:00
handle year in name when searching
This commit is contained in:
@@ -572,11 +572,6 @@ namespace MediaBrowser.Providers.Manager
|
||||
{
|
||||
var type = item.GetType().Name;
|
||||
|
||||
if (item is Trailer)
|
||||
{
|
||||
type = typeof(Movie).Name;
|
||||
}
|
||||
|
||||
return ConfigurationManager.Configuration.MetadataOptions
|
||||
.FirstOrDefault(i => string.Equals(i.ItemType, type, StringComparison.OrdinalIgnoreCase)) ??
|
||||
new MetadataOptions();
|
||||
|
||||
Reference in New Issue
Block a user