opdenkamp/xbmc — pull request #640 by RobertMe (2012-09-14 15:14:54+00:00)
Title: Add propper Live TV support to the Player JSON API

Does what the title says :)

With this in you can remove PVR.ChannelUp and PVR.ChannelDown as the same can now be done with Player.GoNext (/GoPrevious). GoTo uses the "position" param as channel number (within the current group). I've added a "islive" property to the player. GetItem now returns (some) details about the channel (probably will be expanded later on).

I've also added a PVR.OnCurrentEpgItemChanged notification. This can't be used yet as there is no way to request data back (work in progress). But we've already discussed that epgid + starttime should be the events identifier so that doesn't change.

Another thing I'm unsure off is changing the AnnouncementFlag (IAnnouncer.h) to being two bytes big. But I think you also don't know if there are any consequences to it.