
mlb-squeezeday
Status
Status as of May 5, 2009: Only works with alternate (second language) audio feeds.
Getting this plugin working again (for anything other than the alternate language broadcasts :) will take some doing.
The good news is that as of May 5 mlbviewer is able to get MLB Gameday Audio (and Video) feeds, convert them to FLV with rtmpdump, and play the result with mplayer. The author posted this summary of how mlbviewer gets the RTMP URL.
Ideally the SqueezeBox would support RTMP natively, removing the need for rtmpdump, but I don't know whether or when that might happen.
In the meantime, conceptually it should be possible to feed the FLV to the SqueezeBox instead of to mplayer. I don't know enough about SqueezeCenter's APIs to say if this would be straightforward.
Unfortunately, I don't have a lot of cycles to spare right now, but I'm happy to provide any pointers to anyone who'd like to dig in and apply daftcat's experience with mlbviewer to mlb-squeezeday.
Description
Plugin to play MLB Gameday Audio through your Squeezebox audio player.
Subscription to MLB Gameday Audio required.
Installation
Windows: * Download mlb-squeezeday-0.1.2-win32-x86-perl-5.8-openssl-0.9.8g.zip
Unix, Mac: * Make sure you have IO::Socket::SSL, Net::SSLeay, and OpenSSL installed. * Download mlb-squeezeday-0.1.2-1.zip * Mac: see additional note below.
All: Unzip the zip file, and copy the MLBGameday directory to the SqueezeCenter plugins directory.
Stop and restart SqueezeCenter.
Through the Web UI, configure the plugin with your MLB Gameday email address and password -- e.g. http://localhost:9000/settings/plugins/MLBGameday/settings/basic.html
Navigate to Internet Radio:MLBGameday, browse to an in progress game and then to a station, and play.
Mac
To get the SSL dependencies (IO::Socket::SSL, Net::SSLeay, OpenSSL): 1. Install appropriate XCode developer tools from Apple's Developer Connection site, http://developer.apple.com/tools/download/ 1. To install OpenSSL, download the source for 0.9.8g or later, configure, and build -- ./configure && make && sudo make install 1. To install Net::SSLeay and IO::Socket::SSL, use CPAN -- sudo perl -MCPAN -e 'install Net::SSLeay' ; sudo perl -MCPAN -e 'install IO::Socket::SSL' 1. Restart SqueezeCenter
Thanks to radiomd for figuring out how to get the Mac prerequisites.
Known issues
- User's MLB Gameday password stored in plain text in Plugin prefs file on server.
- Does not work for archived games.
- Does not work through web UI.
- Does not work for Softsqueeze emulator.
Troubleshooting
MLB Gameday does not appear in [SqueezeCenter:Internet Radio] menu
- Cause 1: Plugin not installed properly.
- Confirmation: If the directory server/Plugins/MLBGameday is missing or empty, then this is the problem.
Resolution: Reinstall.
Cause 2: Plugin failed to load.
- Confirmation: Check server.log for error messages.
- Resolution: File a bug report with the relevant section of server.log and the version numbers of your operating system, SqueezeCenter and the MLBGameday plugin.
Final possibility: make sure you're connected to SqueezeCenter, not SqueezeNetwork.
Error message: SSL dependencies not found
- Cause 1: OpenSSL and/or Net::SSLeay not installed
- Confirmation: Run the following command. Errors indicate that the dependencies are in fact missing: perl -e 'use IO::Socket::SSL'.
Resolution: Install OpenSSL and Net::SSLeay.
Cause 2: OpenSSL and Net::SSLeay are installed, but are not on SqueezeCenter's search path.
Resolution: Run SqueezeCenter (slimserver.pl) from the command line.
Cause 3: (Windows only) -- The contents of the zip file were not all copied to the Plugins directory; or you downloaded the generic zip instead of the Windows zip bundled with OpenSSL.
- Confirmation: If C:/Program Files/\SqueezeCenter/Plugins/MLBGameday/lib is missing the Net or IO directories, then this is the problem.
- Resolution: Download the Windows zip, and use the 'Extract all' button to extract the contents of the zip file to the Plugins directory.
Error message: MLB Gameday login failed
- Cause: MLB Gameday Audio emailAddress/password not configured or incorrect
- Confirmation: Verify that you can login to MLB Gameday through your web browser at http://mlb.mlb.com/mediacenter/index.jsp and listen to live games.
- Resolution: Reconfigure the plugin emailAddress/password through the web interface, e.g. http://localhost:9000/plugins/MLBGameday/settings/basic.html
Error message: ...
- Cause: MLB Gameday Audio website is having problems.
- Confirmation: Check whether you are able to play MLB Gameday Audio games through the Web UI at http://mlb.mlb.com/mediacenter/index.jsp
- Resolution: Wait for the MLB Gameday Audio site to resume service.
Project Information
- License: GNU GPL v2
- 4 stars
- svn-based source control
Labels:
SqueezeCenter
MLB
mlb.com
GamedayAudio
baseball
Perl
SlimDevices
SlimServer
Squeezebox
plugin