Opened 20 months ago

Last modified 10 months ago

#12712 new Patch - Bug Fix

Python binding for class Recorded does not accept recordedid

Reported by: lomion@… Owned by: wagnerrp
Priority: minor Milestone: 0.28.2
Component: Bindings - Python Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no


For some reason class Recorded in requires the recordedid as key instead of [chanid,starttime] as it was in the past.

This patch allows to pass a single parameter instead of a tuble (chanid,starttime) as before.

In order to use this fix with user jobs I provide a second patch which adds recordedid to the Jobqueue parameters

Attachments (2)

12712_1.patch (584 bytes) - added by lomion@… 20 months ago.
12712_2.patch (592 bytes) - added by lomion@… 20 months ago.

Download all attachments as: .zip

Change History (5)

Changed 20 months ago by lomion@…

Changed 20 months ago by lomion@…

comment:1 Changed 19 months ago by lomion@…

To get the RECORDED ID into the user job I had to patch mythtv/libs/libmyth/programinfo.cpp line 5342:

void ProgramInfo::SubstituteMatches(QString &str) 
    str.replace(QString("%INETREF%"), inetref);  
    str.replace(QString("%PARTNUMBER%"), QString::number(partnumber));  
    str.replace(QString("%PARTTOTAL%"), QString::number(parttotal));  
+    str.replace(QString("%RECORDEDID%"), QString::number(recordedid));  
    static const char *time_str[] =  


comment:2 Changed 16 months ago by stuarta

  • Milestone changed from unknown to 0.28.1

comment:3 Changed 10 months ago by stuarta

  • Milestone changed from 0.28.1 to 0.28.2

Moving remaining open 0.28.1 tickets to 0.28.2

Add Comment

Modify Ticket

as new The owner will remain wagnerrp.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.