<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Sleat &#187; baseball</title>
	<atom:link href="https://alexsleat.co.uk/tag/baseball/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Sun, 15 Dec 2013 17:19:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>mlbviewer 2012 Installation guide for Ubuntu (MLB.TV on Linux)</title>
		<link>https://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/</link>
		<comments>https://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/#comments</comments>
		<pubDate>Wed, 16 May 2012 11:40:32 +0000</pubDate>
		<dc:creator><![CDATA[Alex]]></dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[baseball]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mlb]]></category>
		<category><![CDATA[MLB.TV]]></category>
		<category><![CDATA[mlbviewer]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[red sox]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=31046</guid>
		<description><![CDATA[<br/><p></p> Download mlbviewer: <p>Go and grab the latest version from the sourceforge page below:</p> <p>http://sourceforge.net/projects/mlbviewer/</p> Unrar: tar -zxvf mlbviewer2012.tar.gz <p>It doesn&#8217;t require any installation but you will need a few extras and the easiest way to install them is shown below:</p> Download PyXML: <p>PyXML is an XML processing tool for python which this project [...]]]></description>
				<content:encoded><![CDATA[<br/><p><a href="https://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124457.png"><img src="https://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124457-300x201.png" alt="" title="Screenshot from 2012-05-16 12:44:57" width="300" height="201" class="aligncenter size-medium wp-image-31058" /></a></p>
<h3>Download mlbviewer:</h3>
<p>Go and grab the latest version from the sourceforge page below:</p>
<p><a href="http://sourceforge.net/projects/mlbviewer/">http://sourceforge.net/projects/mlbviewer/</a></p>
<h4>Unrar:</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">tar</span> -zxvf mlbviewer2012.<span class="kw2">tar</span>.gz</div>
<p>It doesn&#8217;t require any installation but you will need a few extras and the easiest way to install them is shown below:</p>
<h4>Download PyXML:</h4>
<p>PyXML is an XML processing tool for python which this project uses, sometimes it can be tricky to install python modules so we&#8217;ll be using setuptools which you can get from the link below.</p>
<p>If you&#8217;re unsure of what version you need, open terminal and type &#8220;python&#8221;, this will show the version of python you&#8217;re running. Mine was 2.7.4 so I downloaded &#8220;setuptools-0.6c11-py2.7.egg&#8221; I would imagine yours would be similar.</p>
<p>http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other</p>
<h4>Once you have it, run it (replacing the version you downloaded for the one here):</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">sh</span> setuptools<span class="nu0">-0</span>.6c11-py2<span class="nu0">.7</span>.egg</div>
<h4>Now to install PyXML it&#8217;s as simple as running:</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> easy_install pyxml</div>
<p>That&#8217;s it, you&#8217;re done.</p>
<h3>Optional &#8211; Install MPLAYER2:</h3>
<p>MPLAYER2 offers at lot of advantages over MPLAYER however we&#8217;re most interested in it because it offers better streaming support and handle stream rate switches (important if you enable adaptive streaming in nexdef mode).</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> add-apt-repository ppa:motumedia/mplayer-daily<br />
<span class="kw2">sudo</span> apt-get update<br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> mplayer2</div>
<p>(Thanks to &#8211; <a title="Web Upd8" href="http://www.webupd8.org/2012/01/install-mplayer2-and-smplayer2-in.html">Web Upd8</a>)</p>
<h3>Optional &#8211; Install mlbhls (for nextdef | HD):</h3>
<p>Instructions as per in REQUIREMENTS-2012.txt in the mlbviewer package.</p>
<p>You&#8217;ll also need some extra packages which aren&#8217;t stated:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> libconfig-dev libcurl4-gnutls-dev</div>
<div class="dean_ch" style="white-space: wrap;">svn <span class="kw2">co</span> https://mlbtv-hls-nexdef.googlecode.com/svn/branches/experimental mlbhls<br />
<span class="kw3">cd</span> mlbhls<br />
<span class="kw2">make</span><br />
<span class="kw2">sudo</span> <span class="kw2">cp</span> mlbhls /usr/bin</div>
<p>Once that&#8217;s done, you should be able to get the higher bitrate streams too!</p>
<h3>Using mlbplayer:</h3>
<h4>Setup:</h4>
<p>The first time you run mlbviewer it will generate a config file which you&#8217;ll need to enter your Premium MLB.TV account details in, running mlbviewer will tell you where this file is located:</p>
<div class="dean_ch" style="white-space: wrap;">python mlbviewer.py</div>
<p>Go edit the file and enter your email as the &#8220;user&#8221; and your password after &#8220;pass&#8221;.</p>
<p>Now re-run mlbviewer and it should start up!</p>
<div class="dean_ch" style="white-space: wrap;">python mlbviewer.py</div>
<p>Sit back and enjoy!</p>
<p><a href="https://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124557.png"><img src="https://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124557-300x194.png" alt="" title="Screenshot from 2012-05-16 12:45:57" width="300" height="194" class="aligncenter size-medium wp-image-31059" /></a></p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
