[mythtv-commits] Ticket #12712: Python binding for class Recorded does not accept recordedid
MythTV
noreply at mythtv.org
Tue Apr 26 06:06:34 UTC 2016
#12712: Python binding for class Recorded does not accept recordedid
-------------------------------+--------------------------
Reporter: lomion@… | Owner: wagnerrp
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------+--------------------------
Comment (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));
str.replace(QString("%ORIGINALAIRDATE%"),
originalAirDate.toString(Qt::ISODate));
static const char *time_str[] =
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12712#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list