Opened 10 years ago
Closed 3 years ago
#12345 closed Bug Report - General (Trac EOL)
Recording Profile Group mappings are broken
Reported by: | stuartm | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 29.2 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
It look as though at some point, when doing a schema rollup a mistake was made with the ProfileGroup? IDs. For reasons we don't need to get into IDs 9,10 & 11 were skipped when numbering the groups. However when the rollup was performed they were written sequentially so that groups ID > 8 and < 15 were misnumbered.
In databases newer than 2008, the following groups:
FreeboxGroup = 12, HDHomeRunGroup = 13, CRCIGroup = 14, ASIGroup = 15, OCURGroup = 16, CetonGroup = 17
are instead numbered as follows in the database:
| 10 | Freebox Input | | 11 | HDHomeRun Recorders | | 12 | CRC IP Recorders | | 13 | HD-PVR Recorders | | 14 | Import Recorder | | 15 | ASI Recorder (DVEO) | | 16 | OCUR Recorder (CableLabs) | | 17 | Ceton Recorder |
As becomes obvious from the above, some profile groups were also invented which have no corresponding place in the enum in recordingprofile.h.
Fixing this is going to be painful. Users from pre Dec 2008 will have a different values and recording profile mappings to those post Dec 2008.
There is an opportunity here however to rip out this code for good. For starters, we should never have been storing translatable strings in the database (profilegroups). The current recordingprofile code is very slow and is invoked repeatedly during livetv channel changes. The whole thing is both extremely hard to maintain and managing profiles doesn't offer a very good UX for the end-user.
Change History (6)
comment:1 Changed 9 years ago by
Milestone: | 0.28 → 0.29 |
---|
comment:3 Changed 7 years ago by
Milestone: | 29.0 → 29.1 |
---|
comment:4 Changed 7 years ago by
Milestone: | 29.1 → 0.28.2 |
---|
Moving remaining open tickets to 0.28.2 milestone
comment:5 Changed 7 years ago by
Milestone: | 0.28.2 → 29.2 |
---|
Moving remaining open tickets to 29.2 milestone
Moving to 0.29