fix sync layout

pull/702/head
Luke Pulverenti 9 years ago
parent 5f71a615c4
commit fd53e18ee9

@ -199,10 +199,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
// int.TryParse is local aware, so it can be probamatic, force us culture // int.TryParse is local aware, so it can be probamatic, force us culture
if (int.TryParse(val, NumberStyles.Integer, UsCulture, out rval)) if (int.TryParse(val, NumberStyles.Integer, UsCulture, out rval))
{ {
if ((item.ParentIndexNumber ?? 0) == 0) item.AirsBeforeSeasonNumber = rval;
{
item.AirsBeforeSeasonNumber = rval;
}
} }
} }
@ -220,10 +217,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
// int.TryParse is local aware, so it can be probamatic, force us culture // int.TryParse is local aware, so it can be probamatic, force us culture
if (int.TryParse(val, NumberStyles.Integer, UsCulture, out rval)) if (int.TryParse(val, NumberStyles.Integer, UsCulture, out rval))
{ {
if ((item.ParentIndexNumber ?? 0) == 0) item.AirsBeforeEpisodeNumber = rval;
{
item.AirsBeforeEpisodeNumber = rval;
}
} }
} }

Loading…
Cancel
Save