fix support for episodes in a series folder

This commit is contained in:
Luke Pulverenti 2014-01-24 21:28:35 -05:00
parent 41fae899b0
commit 51954a283f

View File

@ -35,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
}
// If the parent is a Season or Series, then this is an Episode if the VideoResolver returns something
if (season != null || parent.Parents.OfType<Series>().Any())
if (season != null || parent is Series || parent.Parents.OfType<Series>().Any())
{
Episode episode = null;