It doesn't look like you can extend a recording with 0.18 (at least, not that I can see in the UI. perhaps there is an API for this?). But you don't need to extend the recording per se, you just need to start a new one, right? I'll look at the code to see what updating the database while a recording is happening would do.
psuedo code for a baseball game: 27,57 * * * * /usr/bin/perl /home/mythtv/check-for-extended-sports-broadcast.pl if (currently_recording_sports()) teams = determine_teams() score = get_current_score_from_espn.com(teams) inning = get_current_inning_from_espn.com(teams) if (inning<>'F' || inning<9 || is_tied(score) && nothing_scheduled_for_next_timeslot()) schedule_new_program() /* or extend_current_recording(), if possible */ } } I guess football would be harder, but if nothing_scheduled_for_next_timeslot() returns true, you could err on the side of recording. -neil On 10/13/05, Kevin Kuphal <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > > > On 10/13/05, *Neil Cronin* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Is anyone open to helping out with the espn.com <http://espn.com> > > scraping idea? Or am > > I on my own? > > > > It doesn't seem too hard to do, but hard to test and potentially > > pretty fragile. > > > > > > Can MythTV even be told to "extend a recording" once it has started? > > I know there's a protocol that you can use to talk to the backend over > > a TCP socket... but does MythTV itself support changing the end time > > or duration of a recording in progress? > > The SVN version of MythTV (destined to be 0.19) can do this from the > frontend. > > Kevin > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
