LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-08-2014, 09:25 PM   #4426
bdjohns1
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled

Quote:
Originally Posted by avdawg View Post
Would you mind sharing how you got it working on the Raspberry Pi?

Also, thanks to everyone who worked on this!
There's an XBMC plugin which works on the pi. The developer (I believe) uses elements of mlbviewer's code base. Can use regular or HLS streaming.

Also, another guy has a page on just using mlbviewer from the command line:

https://code.google.com/p/mlbtv-webc...ki/RaspberryPi
 
Old 04-09-2014, 02:21 PM   #4427
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bdjohns1 View Post
There's an XBMC plugin which works on the pi. The developer (I believe) uses elements of mlbviewer's code base. Can use regular or HLS streaming.

Also, another guy has a page on just using mlbviewer from the command line:

https://code.google.com/p/mlbtv-webc...ki/RaspberryPi
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.
 
Old 04-12-2014, 06:48 PM   #4428
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Rep: Reputation: 174Reputation: 174
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.
 
Old 04-13-2014, 12:34 AM   #4429
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by rkfb View Post
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.
 
Old 04-13-2014, 12:53 PM   #4430
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by daftcat View Post
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.
 
Old 04-15-2014, 08:06 PM   #4431
bmac33
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
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
 
Old 04-15-2014, 09:20 PM   #4432
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Quote:
Originally Posted by bmac33 View Post
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.
 
Old 04-15-2014, 09:46 PM   #4433
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
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.
 
Old 04-16-2014, 01:11 AM   #4434
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bmac33 View Post
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.
 
Old 04-16-2014, 01:16 AM   #4435
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by WaltH View Post
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.
 
Old 04-16-2014, 07:53 AM   #4436
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
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.
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.
 
Old 04-16-2014, 01:55 PM   #4437
Lkr
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 04-17-2014, 03:27 AM   #4438
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by WaltH View Post
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).
 
Old 04-17-2014, 07:59 AM   #4439
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
If you get into this situation again, 'killall mplayer' should do it for you (but it will end all other current mplayer streams also).
Thanks. I'd forgotten about the 'kill' command. It's been a long time since I had to use it.
 
Old 04-20-2014, 07:12 PM   #4440
CCRS8
LQ Newbie
 
Registered: Apr 2010
Location: NC, USA
Distribution: Xubuntu
Posts: 29

Rep: Reputation: 1
Quote:
Originally Posted by daftcat View Post
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.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration