mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 16:58:50 +01:00
update naming methods
This commit is contained in:
@@ -255,10 +255,9 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
|
||||
if (!ProductionYear.HasValue)
|
||||
{
|
||||
int? yearInName = null;
|
||||
string name;
|
||||
var info = LibraryManager.ParseName(Name);
|
||||
|
||||
NameParser.ParseName(Name, out name, out yearInName);
|
||||
var yearInName = info.Year;
|
||||
|
||||
if (yearInName.HasValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user