[mythtv-commits] Ticket #12781: 'OriginalAirdate' is incorrect following a 'RECORDING_LIST_CHANGE UPDATE' event
MythTV
noreply at mythtv.org
Tue May 24 20:17:06 UTC 2016
#12781: 'OriginalAirdate' is incorrect following a 'RECORDING_LIST_CHANGE UPDATE'
event
---------------------------------------------+-----------------------------
Reporter: andrew@… | Owner: bmeek
Type: Bug Report - General | Status:
| infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Services API - Backend | Version: Unspecified
Severity: medium | Resolution:
Keywords: airdate originalaridate event | Ticket locked: 0
---------------------------------------------+-----------------------------
Comment (by andrew@…):
Confirming the kodi client uses both the services API (port 6544) and the
mythv protocol (6543).
Explains why I couldn't find where the 'event' mechanism was. Sorry this
should have been tagged as mythprotocol not services API.
The kodi client is set up to read ProgramInfo fields from the internal
protocol when it receives an 'UPDATE' event.
(https://github.com/janbar/pvr.mythtv/blob/doityourself/lib/cppmyth/src/proto/mythprotoevent.cpp#L173
then
https://github.com/janbar/pvr.mythtv/blob/doityourself/lib/cppmyth/src/proto/mythprotobase.cpp#L1058)
I've not trapped the packets myself but based on what @fetzerch posted and
having reproduced the symptoms he reported myself (and fixed the problem
with @janbar's updated code), I strongly suspect the internal protocol is
reporting 'airdate' as 'date of airing' (or QDate()) rather than 'original
airdate' in the programinfo following an UPDATE event.
This is an internal protocol so maybe it is intended operation, but it
feels like a mistake to me.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12781#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list