LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2012, 02:59 AM   #3586
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by rmbellovin View Post
Hi, I'm getting a new error (new since this afternoon). I try to run mlbviewer.py, and it says it's logging in, then dies with the following message:



This is with revision 356. I tried reverting to 350 (which is what I had this afternoon, but I got the same result. Maybe it's because there are no games going on at the moment? mlblistings.py works fine, and mlbplay.py worked fine for the archived audio from today I tried (although it said it couldn't find the stream for the condensed was-nym game).
What setting do you have for speed in your ~/.mlb/config?

I'm guessing it's 800 as that was formerly the default. 800 is no longer supported for basic rate. Your choices for basic rate are 300, 500, 1200, 1800, or 2400. If you just comment speed out of your config file, it should default to 1200. Let me know if that fixes it. I'll add some defensive code around that line number to see if that's really the issue.
 
Old 03-29-2012, 03:33 AM   #3587
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 357: Defensive code for invalid speed= setting in config

If speed= setting in config file is invalid, an error message will appear saying, "Invalid speed in .config. Using speed=1200." and it will set the speed to 1200. If you use 'R' key to reload configuration and that speed value is still incorrect, it will print the same error message and set the speed to 1200.

Previous seasons, there was an 800K stream and that was the default even into the first few revisions this spring. Since you ran mlbviewer for the first time (when the initial config file is created) before I changed the default to 1200, it's very likely the config is set to speed=800.

The only other place where that particular line your error refers to can go wrong is if you entered something other than 'home' or 'away' in coverage= setting. But most people don't touch this setting since home or away can be toggled in mlbviewer with the 's' key.

If you still have problems after this revision, change 'debug=0' to debug=1 in ~/.mlb/config and post the error here.
 
Old 03-29-2012, 03:55 AM   #3588
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 359: Write/Read sessionkey file (Sourceforge candidate)

Not sure why I removed the saving of sessionkey but I'm restoring the writing and reading of the sessionkey file.

Those of you who were having sign-on restriction errors, please try starting mlbviewer, selecting a stream, quit, restart, and repeat. See if you get sign-on errors across mlbviewer restarts. The revision earlier should fix the problem of multiple streams during a single mlbviewer session. This revision, I hope, should fix the problem of sign-on restriction across multiple mlbviewer sessions. At least that's the plan.

I'm calling this a Sourceforge candidate build. If this fix works as I hope it will, then I'm uploading this revision to Sourceforge as the main download link. Of course, I will continue to check patches into SVN but the main download tarball is there for people who don't really care about day-to-day fixes or don't want to keep up with SVN or this thread. The sourceforge build is intended to last until the next time MLBAM changes something (which hopefully won't be for awhile.)
 
Old 03-29-2012, 09:36 AM   #3589
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Doh! Still got the restriction.

Here's the contents of:

~/.mlb/cookie: http://pastebin.com/a4Su4QgX
~/.mlb/cookielog: http://pastebin.com/sjj5CDwA
~/.mlb/sessionkey: http://pastebin.com/S8XJge2m
~/.mlb/session.xml: http://pastebin.com/0K5W8Z7Y
~/.mlb/log: http://pastebin.com/j40J55TQ

I hadn't cleared any of these before trying; I'll do so next time, and also post session.xml after each attempt.

Hopefully I'll also get a chance to debug that mlbhls -F thing a little further, but I may not get to that today...

Last edited by fang2415; 03-29-2012 at 09:38 AM.
 
Old 03-29-2012, 02:13 PM   #3590
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by fang2415 View Post
Doh! Still got the restriction.

Here's the contents of:

~/.mlb/cookie: http://pastebin.com/a4Su4QgX
~/.mlb/cookielog: http://pastebin.com/sjj5CDwA
~/.mlb/sessionkey: http://pastebin.com/S8XJge2m
~/.mlb/session.xml: http://pastebin.com/0K5W8Z7Y
~/.mlb/log: http://pastebin.com/j40J55TQ

I hadn't cleared any of these before trying; I'll do so next time, and also post session.xml after each attempt.

Hopefully I'll also get a chance to debug that mlbhls -F thing a little further, but I may not get to that today...
To clarify, you get the restriction within the same session (no mlbviewer restart) or across sessions? If you are getting it within the same session, we still have a problem. Across sessions might not be fixable even with the sessionkey file.

Well, you know how to hit it where it hurts, now don't do that. I'm working on adding more debug to see that I'm doing it right.

Last edited by daftcat; 03-29-2012 at 02:15 PM.
 
Old 03-29-2012, 08:20 PM   #3591
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
To clarify, you get the restriction within the same session (no mlbviewer restart) or across sessions? If you are getting it within the same session, we still have a problem. Across sessions might not be fixable even with the sessionkey file.
Yeah, this is with restarting mlbviewer in between each attempt. I tried again and backed up the cookie and session info before and after each try (although I missed the cookie before the first try).

Here's all that info:

session.xml (always the same until after it changes to a simple failure notice): http://pastebin.com/Y2DRJDer
cookielog: http://pastebin.com/LUtnvq9t
I missed cookie 0.
cookie 1: http://pastebin.com/w03yp9YD
cookie 2: http://pastebin.com/s5NECNxM
cookie 3: http://pastebin.com/C5KULevE

That third try is what I have after the restriction.

Still no ftmu info written anywhere that I can see...
 
Old 03-29-2012, 08:36 PM   #3592
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by fang2415 View Post
Yeah, this is with restarting mlbviewer in between each attempt. I tried again and backed up the cookie and session info before and after each try (although I missed the cookie before the first try).

Here's all that info:

session.xml (always the same until after it changes to a simple failure notice): http://pastebin.com/Y2DRJDer
cookielog: http://pastebin.com/LUtnvq9t
I missed cookie 0.
cookie 1: http://pastebin.com/w03yp9YD
cookie 2: http://pastebin.com/s5NECNxM
cookie 3: http://pastebin.com/C5KULevE

That third try is what I have after the restriction.

Still no ftmu info written anywhere that I can see...
How about cookielog?

ftmu you are not going to get until I figure out another page to get ftmu from. Getting the session-key from the first media reply seems to work alright. I think what's odd is that fprt (fingerprint) is changing (that's not that odd) so when you give the server the old session key with a new fingerprint, it objects, gives you a new session-key (which we handle just fine), and rings up your first strike. Three strikes, you're out.

Until I find another mlb.com web page you can get ftmu from, I think you're just going to have to limit your restarts. Keep an mlbviewer always open...as it should be.
 
Old 03-30-2012, 07:46 AM   #3593
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Cookielog should be the second link there. Unless you just meant that I didn't need to post all the other stuff!

No worries anyway, I can avoid restarting. It's still weird if you can do it and I can't, but really, meh.

Last edited by fang2415; 03-30-2012 at 07:47 AM.
 
Old 03-30-2012, 01:28 PM   #3594
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by fang2415 View Post
Cookielog should be the second link there. Unless you just meant that I didn't need to post all the other stuff!

No worries anyway, I can avoid restarting. It's still weird if you can do it and I can't, but really, meh.
Was searching google for ftmu last night and was reading the xbmc thread. It seems to be a difference between premium and basic/gameday subscribers. I guess premium gets to watch more.

Yeah, look for more debug added later this weekend. But I'm guessing I'm not really going to get anywhere with that. One thing I can and should do is toss out the session-key if the fingerprint has changed. I don't think that will really do anything for you though.
 
Old 03-30-2012, 07:39 PM   #3595
eival
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
hey guys, i was directed here from the ubuntuforums about this issue for future updates...


i just loaded up a preseason game today and see they rolled out a new version of their player, a few weeks ago it was still last years version, its larger by default, the non-nexdef quality bar has alot more levels than previous years of just 3, but when i loaded up last years method for running the jar file for mac (Nexdef version Autobahn 4.2.21.MLB_10_122) first off, i just had to F5 the popup window in chrome and it loads up very fast compared to the stupid "white line going to each base" process last year

how ever there was still only the 5 quality levels in Nexdef, like last year but all 5 levels looked drastically better, hardly no compression artifacts at all, even during fast action camera pans

so my question is,when the newer jar file comes out this year, will it just be as simple as putting it where i have the current version and when i load up the terminal code it will replace it, or will there need to be more to it?

and how exactly can you find the raw URL to download the jar file cause the download url on the mlb site is a popup process and after clicking it, a # sign is added at the end but nothing ever pops up and i cant save the jar file.

but apart from that, worst case scenario, would i be able to just keep using my current version of nexdef to watch this seasons games with perhaps just minor limitations(all of last years Nexdef options but no new ones(whatever those might be)) if the newer one cant be implemented?
 
Old 03-31-2012, 02:01 AM   #3596
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by eival View Post
hey guys, i was directed here from the ubuntuforums about this issue for future updates...


i just loaded up a preseason game today and see they rolled out a new version of their player, a few weeks ago it was still last years version, its larger by default, the non-nexdef quality bar has alot more levels than previous years of just 3, but when i loaded up last years method for running the jar file for mac (Nexdef version Autobahn 4.2.21.MLB_10_122) first off, i just had to F5 the popup window in chrome and it loads up very fast compared to the stupid "white line going to each base" process last year

how ever there was still only the 5 quality levels in Nexdef, like last year but all 5 levels looked drastically better, hardly no compression artifacts at all, even during fast action camera pans

so my question is,when the newer jar file comes out this year, will it just be as simple as putting it where i have the current version and when i load up the terminal code it will replace it, or will there need to be more to it?

and how exactly can you find the raw URL to download the jar file cause the download url on the mlb site is a popup process and after clicking it, a # sign is added at the end but nothing ever pops up and i cant save the jar file.

but apart from that, worst case scenario, would i be able to just keep using my current version of nexdef to watch this seasons games with perhaps just minor limitations(all of last years Nexdef options but no new ones(whatever those might be)) if the newer one cant be implemented?
This forum has really morphed into a project called "mlbviewer" which is an open source terminal based method of selecting games and launching them in an external player like mplayer2. For nexdef, this project doesn't use autobahn.jar anymore. I'm not sure what current version of autobahn.jar does anymore (been awhile since I decompiled it), but the nexdef streams are basically Apple's HTTP Live Streaming (HLS) protocol which is supported, at least by this project, with an external utility called mlbhls.

If trying something other than the Flash player and getting your hands slightly dirty with terminal stuff doesn't sound too scary to you, give it a day or two and I'll have the current development version packaged (and documented) for download on sourceforge.
 
Old 03-31-2012, 03:44 PM   #3597
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 360: Restored live_from_start functionality

A long time ago in a revision far far away...

Mlbviewer used to have this feature that would allow you to start live nexdef games from the beginning of the broadcast even before the game was finished and archived. The configuration file option is 'live_from_start'. If set to 1 or True, live nexdef games will open from the start of the broadcast. If false, you'll jump in wherever the action happens to be....otherwise known as a live broadcast.

Even if you have no interest in this feature, please update to this revision and tell me I didn't break anything.

If this last minute "fix" didn't break anything, revision 361 with updated documentation will go live as the main Sourceforge download later this weekend. This might be a new record to have a fully-functional Sourceforge release before Opening Day...well, North America Opening Day anyway.
 
Old 04-01-2012, 02:35 PM   #3598
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 364: Sourceforge release has gone live

I know it's April Fool's Day, but this is no joke.

The 2012 official release has gone live on Sourceforge!

Thanks guys for helping me test this release and get it ready for public download.

You all know how much time I put into this. If you would like to give back, I would happily accept a donation of any size. Please see the bottom of the README for my Paypal address.

Thanks to everyone who helped out this spring and everyone who has helped out over the years.
 
Old 04-02-2012, 07:52 PM   #3599
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Thread disappeared temporarily today but it has been restored.
 
Old 04-03-2012, 05:27 PM   #3600
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Is anyone else seeing the mlb hls option fail with a message "mlbhls failed - invalid option -F"? My player command is mlbhls -B aHR0cDovL21sYmxpdmUtbDNjLm1sYi5jb20vbHMwNC9tbGJhbS8yMDEyLzA0LzAzL01MQl
9HQU1FX1ZJREVPX1NFQUNPTF9IT01FXzIwMTIwNDAzL21hc3Rlcl93aXJlZC5tM3U4fEFJNFlWTllydX
lrYk5LNWdYTHlITXhWOXk1Yz18cGxheWJhY2s9SFRUUF9DTE9VRF9XSVJFRCZjb250ZW50SWQ9MjAzMT
M0MzMmYXBwQWNjb3VudE5hbWU9bWxiJmV2ZW50SWQ9MTQtMzMyNTY1LTIwMTItMDQtMDMmaXBpZD03Nz
c1MTUzJnNlc3Npb25LZXk9TVVOVmslMkZWeWlIdSUyQkhLTXpGd0h5UU90QkdNUSUzRA== -L -s 450
0000 -F 16:00:13 -o - | mplayer -cache 2048 -

for today's Mariners @ Rockies game.. they're in the 6th inning as I tried this. I get the same error and seg fault with archived games as well, with or without live from start.

Last edited by mchapter; 04-03-2012 at 06:05 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:18 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