[mythtv-commits] Ticket #10734: Dynamic Variable Evaluation for Power Search (Extension)

MythTV noreply at mythtv.org
Fri May 18 05:40:21 UTC 2012


#10734: Dynamic Variable Evaluation for Power Search (Extension)
------------------------------+--------------------------------
 Reporter:  mmm1976@…         |          Owner:
     Type:  Patch - Feature   |         Status:  infoneeded_new
 Priority:  minor             |      Milestone:  unknown
Component:  MythTV - General  |        Version:  0.25
 Severity:  medium            |     Resolution:
 Keywords:                    |  Ticket locked:  0
------------------------------+--------------------------------

Comment (by mmm1976@…):

 What I also wanted to mention: The customedit dialog already had samples
 which were filled with the data from the program guide. Like my example
 above with {DAYNAME}. But it was hardcoded in the source that {DAYNAME} is
 only filled in this single example "Anytime on a specific day of the
 week". I changed the sample from:
 {{{
 rule.description = QString("DAYNAME(program.starttime) = '%1'
 ").arg(m_pginfo->GetScheduledStartTime().toString("dddd"));
 }}}
 to
 {{{
 rule.description = QString("DAYNAME(program.starttime) = '{DAYNAME}' ");
 }}}

 I think that makes sense because the code becomes more consistent.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10734#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list