Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The mlbtv plugin for XBMC was taken in part from mlbviewer and uses mlbhls. The developer is the guy who wrote mlbhls. I also got an email from him last week stating that mlbhls will no longer be supported and XBMC plugin is taking HLS support in a different direction. I haven't looked at the new code but it looks significantly more difficult to install. While I respect his reasons for extending and generalizing his code for other HLS streaming applications, I don't really want to support those installation instructions for mlbviewer users. Hopefully, mlbhls will "just work" as rtmpdump has for many years. I also plan to evaluate other HLS solutions.
BTW, woot.com is running a Samsung Smart TV sale today. Great deals. They support MLB.TV. I am very tempted but it's not in the budget right now. When mlbviewer started, it was Windows/Mac via web browser or nothing. I love how many different devices now support MLB.TV (and many do a better job than a web browser+flash plugin.)
Also, I am still looking into producing an mlbviewer live CD but it seems overkill to download 700 mb of distro for 60kb of code. If I can tune the live image down to 300 mb and not have it look like a hot mess (I'm looking at you, Damn Small Linux), that would be more ideal.
In case anyone's interested I have mlbviewer running on slackware-current, it's fairly straightforward.
I have a fairly basic install, running twm as my main desktop, all I had to add were simplejson, rtmpdump and gdata, all available as slackbuilds. It was then just a case of download mlbviewer2014, untar, cd into the directory and run:
$ python mlbviewer.py
cd into ~/.mlb and add your login details to config then run it again as above and you should be good to go. Video opened in mplayer, audio was fine.
In case anyone's interested I have mlbviewer running on slackware-current, it's fairly straightforward.
I have a fairly basic install, running twm as my main desktop, all I had to add were simplejson, rtmpdump and gdata, all available as slackbuilds. It was then just a case of download mlbviewer2014, untar, cd into the directory and run:
$ python mlbviewer.py
cd into ~/.mlb and add your login details to config then run it again as above and you should be good to go. Video opened in mplayer, audio was fine.
Glad to hear it installed and worked without a hitch.
BTW, simplejson isn't required anymore. JSON support is part of standard Python now. This is great because I remember simplejson used to have annoying issues that Jesse's code (original mlbviewer developer) had to correct.
Glad to hear it installed and worked without a hitch.
BTW, simplejson isn't required anymore. JSON support is part of standard Python now. This is great because I remember simplejson used to have annoying issues that Jesse's code (original mlbviewer developer) had to correct.
Ah ok, maybe that's different for you Fedora guys then. What I actually did was download and run
$ python mlbviewer.py
then watch what it complained about. I then added simplejson, rtmpdump and gdata as they came up.
I used mlbviewer all last year and started using it again this year. Great product! My PS3 playback has been aweful this year but mlbviewer is running smooth.
Anyway, sometimes after closing and opening the software too many times I'm getting "ERROR: Sign-on Restriction Error". I never got this last year so I'm assuming they're being more aggressive with account sharing. Is this a problem you've been dealing with as well when you have to test and open/close the app a lot?
I used mlbviewer all last year and started using it again this year. Great product! My PS3 playback has been aweful this year but mlbviewer is running smooth.
Anyway, sometimes after closing and opening the software too many times I'm getting "ERROR: Sign-on Restriction Error". I never got this last year so I'm assuming they're being more aggressive with account sharing. Is this a problem you've been dealing with as well when you have to test and open/close the app a lot?
Thanks!
Billy
You are correct. MLB is being more aggressive. My experience is after 2 or 3 sign on's or attempts I get locked out for an hour.
I was listening to the audio feed of a game tonight, and when the game ended, I could not get out of the audio feed. Closing the application did nothing. Short of turning off my computer, how do I get out of the audio feed? Typing 'q' for quit did nothing to stop the audio. Thanks.
I used mlbviewer all last year and started using it again this year. Great product! My PS3 playback has been aweful this year but mlbviewer is running smooth.
Anyway, sometimes after closing and opening the software too many times I'm getting "ERROR: Sign-on Restriction Error". I never got this last year so I'm assuming they're being more aggressive with account sharing. Is this a problem you've been dealing with as well when you have to test and open/close the app a lot?
Thanks!
Billy
I have been tempted to overhaul the logging for a long time. Maybe when I do that, it might turn up places where session-key is not getting cached correctly.
Ideally, you should not be stream hopping very often so this shouldn't happen often.
I was listening to the audio feed of a game tonight, and when the game ended, I could not get out of the audio feed. Closing the application did nothing. Short of turning off my computer, how do I get out of the audio feed? Typing 'q' for quit did nothing to stop the audio. Thanks.
Two ideas I have:
1. Caps Lock?
2. Window focus? Sometimes, especially after video, it looks like I have window focus in the terminal, but I really don't.
After I kick off the streamer and player processes, I poll them regularly for 'q' and Ctrl-C. So if you have focus and Caps Lock did not accidentally activate, q or Ctrl-C should quit the streamer/player processes without exiting the application.
Bonus thought:
This same code to getch() for a quit key during process playback does not exist in the mlbplay.py script. That you'll just Ctrl-C to kill everything if you want to quit before the stream does.
1. Caps Lock?
2. Window focus? Sometimes, especially after video, it looks like I have window focus in the terminal, but I really don't.
After I kick off the streamer and player processes, I poll them regularly for 'q' and Ctrl-C. So if you have focus and Caps Lock did not accidentally activate, q or Ctrl-C should quit the streamer/player processes without exiting the application.
Bonus thought:
This same code to getch() for a quit key during process playback does not exist in the mlbplay.py script. That you'll just Ctrl-C to kill everything if you want to quit before the stream does.
Well, Caps Lock was not on, and I did actually close the terminal window. I actually relaunched mlbviewer, and I was able to start a second audio feed that lagged about a half-second behind the first first, a bit like an echo. I closed the terminal again, which stopped the second audio feed but not the first. Typing 'q' also closed the program and the terminal window but did not end the audio feed. I'll try Ctrl-C should this happen again. Thanks.
I keep getting the sign in restriction error. MLB has definitely changed the authentication, but they haven't become stricter on their own platforms. I can watch on my Apple TV, PC, and PS3 at the same time and continually switch streams with no problem. I switched streams three times on mlbviewer and now I am locked out of my account.
I was listening to the audio feed of a game tonight, and when the game ended, I could not get out of the audio feed. Closing the application did nothing. Short of turning off my computer, how do I get out of the audio feed? Typing 'q' for quit did nothing to stop the audio. Thanks.
If you get into this situation again, 'killall mplayer' should do it for you (but it will end all other current mplayer streams also).
BTW, woot.com is running a Samsung Smart TV sale today. Great deals. They support MLB.TV. I am very tempted but it's not in the budget right now. When mlbviewer started, it was Windows/Mac via web browser or nothing. I love how many different devices now support MLB.TV (and many do a better job than a web browser+flash plugin.)
Hi daftcat. I've been using mlbviewer since that first year that MLB.TV went from Flash to Silverlight. You're right - it was mlbviewer or nothing back then for us Linux users. Now I have two Rokus, an Android phone, and an Android tablet that all can (and do) stream MLB.TV. Not to mention the fact that us Linux users can now use browser/flash again. And you're right - it's awesome how many devices support MLB.TV (and Netflix - another service that used to be a pain to get working with Linux). But I always go back to mlbviewer for MLB.TV. Two cases in point - this afternoon I was watching a game on the Roku hooked up to a TV next to my workstation, but I wanted to tune in to a second game at the same time. I happened to be reformatting my machine (upgrade to Xubuntu 14.04 didn't go great, figured a fresh install would be better), so I didn't have mlbviewer installed yet. I fired up browser/flash and set it to full screen on my 2nd monitor. But, every time I tried to do something on my primary monitor, the full-screen session ended and put the game back in the normal-sized flash window. I installed mlbviewer so I can just have a plain mplayer2 window stay at whatever size I want...problem solved. Second, just now I'm watching the Phillies blow it against the Rockies. I have it on the Roku. Since the end of last season, the Roku MLB.TV app has had a stuttering problem - games catch and pause and get the video behind or ahead of the audio. No such problems with mlbviewer. I want to watch Pappelbon get overpaid without all the hiccups!
Anyway, sorry for the long post - just saying that while mlbviewer is no longer the only way for me to watch MLB.TV, it is still the best way. But I agree - it's awesome that all these devices (which are usually based on Linux!) make it easier to be a Linux desktop user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.