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 Stuart Auchterlonie

Milestone: 0.280.29

Moving to 0.29

comment:2 Changed 9 years ago by Stuart Auchterlonie

Milestone: 0.2929.0

Milestone renamed

comment:3 Changed 7 years ago by Stuart Auchterlonie

Milestone: 29.029.1

comment:4 Changed 7 years ago by Stuart Auchterlonie

Milestone: 29.10.28.2

Moving remaining open tickets to 0.28.2 milestone

comment:5 Changed 7 years ago by Stuart Auchterlonie

Milestone: 0.28.229.2

Moving remaining open tickets to 29.2 milestone

comment:6 Changed 3 years ago by Stuart Auchterlonie

Resolution: Trac EOL
Status: newclosed

We have moved all bug tracking to github [1]

If you continue to have this issue, please open a new issue at github, referencing this ticket.

[1] - https://github.com/MythTV/mythtv/issues

Note: See TracTickets for help on using tickets.