opdenkamp/xbmc — pull request #543 by mikrohard (2012-06-12 08:28:42+00:00)
Title: EpgContainer: Fix next ID size when loading from db and remove old/unused epg channels

When loading epg from db the m_iNextEpgId is not being incremented which results in any newly added channels not being mapped with epg tags when there is an existing epg entry with the same id. Additionally any old channels which have been already removed in the pvr manager are not removed from the epg database.

This commit fixes both problems.