Installation should be rather straight-forward.
To install on Windows, see the [Cygwin] instructions.
Quick and Dirty
| Package | Location | Comments |
|---|---|---|
| Python 2.7.x | http://www.python.org | Most distributions already have this preinstalled. Python 3.x is not supported. |
| Mplayer2 | http://www.mplayer2.org | There are fixes in Libav in the mplayer2 branch that are not present in mplayer |
| Rtmpdump | http://rtmpdump.mplayerhq.hu/ | Required for condensed games, MiLB.tv, Gameday Audio, and non-Nexdef MLB.tv |
| Mlbhls | git clone https://github.com/thegryghost/mlbtv-hls-nexdef.git | Use the experimental branch. Required for Nexdef MLB.tv. libconfig-dev, libcurl-dev and libssl-dev are prerequisites to build mlbhls |
| python-gdata | https://code.google.com/p/gdata-python-client/ | This should be available in most distribution package management systems |
| python-simplejson | Should be in distribution package manager | Necessary for parsing the JSON responses |
Notes
mlbhls does not have a "make install". Copy it to /usr/local/bin/mlbhls or /usr/bin/mlbhls
mlbviewer can be successfully installed and run on Windows using cygwin.
If python3 and python2 are installed, use python2 mlbviewer.py to select python2 to for mlbviewer.
Run mlbviewer once to generate a default config at $HOME/.mlb/config. MLB.tv/MiLB.tv subscribers will need to edit this file to fill in user= and pass= at a minimum.
Non-subscribers should fill in user= and pass= with their mlb.com account in order to watch the free game of the day. It is free to sign up for an mlb.com account and does not require an MLB.TV subscription.
https://secure.mlb.com/enterworkflow.do?flowId=registration.ajax.wizard&c_id=mlb
Dual-subscribers (both MLB.tv and MiLB.tv subscriptions) with different user and pass for each subscription will need to add milb_user= and milb_pass= options to the config file for MiLB.tv service. Dual subscribers using the same user and pass do not need to add milb_user= and milb_pass=.
See [Configuration File Options] and [Keybindings] pages for more details on configuring and using mlbviewer
Wiki: Configuration File Options
Wiki: Cygwin
Wiki: Home
Wiki: Keybindings