xbmc/xbmc — pull request #634 by pieh (2012-01-17 16:07:42+00:00)
Title: fix showing empty listing after refreshing metadata of all tvshow episodes in seasons node

Issue:
Going to season node of any tvshow - we are in "videodb://2/2/x/" (x = tvshow id). Popping up Video Info Dialog (via 'i' key or context menu -> tv show information). Refresh all episodes will simply delete tvshow from library and add new one with refreshed metadata. This means that our tvshow have changed its path (because id of tvshow is different) and when we update listing after going out of Video Info Dialog we are presented with empty listing (our initial path "videodb://2/2/x/" is now empty).

This add special check for this situation and use updated path using new tvshow id if needed.
Better/cleaner ideas are most welcome.