MLBPlayista is a stripped down version of mlbviewer modified to run on Pythonista for iOS. It has one objective - to allow the watching of live (currently playing) MLB.tv games on an iOS device without using the MLB AtBat app. (You are still required to purchase an MLB.tv Premium or Single Team subscription.) This can be useful for some people; I won't enumerate the reason(s) - they may fall into the gray area of the Terms Of Service.
MLBPlayista is based on the mlbplay.py
script that is included in the mlbviewer
project.
-
Subscribe to MLB.tv Premium or Single Team
-
Install Live Player (Free with $4.99 IAP to remove ads etc.) - MLBPlayista will not work without Live Player.
-
Install Pythonista ($9.99)
-
Install MLBPlayista with a one line python command:
import requests as r; exec r.get('http://rawgit.com/HyShai/MLBPlayista/master/get_mlbplayista.py').text
--> Simply copy the above line, paste into Pythonista interactive prompt and execute. It installs MLBPlayista to the
~/Documents/MLBPlayista
folder, and optionally installs a homecreen shortcut to MLBPlayista. -
Edit the
MLBPlayista/config.txt
file - see below for config options. You will probably, at the least, want to set theuser
andpass
options - instead of manually entering them each time.
- Launch MLBPlayista either via the homescreen shortcut (if you installed it), or via the
MLBPlayista/mlbplayista.py
file. - Choose a speed, if you didn't set a default speed in
config.txt
. - Choose a game.
- Choose a team broadcast stream.
- Wait for MLBPlayista to fetch the stream.
- MLBPlayista will then open the stream in LivePlayer. (click Open, if prompted "Pythonista wants to open Live Player")
- Enjoy the game!
For MLBPlayista there are only a few config options that are useful (complete config options are explained in full here): [Don't put quotes around any of the values]
user
- MLB.tv usernamepass
- MLB.tv passwordspeed
-450, 800, 1200, 1800, 2500
default video stream speed (Kbps)favorite
- teamcode, pins your favorite team(s) to the top of the listtime_offset
- can be used to specify local time offset from US/Eastern (UTC-4) if default time conversion fails (e.g. -03:00 to indicate US/Eastern-3 or US/Pacific)international
-True/False
, prune NAT from listings to allow international users to see the correct INT streams insteadpostseason
-True/False
, for international users, this setting ignores US blackout statuses that appear during postseasondebug
-True/False
, display the media URL only; does not launch player; also produces crashes with stack traces for failures instead of handling errors gracefully
- mlbviewer is an awesome project - check it out for an alternate viewing experience to the MLB.tv website. Full credit to Matthew Levine and Jesse Rosenthal for completely reverse engineering the MLB.tv media process. Paypal donations can be sent to them via straycat000(at)yahoo(dot)com. mlbviewer is in no way affiliated with MLBPlayista.
- Pythonista is a wonderful, indispensable app which runs Python applications on an iOS device.
- Live Player is the only app on the AppStore which I could find that can play rtmp streams with parameters.
- Half of the installation script was plagiarized from StaSh tool.
- The other half uses the html from the Pythonista's built in shortcut generator.
- The shortcut icon was made by Vicent Pla
- Instead of installing Pythonista (which you should buy - it's a great app with so many use cases), you can use the PythonistaAppTemplate to sideload MLBPlayista on to your device (See http://bouk.co/blog/sideload-iphone/ for more information on how to sideload.)