LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-03-2014, 12:29 PM   #4396
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76

Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
 
Old 04-03-2014, 12:30 PM   #4397
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 88

Rep: Reputation: Disabled
I hate to say this but now I really wish there were a Windows version of this. Since my laptop died last fall I'm only online with a laptop from my local library and I really miss running mlbviewer. But please don't take this as a feature request. You've got enough on your plate with the Linux version. I'd never ask you to port this over to Windows. 8)
 
Old 04-03-2014, 12:31 PM   #4398
friggo
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
Seems to be a problem at the mlb side, get media error on mlb.tv site as well...
 
1 members found this post helpful.
Old 04-03-2014, 12:41 PM   #4399
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by daftcat View Post
Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
And it looks like it got resolved before I even finished adding the debug code to find the URL resulting in a 404 response. It wasn't the innings URL. It was something to do with one of the actual media request URLs.
 
Old 04-03-2014, 12:45 PM   #4400
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by BostonPeng View Post
I hate to say this but now I really wish there were a Windows version of this. Since my laptop died last fall I'm only online with a laptop from my local library and I really miss running mlbviewer. But please don't take this as a feature request. You've got enough on your plate with the Linux version. I'd never ask you to port this over to Windows. 8)
It should run just fine through Cygwin. Though you will probably have to compile a few extra packages (like python-gdata) since Cygwin lacks a decent package manager last time I looked at it.
 
Old 04-03-2014, 12:59 PM   #4401
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by randcoop View Post
I've read back through the last few pages and the answer still isn't clear to me. I'm using current versions of mlbviewer/mlbplayer together with version 67 (current version) of mlbhls. When I try to retrieve a game (specifically Yankees Houston of April 1 and 2) with NextDef activated, it just hangs. No response of any kind. Toggling off the high def retrieves the game.

Is this because MLB is no longer offering the games in high def except as a part of their new flash player? Does it mean that mlbhls is now obsolete and those who want to watch high def will simply not be able to use the mlbviewer/mlbplayer?

I actually prefer mlbviewer over the MLB web site feed anyway, but I want to know if I should keep trying high def or just forget about it.
If you have -really-quiet in your video_player= line, please remove that. That will make it look like its hanging even though it may actually just be filling cache before playback.

Thank you for telling me specific games. It helps to verify things on my end. However, having tested both games, I seem to only have a long time filling cache but it eventually does play.

It sounds like NEXDEF mode is still supported and now the only officially supported stream for video. However, with the Nexdef plugin being retired, I should probably change that to "HLS" mode.

The RTMP streams however don't seem to have been retired just yet even if they are not available through the official client. I haven't looked into audio yet, but I assume they are still using RTMP only for audio streams. I think condensed games may also be still using RTMP.

Everything that worked last year continues to work this year even though MLB says they made changes to the service.
 
Old 04-03-2014, 01:45 PM   #4402
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 88

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
It should run just fine through Cygwin. Though you will probably have to compile a few extra packages (like python-gdata) since Cygwin lacks a decent package manager last time I looked at it.
Sweetness! I found instructions for installing it as a portable app (thank you Internet Archive!) and while I'm not sure about a package manager I did a search on their site and managed to find python-gdata with no problems. (Although it doesn't give me a package to install. Dammit.) I guess I have a project for tomorrow.
 
Old 04-04-2014, 03:35 AM   #4403
fang2415
Member
 
Registered: Jan 2007
Posts: 159

Rep: Reputation: 15
I run mlbviewer on Cygwin from work all the time (especially handy with my home broadband down the last few days). Looking at my Cygwin source folders, it looks like the only things I had to compile from source were rtmpdump, libconfig (an mlbhls dependency), and mlbhls. Anything else I just got from the Cygwin repos by re-running the Cygwin installer and selecting the packages whose names matched the missing dependencies.

As I recall, all of that was fairly straightforward except for libconfig, which was a pain in the neck -- I think there's several other packages out there called libconfig, and the correct one is no longer maintained or some such, so it took some serious tracking down. I think the one I'm using is libconfig-1.4.9 from http://www.hyperrealm.com/libconfig/ (but don't trust me).
 
Old 04-04-2014, 09:33 AM   #4404
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Please remove the "-really-quiet" from the audio_player= line. It's possible those errors are not really errors (I get messages like that related to LiRC) and can be ignored. But we won't know until we see all the output.

I see that it takes about 10 seconds or so on my system because I think the -cache is too low. Let's see what errors are really happening when -really-quiet is removed.

Also, if the GUI is returning to listings before you can see all the messages, you can use mlbplay.py instead.
I re-installed rtmpdump and changed the cache setting to 512, now I'm getting the error:



Requesting media: ('KDKA', u'134', '31698473', '14-380579-2014-04-03')rtmpdump: error while loading shared libraries:
libssl.so.0.9.8: cannot open shared object file: No such file or directory
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Invalid seek to negative position fffffffffffffff8!
Failed to recognize file format.
Exiting... (End of file)

I've installed libssl.so.0.9.8, as Raspian comes with libssl.so.1.0.0 and now I get this error:


pi@raspberrypi ~/mlbviewer-svn $ python mlbplay.py j=03/31/14 v=bos
Illegal instruction
mplayer: could not connect to socket
mplayer: No such file or directory

Last edited by sruchris; 04-04-2014 at 10:09 AM.
 
Old 04-04-2014, 01:13 PM   #4405
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by sruchris View Post
I re-installed rtmpdump and changed the cache setting to 512, now I'm getting the error:



Requesting media: ('KDKA', u'134', '31698473', '14-380579-2014-04-03')rtmpdump: error while loading shared libraries:
libssl.so.0.9.8: cannot open shared object file: No such file or directory
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Invalid seek to negative position fffffffffffffff8!
Failed to recognize file format.
Exiting... (End of file)

I've installed libssl.so.0.9.8, as Raspian comes with libssl.so.1.0.0 and now I get this error:


pi@raspberrypi ~/mlbviewer-svn $ python mlbplay.py j=03/31/14 v=bos
Illegal instruction
mplayer: could not connect to socket
mplayer: No such file or directory

So the two mplayer lines...

Quote:
mplayer: could not connect to socket
mplayer: No such file or directory
These are mplayer trying to open the socket for LiRC and not finding the IR device. You can ignore these.

I'm not sure what's going on with the rest.

Also, v= means video. I thought you were an audio subscriber. If so, can you retry with a=bos instead?

This may sound like a dumb question, but are you sure the libssl.so.0.9.8 you installed was the correct architecture? E.g. you didn't just install an Intel deb instead of ARM (or whatever arch Raspberry Pi is)?
 
Old 04-04-2014, 02:44 PM   #4406
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
So the two mplayer lines...



These are mplayer trying to open the socket for LiRC and not finding the IR device. You can ignore these.

I'm not sure what's going on with the rest.

Also, v= means video. I thought you were an audio subscriber. If so, can you retry with a=bos instead?

This may sound like a dumb question, but are you sure the libssl.so.0.9.8 you installed was the correct architecture? E.g. you didn't just install an Intel deb instead of ARM (or whatever arch Raspberry Pi is)?

I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.

Last edited by sruchris; 04-04-2014 at 02:59 PM.
 
Old 04-04-2014, 03:54 PM   #4407
fang2415
Member
 
Registered: Jan 2007
Posts: 159

Rep: Reputation: 15
Well, I wasn't satisfied with so few bugs, so I decided to find some. The source: the Minor Leagues!

Here's what I get when I try to play any minor league game (live or otherwise):
Code:
ERROR: 'ipid'


See /home/fang2415/.mlb/log for more details.
And here's the only new entry in the log file:
Code:
2014-04-04 21:50:55.273668
no session-key found in cookie file
...which is in the log file frequently, even for successful media requests.

Any ideas of how best to fix/debug this?
 
Old 04-04-2014, 04:00 PM   #4408
fang2415
Member
 
Registered: Jan 2007
Posts: 159

Rep: Reputation: 15
Quote:
Originally Posted by sruchris View Post
I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.
BTW, that's pretty awesome that people have mlbviewer working on Raspberry Pi now. Yet another reason why I should save up my lunch money for the $25 and pick one up...
 
Old 04-05-2014, 04:16 AM   #4409
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by sruchris View Post
I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.
Excellent!

Are you watching video or just playing audio? If you have video going, then I am really impressed. Cheaper than a Roku.
 
Old 04-05-2014, 03:49 PM   #4410
avdawg
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by sruchris View Post
I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.
Would you mind sharing how you got it working on the Raspberry Pi?

Also, thanks to everyone who worked on this!
 
  


Reply

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 01:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration