xbmc/xbmc — pull request #4581 by FernetMenta (2014-04-19 15:09:12+00:00)
Title: pvr: fix duplicate EPG IDs if EPG is not stored in database

CEpgContainer::CreateChannelEpg creates IDs with CEpgContainer::NextEpgId(). If we load the EPG id from the channels db and EPG container does not have an entry for this id,
epg = GetById(channel->EpgID()) loads wrong epg