xbmc/xbmc — pull request #4185 by Montellese (2014-02-10 22:25:14+00:00)
Title: videolibrary: fix crash when entering an empty tvshow

This fixes a crash in the videolibrary when entering a tvshow with no seasons/episodes and with "Show parent folder item" disabled which results in an empty list and an out of bounds array access on line 293. Thanks to @kib for reporting it.