[mythtv] MHEG BBC iPlayer

Duncan Brown mythtv at duncb.co.uk
Fri Jul 22 10:03:27 UTC 2011


On 21/07/2011 18:35, Lawrence Rust wrote:
> Hi,
>
> I've been working on the MHEG code to add support for "Interaction
> Channel" (ETSI ES 202 184 V2.2.1) which enables BBC iPlayer and other
> http based interactive content to be accessed directly from the "Red
> button",  For anyone interested in trying, I have a patch here:
>
> http://www.softsystem.co.uk/download/mythtv/iplayer.diff
>
> for the current MythTV 0.24.1.  The patch covers 4 main areas:
>
> 1. libfreemheg - includes the new ASN functions and http files&  streams
> 2. mhi - supports http files&  streams and additional input keys
> 3. MythPlayer - additional API to support mhi stream selection
> 4. RingBuffer - supports reading from a URI and a few bug fixes.
>
> After the patch is applied, rebuild and restart mythfrontend.  Wait for
> the red button prompt which should now show "BBC iPlayer" if all is
> well.
>
> The interaction channel can be disabled by setting:
> MYTHMHEG=noice
>
> Additionally, the http client can be made to use a proxy, for instance
> tor, by setting:
> MYTHMHEG_PROXY="socks://localhost:9050"
>
> Apologies for not providing a patch for git master, but my production
> backend (which has my only dvb-s feed) runs 0.24.1.  A patch for master
> is not too onerous.
>
> Comments, criticisms and suggestions most welcome.
>
Patches applied fine against current git, but then building bombs with 
the following:

mhi.cpp: In member function 'virtual bool MHIContext::BeginStream(const 
QString&, MHStream*)':
mhi.cpp:857: error: cast from 'MHStream*' to 'unsigned int' loses precision
mhi.cpp: In member function 'virtual void MHIContext::EndStream()':
mhi.cpp:898: error: cast from 'MHStream*' to 'unsigned int' loses precision
mhi.cpp: In member function 'bool MHIContext::StreamStarted(bool)':
mhi.cpp:911: error: cast from 'MHStream*' to 'unsigned int' loses precision
make[2]: *** [mhi.o] Error 1
make[2]: Leaving directory 
`/root/rpmbuild/BUILD/mythtv-0.24.1/mythtv-0.24/libs/libmythtv'
make[1]: *** [sub-libmythtv-make_default] Error 2
make[1]: Leaving directory 
`/root/rpmbuild/BUILD/mythtv-0.24.1/mythtv-0.24/libs'
make: *** [libs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.dWQN5M (%build)

I'm by no means an expert on building, and in all honesty don't know 
what I'm doing 100%, but there you go.

Looking forward to this very much though!

cheers

Dunc


More information about the mythtv-dev mailing list