LinuxQuestions.org
Visit Jeremy's Blog.
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 05-14-2009, 10:56 AM   #1816
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
MANDATORY svn revision 203 for EVERYONE


MLB.com added another few elements to the SOAP responses that ALL (NexDef and non-NexDef) users receive. And yet they are still not adding these to their schema definition files. I'm not sure how their SOAP client functions without valid schema definition files. I can only assume that it's really not using them.

ANYWAY...

Before you report that you are getting "What happened here?" or "Uncaught error" errors, update to SVN revision 203. With this revision, you will need to copy MediaService.xsd to ~/.mlb and remove your suds cache. You MUST do this even if you did this when you installed mlbviewer. This file has been patched five minutes ago.

Code:
$ cp MediaService.xsd ~/.mlb
$ rm -r /tmp/suds
Instructions to update to SVN revision 203.

If you have already checked out mlbviewer using svn once before:

Code:
$ cd mlbviewer
$ svn up
(That might be mlbviewer-svn for some users who followed my recommendation to keep svn directories of mlbviewer separate from downloaded releases.)

If you have never checked out mlbviewer from svn:

Code:
$ cd ~/
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/trunk mlbviewer-svn
You will now have a directory named mlbviewer-svn (do not mix this with your downloaded mlbviewer release directory.) You can get subsequent updates by performing the svn up procedure above from within that directory.

I will also post a new release to Sourceforge shortly. I was going to wait until Monday when I had a chance to fix up the login code but without this patch, nothing will work.

Last edited by daftcat; 05-15-2009 at 01:13 PM.
 
Old 05-14-2009, 11:42 AM   #1817
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
0.1alpha11 released to Sourceforge

Since the change MLB.com made to their server responses affects everyone and breaks basic functionality, I have made SVN revision 203 into 0.1alpha11 with Stream Selection and Jump To Innings added to the README.

So if SVN confuses or scares you, you can pick up 0.1alpha11 from Sourceforge.

If you are an svn user, you don't need to download 0.1alpha11 because it is SVN revision 203. Actually, you should update to 204 just to increment the version number and get the updated README file.

Please don't report any "What happened here?" or "Uncaught error" errors until you have update to either Sourceforge release 0.1alpha11 or svn revision 204, and followed the instructions above for replacing MediaService.xsd.
 
Old 05-14-2009, 12:58 PM   #1818
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by TheDevilWearsPravda View Post
Thank goodness! I had a game start giving uncaught errors in the middle of the stream. Stream cut off right before Horacio Ramirez could throw his first pitch. Maybe that's a good thing?
Oh, I don't know why it would happen in the middle of a stream. This was to fix getting the stream urls to begin playback of any stream.

And yeah, it's usually a good thing not to watch Horacio Ramirez pitch, but lately it's been Wright doing us in. Looks like it's going to be a long, streaky season.
 
Old 05-14-2009, 01:19 PM   #1819
TheDevilWearsPravda
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Oh, I don't know why it would happen in the middle of a stream. This was to fix getting the stream urls to begin playback of any stream.

And yeah, it's usually a good thing not to watch Horacio Ramirez pitch, but lately it's been Wright doing us in. Looks like it's going to be a long, streaky season.
I'm using an old version with some hacked-together backports from recent releases, so My Mileage Will Vary.

The exact same problem happened for the Rangers last year. Every time they needed a reliever, Jamey Wright was the guy, and he eventually collapsed due to overuse. Trey seems to lock on to a guy to get outs in the middle innings. Remember what happened to Ron Mahay last season after Trey kept throwing him out there.
 
Old 05-14-2009, 02:34 PM   #1820
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by TheDevilWearsPravda View Post
I'm using an old version with some hacked-together backports from recent releases, so My Mileage Will Vary.

The exact same problem happened for the Rangers last year. Every time they needed a reliever, Jamey Wright was the guy, and he eventually collapsed due to overuse. Trey seems to lock on to a guy to get outs in the middle innings. Remember what happened to Ron Mahay last season after Trey kept throwing him out there.
In that case, you can download the sourceforge release or pull the MediaService.xsd from svn. There are no other changes since yesterday except README and version numbers.

I was pretty pissed initially when Nunez and Ram Ram got traded but Crisp and Jacobs (even Farnsworth) aren't doing so bad. Still, I thought we traded away the best middle relievers we had. Wright should be given a couple weeks vacation in Omaha to think about what he's done.
 
Old 05-14-2009, 02:49 PM   #1821
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
watching sox game in the office now. looks silky smooth. the sync issue seems to be resolved as well. could this have to do with the update, or is this just coincidence?

by the way, i didn't have a /tmp/suds directory. i noticed this when i was doing the update.

i would love to get this working with vlc. i saw in some old posts that people are using vlc, but i can't figure out what to put in the config file. so if you have this up and running please share! i am also open to using quicktime.

on a separate note, are there other premium subscribers here? am i the only one pissed that they took away the 3000k feeds and are denying that they did so?

Last edited by bosox; 05-14-2009 at 02:50 PM.
 
Old 05-14-2009, 02:58 PM   #1822
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
watching sox game in the office now. looks silky smooth. the sync issue seems to be resolved as well. could this have to do with the update, or is this just coincidence?

by the way, i didn't have a /tmp/suds directory. i noticed this when i was doing the update.

i would love to get this working with vlc. i saw in some old posts that people are using vlc, but i can't figure out what to put in the config file. so if you have this up and running please share! i am also open to using quicktime.

on a separate note, are there other premium subscribers here? am i the only one pissed that they took away the 3000k feeds and are denying that they did so?
I believe the 3000K streams are only available for HD games. Do you have max_bps set to 3000000 (3 million)? If you don't, I will only show you the streams available up to your configured max_bps setting. I definitely can't test 3000K at work but I'll check this out from home.

I think the sync issues are stream issues and really depend on the stream. The update I made today is only for the media location requests, e.g. getting the NexDef URL to connect to.

The video_player line for vlc would probably be just "video_player=vlc" but I'm not sure. You'll definitely need a nightly build after April 15 to get the fix that allowed us to watch the streams off NexDef. I can possibly put together a vlc howto either tonight or sometime this weekend.

Also, quicktime won't work. Just tested it on Windows. There are a few FLV players out there for Mac but I don't have a Mac to test with. My folks do but I won't be visiting them until Father's Day so I may not get a chance to play with a Mac until then.
 
Old 05-14-2009, 03:32 PM   #1823
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
I believe the 3000K streams are only available for HD games. Do you have max_bps set to 3000000 (3 million)? If you don't, I will only show you the streams available up to your configured max_bps setting. I definitely can't test 3000K at work but I'll check this out from home.
yes it is set at 3 million. as i said, i originally came over here to see if it was just the mlb player, as many of us noticed the quality decrease. here is the thread on their forums http://www.mlbsupport.com/forum/view...php?f=8&t=6538. it is pretty heated at points, but until yesterday they just denied that they made any changes. a few of us have posted convincingly enough that now they are going to have to say something.

and, i can see the 3000k streams for the games in early april (and the few in may that have them), so i assume it is not my setup.

Quote:
Originally Posted by daftcat View Post
I think the sync issues are stream issues and really depend on the stream. The update I made today is only for the media location requests, e.g. getting the NexDef URL to connect to.
well i guess it was just a serendipitous result!

Quote:
Originally Posted by daftcat View Post
The video_player line for vlc would probably be just "video_player=vlc" but I'm not sure. You'll definitely need a nightly build after April 15 to get the fix that allowed us to watch the streams off NexDef. I can possibly put together a vlc howto either tonight or sometime this weekend.
i have the nightly builds installed, i just don't know what the right command is to get it to start. =vlc did not work for me. i have to read up on it as i think the command is cvlc (or something like that). i also don't know what arguments it takes. so any help will obviously be appreciated! i use vlc a lot, and it works great. especially with multiple displays as i mentioned earlier.

Quote:
Originally Posted by daftcat View Post
Also, quicktime won't work. Just tested it on Windows. There are a few FLV players out there for Mac but I don't have a Mac to test with. My folks do but I won't be visiting them until Father's Day so I may not get a chance to play with a Mac until then.
no worries about quicktime. i would rather use vlc if it works. i assume that getting it up and running would be similar on linux. hopefully it is as easy as setting up that one argument in config. so maybe you don't need the mac.

Last edited by bosox; 05-14-2009 at 03:41 PM.
 
Old 05-14-2009, 03:47 PM   #1824
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by edouble312 View Post
you inspired me! I thought i would be too difficult to get mlbviewer running in leopard, but it was actually pretty straightforward. I am not having any sync issues at all watching an archived game and it's playing real smoothly. once you have developer tools in leopard you can pretty much treat it like any linux distro, and macports gives you anything else you may need. and all this time I was running ubuntu in vmware just cause i didn't think I could do it leopard!
yeah, i guess i never really thought of os x as a linux distro. but this has really started to get me thinking about what else i can do now! i love the desktop manager though, that is for sure!
 
Old 05-14-2009, 04:02 PM   #1825
Moon
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Thank you!

Daftcat, thank you so much.

Having followed your superb instructions as carefully as I could, I have had mlbviewer working flawlessly here on my Mandriva 2008.1 system for a few days now. When it gave me a "WTF error" at the outset of today's BoSox game, I came right to this thread and there was the freshly-minted fix; three minutes or so, from WTF to WTG! lol

A couple of things I did do a bit differently, though.

1) Rather than copy *.xsd from ~/mlbviewer-svn to ~/.mlb on first installation, I used softlinks, like so:

Code:
cd ~/.mlb
ln -s ~/mlbviewer-svn/*xsd ./
This tactic paid off nicely with today's update of an .xsd file.

2) When I compiled mplayer, I set prefix=/usr/local to avoid clobbering my distro's mplayer package. For my video_player setting, I'm using:

Code:
video_player = /usr/local/bin/mplayer -autosync 30 -fixed-vo -softvol -cache 8192 -really-quiet %s
Works like a charm, and the "stock" mplayer gets run for everything else, due to the $PATH priority of /usr/bin over /usr/local/bin.

3) Made a little script called "mlb", put it into ~/bin (which is in my $PATH), and made it executable:

Code:
#!/bin/sh
cd ~/mlbviewer-svn && python ./mlbviewer.py && cd - >/dev/null
killall -9 mplayer &>/dev/null
The killall bit cleans up any lingering mplayer processes that might persist after those rare occasions when mplayer has lost its mind and its video window, but not its life ...

4) I've been using screen to run autobahn.jar, then I detach from it and I only reattach if I think that it needs to be Ctrl-C'd and relaunched; this does appear to be needed/helpful from time to time, AFAICT, so that's now my first troubleshooting step whenever any part of this lashup begins to behave in an unexpected manner. I'm using Sun's 1.6.0_06 JRE here, BTW.

As I sit here watching B[r]ad Penny struggle through his outing in Anaheim this afternoon in glorious HD, I am filled with gratitude for all of the efforts of both daftcat and those that have helped him with their testing and their feedback. This is one of that class of apps that I really love, the kind that I can show to my Windows-using friends and make them green with envy, as they wish that their system could do that. ;-)

--
Bill Mullen
RLU #270075
 
Old 05-14-2009, 06:21 PM   #1826
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
yes it is set at 3 million. as i said, i originally came over here to see if it was just the mlb player, as many of us noticed the quality decrease. here is the thread on their forums http://www.mlbsupport.com/forum/view...php?f=8&t=6538. it is pretty heated at points, but until yesterday they just denied that they made any changes. a few of us have posted convincingly enough that now they are going to have to say something.

and, i can see the 3000k streams for the games in early april (and the few in may that have them), so i assume it is not my setup.
Some initial investigation shows that supposedly HD streams are only being offered in 2200 Kbps and below. I posted the Firebug method of verifying this in the forum you linked to.

Last edited by daftcat; 05-14-2009 at 06:57 PM.
 
Old 05-14-2009, 06:35 PM   #1827
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
I can write you a script similar to mlblistings.py (actually more similar to nexdef.py) that would just query the NexDef plugin and tell you the streams available. Right now, mlb.com tolerates mlbviewer. This might push them over the edge, though.

But yes, some initial investigation shows that supposedly HD streams are only being offered in 2200 Kbps and below.
if you write it i will check it out. however, i don't want you to do anytime to jeopardize this project, because i think it is fantastic. i much prefer it to the official solution -- which says a lot about the work you have done here.

i can't see how this would bother them though. yes, they tried to pull a fast one on us, and now got caught with their hand in the cookie jar. but they had to have known that would happen eventually -- if not they severely underestimated their users. as that mlbsupport thread shows, there are many other ways to tell what streams they are actually sending out, so i certainly don't think they can blame the mlbviewer project for this (this just happens to be an easy way, and a script would be even easier). remember, this is a paid service, and to me that puts the burden on them to deliver what they promised. it would be quite something if they all of a sudden developed a problem with this project because it revealed their own deception, but i guess stranger things have happened.

edit: nice post over there now that you are already being a trouble maker, you might as well let us at that script...

Last edited by bosox; 05-14-2009 at 06:44 PM.
 
Old 05-14-2009, 06:49 PM   #1828
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
if you write it i will check it out. however, i don't want you to do anytime to jeopardize this project, because i think it is fantastic. i much prefer it to the official solution -- which says a lot about the work you have done here.

i can't see how this would bother them though. yes, they tried to pull a fast one on us, and now got caught with their hand in the cookie jar. but they had to have known that would happen eventually -- if not they severely underestimated their users. as that mlbsupport thread shows, there are many other ways to tell what streams they are actually sending out, so i certainly don't think they can blame the mlbviewer project for this (this just happens to be an easy way, and a script would be even easier). remember, this is a paid service, and to me that puts the burden on them to deliver what they promised. it would be quite something if they all of a sudden developed a problem with this project because it revealed their own deception, but i guess stranger things have happened.
I posted the Firebug method using Firefox to the support thread. Personally, I don't care for the 3000K stream that much to jeopardize the project. Now those who do care quite a bit about the 3000K stream will find the firebug method a lot easier than getting python + suds + python-xml (plus cygwin since most are Windows users) installed on their machines just to figure out what NexDef knows.

True, mlbviewer is really just giving Linux users the service they paid for. But...since MLB.com has made it known to me (a director at MLBAM sent me an email) that they are officially aware of the project (and haven't yet tried to shut it down), I'm not going to return their graciousness by poking them in the eye.

I'll let Firefox and Firebug do that for them.
 
Old 05-14-2009, 06:57 PM   #1829
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Script? What script?

mlbsupport isn't the only one who can delete posts.
 
Old 05-14-2009, 07:10 PM   #1830
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Script? What script?

mlbsupport isn't the only one who can delete posts.
hehe. well played sir! i can make an "adjustment" as well...

that is interesting that mlbam sent you an email. were they thanking your for your contribution, or putting you on notice that they have their eyes on you (think meet the parents)?

are you a premier customer? if you have a contact over there it would be great to get an official answer. i think most of the frustration in that thread is due to the fact that the forum support is either misinformed or is simply lying. if they needed more time to work on it, they should have come out and said that for a few weeks the hd stream would not be available. certainly that would have been better than the mess we are in now. we just want the service that we paid for (was the 3000k stream even 720p?), and at the beginning of the season those 3000k streams looked pretty damn good! and now with mlbviewer, all the stuttering issues are gone as well, so when (hopefully) the 3000k feed returns, the experience will be fantastic!

Last edited by bosox; 05-14-2009 at 07:14 PM.
 
  


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

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

All times are GMT -5. The time now is 06:52 AM.

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