Opened 12 years ago

Closed 11 years ago

#4186 closed defect (fixed)

Mythweb upcoming recording Activate failure

Reported by: otto at kolsi dot fi Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: mythweb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

A recording is scheduled normally but later the EIT data changes and the starttime is changed to be 5min later. Now MythWeb Upcoming Recordings page shows that this show will not be recorded but offers the Activate button to record it anyway.

If Activate is pressed MythWeb produces Fatal Error (see attachment).

Attachments (1)

mythweb-upcoming-activate.htm (9.0 KB) - added by otto at kolsi dot fi 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by otto at kolsi dot fi

comment:1 Changed 12 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newaccepted

Hrm, Can one of the EIT guys weigh in on how this all works?

comment:2 Changed 12 years ago by danielk

The EIT updates the program table + the scheduler reschedules. It's the same as if mythfilldatabase had been run so it is not really EIT related except that it probably happens more often if you have EIT data collection enabled.

comment:3 Changed 12 years ago by otto at kolsi dot fi

This issue should be possible to reproduce with following steps:

  • schedule recording with "Record only this showing" -option
  • go to DB and manually modify starttime to be 5min later for that show
  • do "mythbackend --resched"
  • go to MythWeb's Upcoming Recordings -page
  • you should see that program as "Deactivated"
  • press the "Activate" (currently I get only blank page, not sure if I've disabled error pages or what..)

comment:4 Changed 12 years ago by Rob Smith

otto,

Myth stores recording info as chanid + starttime, so if the starttime changes, it won't match and won't record anymore. Perhaps the EIT scanner could be made to update recording schedules when it updates showings?

In anycase, I can't fix the lack of recording matches, but I'll fix the error page that happens.

comment:5 in reply to:  4 Changed 12 years ago by otto at kolsi dot fi

Replying to kormoc:

In anycase, I can't fix the lack of recording matches, but I'll fix the error page that happens.

Yeah, more controlled error page is fine (if it is not possible to disable/remove the Activate button when activation is not possible?).

comment:6 Changed 12 years ago by Rob Smith

Milestone: unknown0.22

comment:7 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: acceptedclosed

(In [17585]) Fixes #4186, this uses a standard error message rather then a fatal error when the schedule can not be found for a recording activation

Note: See TracTickets for help on using tickets.