Ticket #6185 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
Can't delete not listed show in Mythweb
| Reported by: | mythtv@… | Owned by: | kormoc |
|---|---|---|---|
| Priority: | major | Milestone: | unknown |
| Component: | Plugin - MythWeb | Version: | 0.21 |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If i try change a show that is not listed to don't record i get an error
Fatal error: Call to a member function rec_override() on a non-object in /usr/share/mythtv/mythweb/modules/tv/upcoming.php on line 48
If i click on that show in upcoming recordings it returns to the programguide and i get a warning: Unkonwn Program
I'm using Debian linux mythweb version: 0.21.svn20080706-0.0
Attachments
Change History
comment:1 Changed 4 years ago by kormoc
- Owner changed from xris to kormoc
- Status changed from new to accepted
comment:3 Changed 4 years ago by kormoc
- Status changed from new to closed
- Resolution set to invalid
I'm not entirely sure what you're after here. If the show doesn't exist in your guide data, it shouldn't be in your upcoming recordings list after the scheduler next runs...
Changed 4 years ago by sphery <mtdean@…>
- Attachment mythweb-6185-handle_not_listed_recordings.patch added
Adds handling for Not Listed shows
comment:4 Changed 4 years ago by sphery <mtdean@…>
mythweb-6185-handle_not_listed_recordings.patch adds handling of NotListed? shows to the Upcoming Recordings page.
You can create a test NotListed? recording by creating any timeslot rule, then manually modifying the record.starttime, then running a mythbackend --resched.
Because the specified show does not actually exist, the normal link used for the recording title (to /tv/detail) does not work. Therefore, I put in a(n ugly) section that checks for NotListed? and makes the link send the user to the specific rule on the tv/schedules page.
I added "Not Listed" to the English.lang translation, but did not touch any other translations.
I hope this patch is more help than work. If nothing else, it's well tested and does what it should. :)
comment:5 Changed 4 years ago by kormoc
- Status changed from closed to new
- Resolution invalid deleted
