#606 - Add manual image selection for Seasons

This commit is contained in:
Luke Pulverenti 2013-11-01 16:34:26 -04:00
parent d187b3b7dd
commit df65ee2e49
2 changed files with 15 additions and 7 deletions

View File

@ -225,12 +225,16 @@ namespace MediaBrowser.Providers.Movies
break; break;
} }
default: default:
reader.Skip(); {
using (reader.ReadSubtree())
{
}
break; break;
} }
} }
} }
} }
}
private void PopulateImageCategory(List<RemoteImageInfo> list, XmlReader reader, CancellationToken cancellationToken, ImageType type, int width, int height) private void PopulateImageCategory(List<RemoteImageInfo> list, XmlReader reader, CancellationToken cancellationToken, ImageType type, int width, int height)
{ {

View File

@ -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,12 +175,16 @@ namespace MediaBrowser.Providers.TV
break; break;
} }
default: default:
reader.Skip(); {
using (reader.ReadSubtree())
{
}
break; break;
} }
} }
} }
} }
}
private void PopulateImageCategory(List<RemoteImageInfo> list, XmlReader reader, CancellationToken cancellationToken, ImageType type, int width, int height, int seasonNumber) private void PopulateImageCategory(List<RemoteImageInfo> list, XmlReader reader, CancellationToken cancellationToken, ImageType type, int width, int height, int seasonNumber)
{ {