xbmc/xbmc — pull request #1420 by RobertMe (2012-09-13 19:09:21+00:00)
Title: epg: fix a bug in the 'current event changed' checking

Fixes a bug where on channels without events (radio for example) it would always detect the events as having changed.

The fix makes sure there is a new current playing event, which was the bug. On radio channels there is no previous event, thus bGotPreviousTag was false, which was being inverted to true and the if would be true.

Copy from PVR work: https://github.com/opdenkamp/xbmc/pull/637