xbmc/xbmc — pull request #5761 by Jalle19 (2014-11-19 10:38:26+00:00)
Title: [pvr] Fix recording history (alternative to #5742)

I had to revert the previous attempt to fix this since it broke other parts of the code that in one way or another relied on the view state. This new attempt fixes the original problem in a more isolated (albeit uglier) way by storing the directory we're about to enter (in `Update()`) in the view state. This directory is then checked by the view state in `HideParentDirItems()`.

@xhaggi @opdenkamp @topfs2 is this okay with you? I'll test this "in production" later today to ensure there are no unexpected side effects.