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

MythTV noreply at mythtv.org
Thu May 17 21:07:02 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@…):

 First: Yes, I have tried this. But it doesn't work for my show, because
 sometimes there are 2 occurences of the show within 24h (e.g. the first
 starts at 7PM, the second on 6.55PM on the next day). I tried everything
 (and hat loooong chats about the scheduler with sphery in the chat). The
 only thing I wanted was a timeslot recording rule which is tolerant for
 time-shifts. Of course it's just an example and it can be used for much
 more.

 Second: I don't see how this could do the same. The variables are filled
 with the information of the selected show in the program guide. The sense
 behind is that e.g. something like {STARTTIME} is dynamically evaluated to
 36000 if the show which was selected in the EPG starts at 10AM. (How can I
 access data from scheduled programs, I haven't scheduled yet?)

 Third: Not the SQL clause is the same, the expression is the same.
 {STARTTIME} depends on the show you selected and is a variable which is
 then evaluated. No way you could do a static filter for it.

 You store custom-edit examples with variables like {TITLE} or {STARTTIME}
 and these variables are replaced by real data coming from the program
 guide before the rule is stored in the recodings table. There was no
 mechanism in mythtv which would have allowed something like this.

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


More information about the mythtv-commits mailing list