LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MLB.TV in Linux (https://www.linuxquestions.org/questions/linux-software-2/mlb-tv-in-linux-432479/)

mchapter 06-02-2010 05:09 PM

Quote:

Originally Posted by swordthrower (Post 3990296)
So, I've noticed that if I pause the stream, for literally just a few seconds once I start it playing, this issue doesn't seem to re-occur. I'm assuming what's happening is that more video is being shoved into the buffer, and so it never gets into the choppy stage since there's a little bit of wiggle room for the stream to be buffered.... But the fact is I have no idea why it works! It just does.

The normal mplayer command has a -cache parameter, if I remember correctly you're using flv, so you should look up what the equivalent command is and have it buffer up some.

Code:

mplayer -cache 2048

poorboywilly 06-03-2010 12:05 AM

Quote:

Originally Posted by mchapter (Post 3990524)
The normal mplayer command has a -cache parameter, if I remember correctly you're using flv, so you should look up what the equivalent command is and have it buffer up some.

Code:

mplayer -cache 2048

The vlc analog (in the case of non-nexdef streams) would be "--file-caching=x" where x is length of the cache in ms.

kweisen 06-15-2010 07:40 PM

Did something change? I'm unable to hear active and more recent games - I'm only using gameday audio. When I launch, I get:

An error occurred in locating the game stream:

Requested stream is not available.

Requested coverage association: 134

Available content list =

If I go back to June 8th and previous, the archived games start up, but from June 9th on - no luck. I am on svn 253.

Theophile 06-16-2010 08:25 AM

Quote:

Originally Posted by kweisen (Post 4004846)
Did something change? I'm unable to hear active and more recent games - I'm only using gameday audio. When I launch, I get:

An error occurred in locating the game stream:

Requested stream is not available.

Requested coverage association: 134

Available content list =

If I go back to June 8th and previous, the archived games start up, but from June 9th on - no luck. I am on svn 253.

I'm seeing the same thing.

Haffalump 06-17-2010 11:38 AM

Hi all!

I'm new to the mlbviewer, trying to get it work.
rtmpdump work fine, now trying nexdef

but unfortunately unable to download autobahn.jar from mlb.com
says "Forbidden
Your client is not allowed to access the requested object. "

is there workaround for this?

daftcat 06-17-2010 08:09 PM

Quote:

Originally Posted by Haffalump (Post 4006704)
Hi all!

I'm new to the mlbviewer, trying to get it work.
rtmpdump work fine, now trying nexdef

but unfortunately unable to download autobahn.jar from mlb.com
says "Forbidden
Your client is not allowed to access the requested object. "

is there workaround for this?

Yes and no.

I've alerted my contact at MLBAM so hopefully the link will be fixed soon.

In the meantime, if you want that file, download the Mac OS X installer from MLB.com (probably need to use a User-Agent switcher to make your browser look like a Mac unless you can find a direct download link.) Then use 7-Zip either on Windows or via wine to either extract the Archive.pax file or if you can get all the way down to the autobahn.jar file, that's the one you want. The last time I tried this, it wouldn't let me extract the autobahn.jar file itself but had no problem opening up the jar and browsing that. That's not what you want.

If you get the Archive.pax file, you can do the following:

Code:

$ pax -r < Archive.pax
This will create a directory called Library. I don't remember the exact path, but use find or just browse through it to find the autobahn.jar file:

Code:

$ find Library -name autobahn.jar -print

daftcat 06-17-2010 08:11 PM

Quote:

Originally Posted by kweisen (Post 4004846)
Did something change? I'm unable to hear active and more recent games - I'm only using gameday audio. When I launch, I get:

An error occurred in locating the game stream:

Requested stream is not available.

Requested coverage association: 134

Available content list =

If I go back to June 8th and previous, the archived games start up, but from June 9th on - no luck. I am on svn 253.

Too busy to look at this. Might not get to it until next week.

If anyone wants to take a stab at figuring it out, look at test/gamedayaudio.py and use that tool (with the E: number from mlblistings.py) to get an idea of what's coming from and going to the server.

I will happily accept a patch to my yahoo account (grep yahoo README) or you can wait until next week when I have more time to look into this.

kweisen 06-17-2010 09:31 PM

Quote:

Originally Posted by daftcat (Post 4007065)
Too busy to look at this. Might not get to it until next week.

If anyone wants to take a stab at figuring it out, look at test/gamedayaudio.py and use that tool (with the E: number from mlblistings.py) to get an idea of what's coming from and going to the server.

I will happily accept a patch to my yahoo account (grep yahoo README) or you can wait until next week when I have more time to look into this.

Getting same error this evening. The following is after I put mlbviewer into DEBUG:

[Kim@localhost mlbviewer-svn]$ python mlbviewer.py
Traceback (most recent call last):
File "mlbviewer.py", line 1545, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1237, in mainloop
u = g.soapurl()
File "/home/Kim/mlbviewer-svn/MLBviewer/mlbtv.py", line 1314, in soapurl
raise Exception,self.error_str
Exception: Requested stream is not available.

Requested coverage association: 118

Available content list =
[]

Whenever you get a chance - thanks. I will also keep pecking away at it.

Wolfvorkian 06-17-2010 10:44 PM

audio alternative
 
In case some have missed it,this link lets you use an embedded audio player for audio avoiding the the overkill of listening via the flash player.

http://mlb.mlb.com/media/player/mpa/index.jsp

dylanb02 06-19-2010 01:30 PM

I am also unable to download the jar file for NextDef. Would someone be able to send me a copy or upload it somewhere as a mirror? dylanb@umich.edu

Haffalump 06-19-2010 02:01 PM

daftcat
thanks, everything worked

but mlbviewer say that nexdef is not supported in 2010 yet
so, why do I need it at all? :)

onuhwt 06-19-2010 02:21 PM

Can't get autobaihn.jar
 
Hey guys, first let me say thanks for all your hard work, I love the program, I've been using the standard def version all year and figured I'd try out nexdef now since Ortiz is hitting 268.

But today when I download the autobauhn.jar file from http://www.mlb.com/nexdef-jars/ and I run the md5 checksum I'm not getting a valid value, and when I run the (obviously corrupt) file it gives me an error saying invalid or corrupt file. I've tried re-downloading the file a couple times with the same result. I've tried to find where to download the mac version so I could extract it myself. I go to the mlb.tv download center page but I think MLB webpage recognizes that I'm on a linux system and doesn't let me download the nexdef plugin. Any ideas if I'm doing something wrong? or could someone direct me to where I can get the Mac nexdef file so I can extract the autobauhn.jar file?

Thanks

daftcat 06-20-2010 01:17 AM

Nexdef and autobahn.jar
 
First, guys, please don't mirror the autobahn.jar file. I've already informed my MLBAM contact that the permissions on the unofficial page are not correct. I will look for a direct Mac download link and post some instructions when I get a chance.

For gameday audio, I have an idea why it's not working but not the time to fix it yet.

Please be patient. I've been out of town the past couple of weekends (and I'll be out of town half of this week as well.) When things calm down a bit, I'll fix the gameday bug and get some autobahn.jar instructions posted.

In the meantime, one of you regulars, please help out with the question about nexdef branch ("Nexdef not supported") above. Also, if you know how to find and extract the mac package, please post those instructions too. Thanks!

Haffalump 06-20-2010 01:40 AM

REgarding how to get autobahn.jar, what did I:
- get User agent add-on for firefox
- change useragent to Safary MAc
- go to MLb.com download center and press dowbload nexdef - based on your useragent it propose you to download .dmg file for MAC
- open .dmg with 7zip (I used WIn version) and extract Archive.pax
- and did as recommended daftcat above -

$ pax -r < Archive.pax
to extract Library folder

$ find Library -name autobahn.jar -print
to find needed file in Library folder

now I'm waiting the answer how to use the .jar I got wit mlbviewer :)

poorboywilly 06-20-2010 12:11 PM

Quote:

Originally Posted by Haffalump (Post 4009086)
REgarding how to get autobahn.jar, what did I:
- get User agent add-on for firefox
- change useragent to Safary MAc
- go to MLb.com download center and press dowbload nexdef - based on your useragent it propose you to download .dmg file for MAC
- open .dmg with 7zip (I used WIn version) and extract Archive.pax
- and did as recommended daftcat above -

$ pax -r < Archive.pax
to extract Library folder

$ find Library -name autobahn.jar -print
to find needed file in Library folder

now I'm waiting the answer how to use the .jar I got wit mlbviewer :)

With 7-Zip "file manager" I was able to double click Archive.pax and navigate into it and extract autobahn.jar using only 7-zip. One less step.

Quote:

but mlbviewer say that nexdef is not supported in 2010 yet
so, why do I need it at all?
You don't. You can watch the games perfectly fine without nexdef and you don't have to go to all the trouble of downloading the jar and running it. If you have a premium account and want to use nexdef, then you must acquire the "nexdef branch" of the mlbviewer source code. The reason for this is that it is considered "unstable", so daftcat is developing this years nexdef changes separate from the code which runs the "normal" mlbviwer, which by all appearances is quite stable. To do this, run the command
Code:

svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 dest
where "dest" is the directory you want to put the source in. Now, run the jar thusly:
Code:

java -jar autobahn.jar
and make sure "use_nexdef=True" is in ~/.mlb/config, and run "python mlbviwer.py" in the directory you checked out the nexdef code in. You should now be using nexdef.


All times are GMT -5. The time now is 08:33 PM.