Opened 12 years ago

Closed 12 years ago

#6675 closed patch (fixed)

Fix Perl bindings after changes to ProgramInfo

Reported by: sphery <mtdean@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


In [18419], the ProgramInfo? class was changed to add the production year to the info sent in the protocol. The bindings were updated to read that information in, but the to_string() sub was never updated, so programs that use the bindings to send program info to the backend will fail. The attached patch updates to_string() to include the additional field. Thanks to Raymond Wagner for finding the bug.

The patch also modifies the warning comment in libs/libmythtv/programinfo.h as mythplugins/mythweb/includes/mythbackend.php and mythplugins/mythweb/objects/MythTV.php no longer exist (instead, mythplugins/mythweb/classes/MythTV.php and mythplugins/mythweb/modules/tv/classes/Program.php should be updated).

Attachments (1)

mythtv-6675-forgotten_programinfo_update.patch (1.7 KB) - added by sphery <mtdean@…> 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by sphery <mtdean@…>

comment:1 Changed 12 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [20795]) [18419] missed a change to the perl bindings, this adds that check and updates the comments in programinfo.h to include the files it was missing. Patch by Sphery, closes #6675

Note: See TracTickets for help on using tickets.