More FreeView NZ MHEG-5 Debugging
I’ve now patched my copy of the MythTV source to map the RED button key (F2) to code 300. This was a quick change in mhi.cpp for the purpose of debugging the stream. It appears that here in NZ code 300 is required to activate the MHEG-5 based EPG.
This new build meant that when I was on a channel with MHEG data and pressed F2 the message “Loading..” appears onscreen, but the EPG didn’t actually load. Running the Myth Frontend in “-v mheg” did produce some useful additional debug information once I pressed the EPG key, but at the moment I’m not entirely sure what is happening. For more details see this log file
What would be really useful at this point are two things.
- The ability to drop the entire MHEG data stream for analysis
- Being able to pull individual elements out of the MHEG data such as the image files etc. It appears that MythTV keeps all of these in a memory based cache rather than on disk.
I’ve looked at the rb-download tool but it doesn’t appear to understand the NZ streams.
Further poking around in the debug output indicates a couple of ASSERT messages I’ve previously missed
ASSERT: “false” in Programs.cpp (396)
ASSERT: “false” in Programs.cpp (405)
Now the first of this is the a request for “BSI” or SI_GetBasicSI. The second is “CCR” or CheckContentRef. These are all part of MHResidentProgram::CallProgram. It appears neither of these requests are currently implemented.