update naming methods

This commit is contained in:
Luke Pulverenti
2014-11-16 17:46:01 -05:00
parent 5fdd7ec672
commit 049ef9b4ec
20 changed files with 83 additions and 108 deletions

View File

@@ -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)
{