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.
Hi folks!
Hopefully I can get some help: Now that's postseason I get the message "An error occurred in locating the game stream. BLACKOUT - MLB_NON_US_BLACKOUT"
Why? I'm watching in Germany, so no Blackout restrictions for me...
Can I change something in the config or something...?
Hi folks!
Hopefully I can get some help: Now that's postseason I get the message "An error occurred in locating the game stream. BLACKOUT - MLB_NON_US_BLACKOUT"
Why? I'm watching in Germany, so no Blackout restrictions for me...
Can I change something in the config or something...?
Thanks in advance!
Lars
Look in the debug section of one of the readme files to produce a log using mlbgameid.py with the event id. Post the log to pastebin.com and the pastebin URL here. There is a possibility that although the response has a blackout code, it is also returning a game URL. If that is the case, I can fix that. Otherwise, you will have to contact MLB.TV support to find out why you are being blacked out.
You may also want to check the MLB.TV or Postseason.TV subscription pages to see if you MLB wants more money from you to see the postseason.
Thank you for helping!! :-)
I hope I understood everything right, so you get the right information...
I used mlbgamedl.py to download one of yesterdays games (10-09-12), copied the terminal message and posted it on pastebin.com (never been there before... ). Here's the URL: http://pastebin.com/0vVd0vFK
Hope it helps...
Last edited by larshenric; 10-10-2012 at 05:28 AM.
Thank you for helping!! :-)
I hope I understood everything right, so you get the right information...
I used mlbgamedl.py to download one of yesterdays games (10-09-12), copied the terminal message and posted it on pastebin.com (never been there before... ). Here's the URL: http://pastebin.com/0vVd0vFK
Hope it helps...
Unfortunately, some of the content filtering available in mlbviewer is not in mlbgame.py. mlbgame.py is just test code after all and meant to be quick and dirty. When using just the event-id, the first content-id code that I am picking up is a postseason.tv multi-angle code which is not supported outside the US.
However, you can try again by manually specifying the content-id as the second argument. The content-id is the 8 digit number that precedes the event-id in the preferred media section. For example, using the 'z' key for 10-09-12 Oakland game:
Code:
preferred media for current cursor:
{'audio': ('KGMZ', u'133', '25360695', '14-345598-2012-10-09'), 'video': ('TBS-H
D', '0', '25360699', '14-345598-2012-10-09')}
So the event-id above is 14-345598-2012-10-09 and the content-id is 25360699.
Please create another pastebin.com log with mlbgamedl.py using the following command:
Code:
./mlbgamedl.py 14-345598-2012-10-09 25360699
If that works, you can use that for future games while I try to figure out why the content filtering is not working correctly. If it doesn't the log should help me figure out what's going on. Either way, please post the log so I can see what your response looks like when the correct content is selected.
With your described way mlbgamedl.py works. That's fine for me - as I already wrote earlier... ;-)
And I managed to get mlbviewer work, too, doing the following:
I changed the config file by typing a "1" behind "postseason=" and behind "blackout="
With your described way mlbgamedl.py works. That's fine for me - as I already wrote earlier... ;-)
And I managed to get mlbviewer work, too, doing the following:
I changed the config file by typing a "1" behind "postseason=" and behind "blackout="
I'm honestly not sure how either one fixed your problem. Postseason flag should only be used for accessing the US-only Postseason.TV (it gets set automatically when you select a camera angle from the 'P'ostseason screen.
Blackout is not a boolean variable. It should only accept teamcodes listed in the README. And the code that uses the blackout flag only looks at geographic blackouts for US and Canada users living in the blackout region of a team. Really, I believe the only thing that blackout flag does is set the status to "Blackout."
I am willing to accept that there may be a bug in the content filtering code that is incorrectly filtering out valid content during the postseason. Or there may be extra flags in the reply from MLB.TV during the postseason that is marking a stream as 'mlb_multiangle_epg' (an extra camera angle) when it is really just the normal stream.
However, since I am a US user, I can't really do any testing myself. If you could please post the successful log using the content-id I gave in my previous reply, I can try to fix that bug for other international users. I feel a little silly telling them to exploit a bug in my own code by setting postseason=1.
As for blackout, I recommend setting that back to empty (blackout=) Otherwise, having an invalid value of "1" in there might come back to hurt you next season when those regional blackout codes will be used again.
Thanks! And I'm glad it's working for you even if I can't explain how.
Are you accessing the streams normally or are you using the Postseason.TV ('P' key) camera angles (which shouldn't even be available to you in Germany)?
If you are accessing the streams normally, I'm confused why setting postseason=1 works for you and would love to see a successful log.
If you are accessing the streams through the 'P' screen, then that would explain why postseason=1 works but that also confuses me that it didn't just work without having to set the flag in the config since that 'P' screen code already does that.
And of course I want to help as much as I can.
First: No, I'm not using Postseason.TV... I've got the ordinary mlb.tv account...
Second: Here's the pastebin URL with the log for the Oakland game download using mlbgamedl.py: http://pastebin.com/en4VkcCz
And here for a successful log of last night's BAL-NYY game 5 using mlbviewer.py: http://pastebin.com/d0vA2Wpk
Originally Posted by larshenric View Post
Hi daftcat!
With your described way mlbgamedl.py works. That's fine for me - as I already wrote earlier... ;-)
And I managed to get mlbviewer work, too, doing the following:
I changed the config file by typing a "1" behind "postseason=" and behind "blackout="
Quote:
Originally Posted by daftcat
I'm honestly not sure how either one fixed your problem. Postseason flag should only be used for accessing the US-only Postseason.TV (it gets set automatically when you select a camera angle from the 'P'ostseason screen.
Setting 'postseason=1' is necessary for the international feed to work. See http://www.linuxquestions.org/questi...ml#post4487574 . In fact, I leave it enabled the whole season so that I don't forget when the post season arrives: it doesn't affect regular season parsing.
Setting 'postseason=1' is necessary for the international feed to work. See http://www.linuxquestions.org/questi...ml#post4487574 . In fact, I leave it enabled the whole season so that I don't forget when the post season arrives: it doesn't affect regular season parsing.
Chris
Good memory! Better than mine.
Now if only there was a way to convince TBS to carry the NLCS and WS or convince Fox to allow Postseason.TV to work.
So yeah, international users (outside of North America) can likely leave postseason=1 in config file all year round. Most of the blackout rules are only enforced for US and Canada.
Lars, so Chris found the answer. "postseason=1" is the correct fix for international users due to the way MLB.TV constructs their responses in the postseason. You can blank out "blackout=" in your config to avoid any unintended side-effects in regular season. This config option is not a boolean (1 or 0) but rather takes a teamcode. Since blackout rules aren't going to based on geography in Germany, you don't need this option at all.
Hey guys! Not much to report yet except that Sourceforge did an upgrade and I chose to upgrade my project to their new system (actually, I'm not sure there was a choice. )
2012 has been branched off and what will eventually be 2013 can be checked out from the trunk using the new repository URL. I don't think a "svn up" from your current checkout will work any more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.