#606 - Add manual image selection for Seasons
This commit is contained in:
parent
d187b3b7dd
commit
df65ee2e49
|
@ -225,8 +225,12 @@ namespace MediaBrowser.Providers.Movies
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
reader.Skip();
|
{
|
||||||
break;
|
using (reader.ReadSubtree())
|
||||||
|
{
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ namespace MediaBrowser.Providers.TV
|
||||||
{
|
{
|
||||||
var list = new List<RemoteImageInfo>();
|
var list = new List<RemoteImageInfo>();
|
||||||
|
|
||||||
var series = ((Season) item).Series;
|
var series = ((Season)item).Series;
|
||||||
|
|
||||||
if (series != null)
|
if (series != null)
|
||||||
{
|
{
|
||||||
|
@ -175,8 +175,12 @@ namespace MediaBrowser.Providers.TV
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
reader.Skip();
|
{
|
||||||
break;
|
using (reader.ReadSubtree())
|
||||||
|
{
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,8 +206,8 @@ namespace MediaBrowser.Providers.TV
|
||||||
|
|
||||||
int imageSeasonNumber;
|
int imageSeasonNumber;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(url) &&
|
if (!string.IsNullOrEmpty(url) &&
|
||||||
!string.IsNullOrEmpty(season) &&
|
!string.IsNullOrEmpty(season) &&
|
||||||
int.TryParse(season, NumberStyles.Any, _usCulture, out imageSeasonNumber) &&
|
int.TryParse(season, NumberStyles.Any, _usCulture, out imageSeasonNumber) &&
|
||||||
seasonNumber == imageSeasonNumber)
|
seasonNumber == imageSeasonNumber)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user