I have found myself growing tired of paying for cable TV, so this year I wanted to see if I could use MLB.tv as a replacement. One of the major new features MLB is marketing for MLB.tv in 2009 is called “NexDef” and purports to provide an HD stream along with DVR functionality. How could I go wrong?
As it turns out, NexDef runs as a daemon on both Windows and Mac (it uses Autobahn). There is a shell app that launches at boot and invokes a Java http server. Leaving aside the ugliness of the whole solution, having it running constantly in the background is beyond obnoxious. Plus, even when you’re not watching a game it will occasionally consume large quantities of CPU and bandwidth.1
With that in mind I decided to tear apart the installation on OS X to find the jar it uses. If you already have the app installed, check in ~/Library/Application Support/Swarmcast (that’s your home directory’s library directory) and find autobahn.jar. Pull this out and then run the uninstall command located in the same directory to remove the launchd agent and other garbage it has placed on your system. At this point you can now just invoke the autobahn.jar with Terminal.app. As soon as the Jetty server comes up MLB.tv will detect it and everything will work.
java -jar /path/to/autobahn.jar |
When you’re done just hit ctrl-c in your terminal window and it will stop!
Update: For those of you finding this page searching for Linux NexDef support, you can invoke the autobahn jar on the command line in Linux and (provided that you have Java 1.4.1 or later installed) it should work properly.
I have been going crazy with this thing all season long. I did this and have had it working much better so far. Thank you. And if you had any other tips on this topic I would really, really love to hear them. Thanks again.
This is great! The DVR functionality in NexDef was one of the few reasons I’ve booted into Windows lately, but this works like a charm on Linux! Thanks for your help.
THANK YOU SO MUCH. I hated that little thing… couldn’t even remember where I’d picked it up from, but boy is it ever an annoying little *****. Nice clear instructions, even for an amateur like me. I owe you one!
WOW AMAZING. THANK GOD.
F MLB TV
Thanks for this. Nexdef is a nasty hack.