[mythtv] MHEG BBC iPlayer

Lawrence Rust lvr at softsystem.co.uk
Mon Sep 26 09:54:45 UTC 2011


On Sun, 2011-09-25 at 20:17 +0100, David Knight wrote:
> On Sat, September 24, 2011 6:10 pm, Lawrence Rust wrote:
> [snip]
> > 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
> >
> >
> 
> Hi Lawrence, Maybe it has something to do with how I build mythtv? - I
> currently use the build_myth.sh script to build RPM packages which I then
> install...

OK, I understand your problem.  The build_myth.sh script uses an archive
created from the git repo.  This process will ignore uncommitted changes
so the simple solution is to execute:

git commit -am"Add mheg iplayer" 

after the patch is applied.  NB be sure to patch the repo used by the
script which by default is:
/.../mythpackaging/../mythtv/

-- 
Lawrence


More information about the mythtv-dev mailing list