opdenkamp/xbmc-pvr-addons — pull request #123 by john-tornblom (2012-12-23 16:01:12+00:00)
Title: Transcoding support for tvheadend

This PR adds support for transcoding of streams when using my branch of tvheadend that supports transcoding: https://github.com/john-tornblom/tvheadend

There are a few things missing but I would like to get some feedback on the approach I've taken.

The feature makes use of menu hooks in order to configure the subscription requests. You can enable/disable transcoding, select audio/video codecs and choose a resolution. If the server doesn't support transcoding, the menu hook won't be added. Also, the codecs you can choose from is sent from the server so only valid ones will appear.

The problems right now is that I don't really know how to store the settings to settings.xml after the menu hook has been executed. Any ideas on how to do that?