[mythtv] Question for frontend experts: implementing a CAM menu, where do I need to hook things up?
mythtv at bohmer.net
Mon Nov 5 21:39:00 UTC 2007
I am looking how I can implement a real CAM-menu inside mythtv.
The reason behind this is that the current implementation only writes
to the log-file, and makes some assumptions on the choices to be made.
Also the CAM provides very useful messages towards the user, like "no
card inserted", or "no access". On a no-access error the player now
starts to behave very annoying and displays a no-video-stream error,
and even assumes that tuning has succeeded, and when we go back into
the viewer it restarts tuning into this wrong 'last known good
channel'. This loop is that annoying that my wife gets stuck on it,
and eventually reboots the system... (with a lot of complaining ;-)
So, I want to implement this nicely. I understand the lowlevel-part of
the code, but I am looking for mechanisms inside myth that I can use.
So, My questions are:
* The CAM-messages are logged by the backend through libmythtv.so. Is
there a mechanism to pass these messages/questions towards the
frontend, so that the user can respond to them?
* Is there a mechanism I can use to interrupt this tuning process in
the frontend to show the CAM-messages and handle user interaction?
If no standard mechanisms are available, I still hope that one of the
experts on the frontend can point me to the right places where I can
hook things up the best. (I use SVN-revision 14763)
More information about the mythtv-dev