Opened 23 months ago

Closed 4 weeks ago

#12712 closed Patch - Bug Fix (Won't 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@… 23 months ago.
12712_2.patch (592 bytes) - added by lomion@… 23 months ago.

Download all attachments as: .zip

Change History (6)

Changed 23 months ago by lomion@…

Changed 23 months ago by lomion@…

comment:1 Changed 22 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 19 months ago by stuarta

  • Milestone changed from unknown to 0.28.1

comment:3 Changed 13 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

comment:4 Changed 4 weeks ago by stuarta

  • Resolution set to Won't Fix
  • Status changed from new to closed

Closing any remaining tickets for 0.28, if the issue persists, feel free to reopen and align to v29 or master

Add Comment

Modify Ticket

as closed The owner will remain wagnerrp.
The resolution will be deleted. Next status will be 'new'.

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

Note: See TracTickets for help on using tickets.