update translations

This commit is contained in:
Luke Pulverenti 2016-08-25 13:48:16 -04:00
parent 93a05271c2
commit 2b61894e3c
2 changed files with 6 additions and 3 deletions

View File

@ -137,7 +137,8 @@ namespace MediaBrowser.Controller.Entities.TV
{
get
{
return SeriesId.HasValue ? (LibraryManager.GetItemById(SeriesId.Value) as Series) : null;
var seriesId = SeriesId ?? FindSeriesId();
return seriesId.HasValue ? (LibraryManager.GetItemById(seriesId.Value) as Series) : null;
}
}
@ -146,7 +147,8 @@ namespace MediaBrowser.Controller.Entities.TV
{
get
{
return SeasonId.HasValue ? (LibraryManager.GetItemById(SeasonId.Value) as Season) : null;
var seasonId = SeasonId ?? FindSeasonId();
return seasonId.HasValue ? (LibraryManager.GetItemById(seasonId.Value) as Season) : null;
}
}

View File

@ -101,7 +101,8 @@ namespace MediaBrowser.Controller.Entities.TV
{
get
{
return SeriesId.HasValue ? (LibraryManager.GetItemById(SeriesId.Value) as Series) : null;
var seriesId = SeriesId ?? FindSeriesId();
return seriesId.HasValue ? (LibraryManager.GetItemById(seriesId.Value) as Series) : null;
}
}