Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After the datetime, the first two media tuples are home video and away video. The next two tuples are home audio and away audio. Within the tuple, it's (call letters, team id, content-id, event-id).
So to play the home audio from above, (call letters = KOA), content-id = 13717625 and event-id = 14-287072-2011-04-14:
Also, this morning during the first Mets-Rockies game, I could only get the Rockies radio broadcast. Right now, during the second game, I can only get the Mets radio broadcast.
What do you mean you could only get one or the other? Did the stream not connect, blackout error, or it always gave you one feed or the other no matter the stream ('s' key) selection?
I've verified that I can get both but I'm also working off archived games.
What do you mean you could only get one or the other? Did the stream not connect, blackout error, or it always gave you one feed or the other no matter the stream ('s' key) selection?
I've verified that I can get both but I'm also working off archived games.
Okay, I think I see what's going on now. I have some debug code in there that if you hit one of those blackouts again, I'll write a log of the full xml response in ~/.mlb/blackout. But I also see where I messed up in assuming the only listings would be audio listings. I've changed the "if" condition to check for MEDIA_ON (live games) and streamtype='video' which is passed in from the 'a' vs. Enter key rather than parsed from the reply. You shouldn't hit those blackouts anymore. If you do, post the contents of ~/.mlb/blackout to pastebin.com and send me the pastebin.com url.
I have verified that I can get both streams using test/gamedayaudio.py but something is not quite right in mlbviewer code. I'll look into that this weekend.
I also checked in login() retries since I was getting super annoyed by how many times I got the "Login unsuccessful" message. It will now retry the login three times removing the cookie each time it fails until it gets a successful login.
I think we're getting close to wrapping up all the basic and gameday audio bugs.
Just did some cleanup and renaming in test directory.
SOAP scripts have been removed.
test/gdaudio.py <event-id> <content-id> to play a gameday audio game
test/mlbgame.py <event-id> [content-id] to play an mlbtv game
test/mlbgamedl.py <event-id> [content-id] to download an mlbtv game
content-id is optional for all but gdaudio.py. event-id and content-id can be found from 'z' key debug in mlbviewer.py. event-id can be found from mlblistings.py as well.
NOTE: Downloading is not supported or encouraged. this script is merely to produce a sample file if you suspect there is an ffmeg/mplayer bug that needs to be reported.
Is anyone else having problems playing live games right now? I'm on the most up to date revision. When I try to play, for instance, the Blue Jays vs. Red Sox game (home broadcast stream), I get "rtmp server requested close" error. When I play the Texas Rangers vs. Yankees game I get an inmarket blackout error despite not being in the blackout region (I'm watching it now on Extra Innings - I'm in the Nationals/Orioles MASN blackout area). Twice I got a login error when trying to play a game.
Is anyone else having problems playing live games right now? I'm on the most up to date revision. When I try to play, for instance, the Blue Jays vs. Red Sox game (home broadcast stream), I get "rtmp server requested close" error. When I play the Texas Rangers vs. Yankees game I get an inmarket blackout error despite not being in the blackout region (I'm watching it now on Extra Innings - I'm in the Nationals/Orioles MASN blackout area). Twice I got a login error when trying to play a game.
Playing archived games and highlights work fine.
Actually, I just realized that my archived games cut out after a few minutes. Something definitely going on, but not sure if it is a problem with my account, my computer, mlbviewer, or on MLB's side.
Just did some cleanup and renaming in test directory.
Thanks, this seems to have resolved the problems I was having with gameday audio.
Quote:
Is anyone else having problems playing live games right now? I'm on the most up to date revision. When I try to play, for instance, the Blue Jays vs. Red Sox game (home broadcast stream), I get "rtmp server requested close" error. When I play the Texas Rangers vs. Yankees game I get an inmarket blackout error despite not being in the blackout region (I'm watching it now on Extra Innings - I'm in the Nationals/Orioles MASN blackout area).
Yeah, I'm getting rtmp close errors from everything except the Yankees-Rangers game, where I get an inmarket blackout message. But when I run test/mlbgame.py, I don't see any sign of a blackout notice.
Yeah, I'm getting rtmp close errors from everything except the Yankees-Rangers game, where I get an inmarket blackout message. But when I run test/mlbgame.py, I don't see any sign of a blackout notice.
OK, looks like you and me are having the same problems. I also ran mlbgame.py and saw no blackout notice.
Is anyone else having problems playing live games right now? I'm on the most up to date revision. When I try to play, for instance, the Blue Jays vs. Red Sox game (home broadcast stream), I get "rtmp server requested close" error. When I play the Texas Rangers vs. Yankees game I get an inmarket blackout error despite not being in the blackout region (I'm watching it now on Extra Innings - I'm in the Nationals/Orioles MASN blackout area). Twice I got a login error when trying to play a game.
Playing archived games and highlights work fine.
Just fixed that and checked it in. Seems there are two "app" settings for the RTMP that work for live games and if I send the wrong one, you get "rtmp server requested close". Fortunately, it's really easy to tell from the rtmp url which app to setting to send.
Unfortunately I get a "Parser Problem with Listings Page" error when I start mlbviewer in the nexdef2010-branch:
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 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 207, in mainloop
raise Exception, detail
KeyError: '2011'
Does anyone have an idea how to fix this?
Thanks,
markus
That was the very first bug fixed this pre-season. Make sure you've done an "svn up" or double check that you are actually using the nexdef2010 branch.
Thanks, this seems to have resolved the problems I was having with gameday audio.
Yeah, I'm getting rtmp close errors from everything except the Yankees-Rangers game, where I get an inmarket blackout message. But when I run test/mlbgame.py, I don't see any sign of a blackout notice.
If you are not in the NYY or TEX blackout region, please post the contents of ~/.mlb/blackout to pastebin.com (do not post it here) and then post the pastebin.com URL here. I added the blackout file a couple of days ago to debug these inappropriate blackout issues.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.