Difference between revisions of "MythVodka"

From MythTV Official Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Outdated}}
 
Outdated: The BBC iPlayer MythStreams plug-in has been discontinued.
 
Outdated: The BBC iPlayer MythStreams plug-in has been discontinued.
 
----
 
----

Revision as of 06:15, 8 October 2008

Time.png Outdated: The information on this page may no longer be relevant to the current release of MythTV, 34.0. Please consider helping to update it. This page was last modified on 2008-10-08.

Outdated: The BBC iPlayer MythStreams plug-in has been discontinued.


MythStreams is a plugin that plays streaming content full screen using the internal player.

It currently only has content provided by the BBC iPlayer (and this is only available to people in the UK). it uses an XML file which I host and is updated hourly, this way I can sanity check the scripts i use which export data from the iPlayer pages. Also I will add in extra providers as time goes on.

This plugin is based heavily on the Movie Times plugin, which was an awesome starting point. It will become less based on this as development continues.

All content is downloaded using mencoder and transcoded into an mpeg2 which mythtv plays. Its wasteful on resources and adds an extra dependancy, but is rock solid. If anyone wants to help out and get the internal player to play the streaming h264 files, then be my guest!

A video of an early version of the plugin at work is available at: http://www.youtube.com/watch?v=Z7eVgPMTa0g


Prerequisites: Mencoder (part of mplayer) Curl (in most distros) QMake MythTV Source (or so it seems)


To install:

wget http://www.bewhere.co.uk/mythstreams-1.tar.gz
tar xzf mythstreams-1.tar.gz
cd mythstreams
qmake mythstreams.pro
make
make install
cp scripts/playiplayer.sh /usr/local/bin/

Note: You may not have qmake installed. This is the QT make utility. It often comes in the qt-devel or qt4-devel package on various distributions. Install this if you're missing qmake... You may need to explicitly call qmake with its full path (on Fedora 8 this is: /usr/lib/qt4/bin/qmake)

Next you have to add the menu entries for the plugin:

cd /usr/local/share/mythtv vi library.xml

Add the following lines:

   <button>
     <type>STREAM</type>
     <text>Myth Streams</text>
     <action>PLUGIN mythstreams</action>
     <depends>mythstreams</depends>
   </button>

vi media_settings.xml

Add the following lines:

   <button>
     <type>SETTINGS_MYTHSTREAMS</type>
     <text>MythStreams Setting</text>
     <action>CONFIGPLUGIN mythstreams</action>
     <depends>mythstreams</depends>
   </button>