[mythtv] MHEG BBC iPlayer

Lawrence Rust lvr at softsystem.co.uk
Sat Sep 24 17:10:28 UTC 2011


On Sat, 2011-09-24 at 14:42 +0100, David Knight wrote:
[snip]
> Hi Lawrence, still no luck but I enabled logging as per your suggestion,
> relevant lines appear to be -
> 
> Unknown ResidentProgram GIS
> Unknown ResidentProgram SBI

This is worrying - the patch adds code to handle these 2 cases which are
essential to 'Interaction Channel'.

> SetSubtitleMode ResidentProgram is not implemented

This also should be handled by the patch, but isn't essential to
operation.

> 2011-09-24 12:59:38.511 Adding MHEG key MENURED:100:1
> Unknown ResidentProgram SBI
> SetSubtitleMode ResidentProgram is not implemented
> 2011-09-24 12:59:48.072 TV: Attempting to change from WatchingLiveTV to None

It looks like the patch didn't apply correctly.  The patch should be
applied to current, clean git fixes/0.24.  Also, make sure that you have
the latest patch, last updated on 6th September, which is applicable to
today's git fixes/0.24 (v0.24.1-85-ge16613a).

Try this:
# skip this if you already have a good/clean myth repo
git clone git://github.com/MythTV/mythtv.git

wget http://www.softsystem.co.uk/download/mythtv/iplayer.diff
cd mythtv
git checkout fixes/0.24
git clean -fxd .
git pull
patch -p1 < ../iplayer.diff

The patch should apply cleanly with no errors or warnings.  If the patch
still fails then your repo may be corrupt.

Then run ./configure, make and make install as normal.

If you want to try with git master (v0.25pre-3366-g1e2c9da) then use
this patch:
http://www.softsystem.co.uk/download/mythtv/iplayer-master.diff

After the patch is applied you must provide http connectivity from the
box to the BBC.  Without a connection the MHEG code can take 60 seconds
to timeout before displaying the old 'Red button' logo.  To disable the
interaction channel set this environment variable:
MYTHMHEG=noice

To use an http proxy set: MYTHMHEG_PROXY="http://192.168.0.1:8080"
or MYTHMHEG_PROXY="cache://192.168.0.1:8080" # for an http caching proxy
or MYTHMHEG_PROXY="socks://127.0.0.1" # for a socks proxy

-- 
Lawrence


More information about the mythtv-dev mailing list