LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 10-09-2010, 02:20 AM   #3121
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76

Can't look at it this weekend. Sorry. I'm away at a dance competition (e.g. what else I do for fun when I'm not watching baseball games.) Maybe next week. Use flash if you can.
 
Old 10-09-2010, 03:52 PM   #3122
berni42
LQ Newbie
 
Registered: Jul 2010
Posts: 16

Rep: Reputation: 0
Talking me2

[QUOTE=chrisVV;4120400]The Cincinatti-Philadelphia archive doesn't load for me with my MLB basic account. Debug reports this:

<snip>

I have a basic account here in UK. No joy here in recent days too. Sadly a test using soapevent is bombing out on yesturday's Braves @ Giants game (and others this week):

ipid = 29686670 fingerprint = zodsbTCBgixgS4H%2BSZ52ueUr44c%3D
session-key = N5nxBoTapX3bLx7x9yhrn8%2Ffvwk%3D
no session-key found in reply
Event-id = 14-286324-2010-10-08 and content-id = 12746633
url = None
play_path = None
<?xml version="1.0" encoding="utf-8" ?>
<fcs><ip>77.67.21.85</ip></fcs>
Traceback (most recent call last):
File "/home/elbournb/config/common/bin/soapevent.py", line 444, in <module>
cmd_str = recorder.replace('%s', '"' + game_url + '"')
TypeError: cannot concatenate 'str' and 'NoneType' objects

Strangely: debian squeeze, iceweasel and the latest 64 bit flash plugin from adobe plays the game fine directly off the mlb.com website. Now who would have predicted that - mlb.tv finally works on Linux

I presume the xml structures have changed again. Any chance of an update to fix the soapevent code?

Last edited by berni42; 10-09-2010 at 05:08 PM.
 
Old 10-10-2010, 08:50 AM   #3123
mkomko
Member
 
Registered: Mar 2010
Posts: 68

Rep: Reputation: 0
But it's weird. For me it works again for yesterday's games (October 9th)...
 
Old 10-10-2010, 11:43 AM   #3124
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
The two NL games on Friday and the two AL games yesterday both work for me. Let's see what happens with today's games.
 
Old 10-12-2010, 07:09 AM   #3125
berni42
LQ Newbie
 
Registered: Jul 2010
Posts: 16

Rep: Reputation: 0
Smile testing

Quote:
Originally Posted by chrisVV View Post
The two NL games on Friday and the two AL games yesterday both work for me. Let's see what happens with today's games.
Whew mlbviewer is doing fine here again. The problem remains with "test".

I checked out another svn copy today. soapvent.py 14-286331-2010-10-11 from the nexdef branch gives:

<snip>
url = None
play_path = None
<?xml version="1.0" encoding="utf-8" ?>
<fcs><ip>92.123.154.149</ip></fcs>
Traceback (most recent call last):
File "./soapevent.py", line 408, in <module>
cmd_str = recorder.replace('%s', '"' + game_url + '"')
TypeError: cannot concatenate 'str' and 'NoneType' objects

The trunk version gives this:

<snip>
url = [None, None]
play_path = None
<?xml version="1.0" encoding="utf-8" ?>
<fcs><ip>92.123.154.149</ip></fcs>
Traceback (most recent call last):
File "./soapevent.py", line 409, in <module>
cmd_str = recorder.replace('%s', '"' + game_url + '"')
TypeError: cannot concatenate 'str' and 'list' objects

Maybe nothing but could be a sign of trouble ahead?
 
Old 10-12-2010, 08:09 AM   #3126
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Well the first two of Sunday's games play, but the last (When Minnesota went out) will not play, except in its compacted form. Yesterday's game was OK.

So far, the only days on which there have been problems have been those on which 3 games are played. If that remains then we are OK, but I wouldn't count on it. I don't in fact think this a new issue. During the regular season there were occasional games that would not, and will not, play, but they were only a very small handful. There seems to be something in MLB.TV's stream identification protocol which mlbviewer occasionally misses with, but which unfortunately for some reason is more prevalent during this post-season.
 
Old 10-12-2010, 08:12 AM   #3127
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
When Minnesota went out
To avoid confusion I think that was Cincinatti's going out: anyway it was the last game on Sunday. (I am not going to look it up as I still have to watch the last few innings of last night's game. No spoilers please.)
 
Old 10-12-2010, 12:53 PM   #3128
berni42
LQ Newbie
 
Registered: Jul 2010
Posts: 16

Rep: Reputation: 0
Thumbs down Sunday

Quote:
Originally Posted by chrisVV View Post
To avoid confusion I think that was Cincinatti's going out: anyway it was the last game on Sunday. (I am not going to look it up as I still have to watch the last few innings of last night's game. No spoilers please.)
:-( Same here. mlbviewer debug shows this:

Traceback (most recent call last):aying...
File "/home/elbournb/config/common/bin/mlbviewer.py", line 1499, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "/home/elbournb/config/common/bin/mlbviewer.py", line 1193, in mainloop
u = g.url()
File "/home/elbournb/config/common/bin/nexdef2010/MLBviewer/mlbtv.py", line 1264, in url
content_list = self.parse_media_request(reply)
File "/home/elbournb/config/common/bin/nexdef2010/MLBviewer/mlbtv.py", line 1129, in parse_media_request
if 'in-market' in dict['coverage_type']:
KeyError: 'coverage_type'

soapevent gives:

<snip>
ipid = 29686670 fingerprint = b7gzsMqhUnG38RpN%2B7wLScyVf%2B0%3D
session-key = Tp%2Fto5jnLErKAtkOS1t0dhqpNoU%3D
no session-key found in reply
Event-id = 14-286325-2010-10-10 and content-id = 12776075
url = None
play_path = None
<?xml version="1.0" encoding="utf-8" ?>
<fcs><ip>92.123.154.149</ip></fcs>
Traceback (most recent call last):
File "/home/elbournb/config/common/bin/soapevent.py", line 444, in <module>
cmd_str = recorder.replace('%s', '"' + game_url + '"')
TypeError: cannot concatenate 'str' and 'NoneType' objects

Trouble ahead....
 
Old 10-16-2010, 05:06 PM   #3129
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Revision 268 (nexdef branch): Fixed test tools

Sorry I haven't replied in awhile.

I was at a swing dance competition last week and then came back super-sick with the cold from hell. I'm finally starting to feel like I can keep my head up for more than a few minutes at a time.

So what I've read of the last few messages here:

1. Test tools don't work. I knew this. The test tools used the SOAP methods to request media and somewhere in the middle of the season, they stopped supporting SOAP requests. I updated mlbviewer.py to use pure XML requests but I hadn't updated the test tools. The new test tools are:

nosoap.py : acts like soapevent.py writing to disk using rtmpdump alone
stdnosoap.py : acts like stdout.py playing the stream through mplayer

2. Archives don't work with three to a day. I may not look at this since there will no longer be three in a day.


I *might* spin off a branch for postseason.tv which would have a new hotkey to open a new screen and let you select the camera angle you want to watch. Since this would be a fair amount of new code for only a dozen or so games, I would much rather spin off a branch where I wouldn't have to worry about compatibility with the regular mlb.tv service (e.g. archives and live games for international users.)
 
Old 10-16-2010, 05:15 PM   #3130
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
PostSeason.TV using test tools for the ambitious/power users

You can use the new test/nosoap.py and test/stdnosoap.py to view camera angles if you are a postseason.tv subscriber.

Step 1. Find the event-id of the game you want to watch using mlblistings.py.

Step 2. Find the content-id of the camera angle by reading the multi-angle-epg.xml file located here (change for the url for the current day's games):

http://gdx.mlb.com/components/game/m..._angle_epg.xml

Step 3: For watching the stream via mplayer use test/stdnosoap.py <event-id> <content-id> , e.g. for today's Yanks/Rangers Centerfield cam:

Code:
$ test/stdnosoap.py 14-286324-2010-10-08 12825731
Maybe today but probably tomorrow, I'll try to spin off postseason.py that will auto-magically parse those multi-angle-epg.xml files.
 
Old 10-17-2010, 05:36 AM   #3131
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
Archives don't work with three to a day. I may not look at this since there will no longer be three in a day.
That is what happened earlier in the playoffs. Unfortunately it is not what is happening now. The second game last night (SF v Philadelphia) won't play.

If you could look at that it would be really appreciated.

Chris
 
Old 10-17-2010, 06:00 AM   #3132
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by chrisVV View Post
That is what happened earlier in the playoffs. Unfortunately it is not what is happening now. The second game last night (SF v Philadelphia) won't play.

If you could look at that it would be really appreciated.

Chris
Fixed.

Actually, it was the same problem. They added multi-angle listings in the media response for postseason.tv. These don't work in the archive so we were effectively getting "file not found" errors. There's an in_epg key that distinguishes between postseason.tv and regular mlb.tv. Added in code to select for only mlb.tv listings and now the SF @ Phi and Phi @ Cin game from 10/10/10 work.
 
Old 10-17-2010, 09:28 AM   #3133
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
Fixed.
That's great, thanks. As well as the archive, its also the live feed for viewers outside North America.

Chris
 
Old 10-18-2010, 12:59 AM   #3134
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Revision 271 (nexdef branch): PostSeason.TV support

Wasn't as dirty as I thought it would be so I kept it in the nexdef branch.

'P' (capital p) key will open a list of camera angles.

Contrary to what I said earlier, the camera angles do pan and zoom (within the limits of their angle.) They even have X-Mo angle for replays and Pitchtrax for pitch tracking graphics.

Quad mode angle is only for mobile devices so I have pruned it from the list. If you want to do your own quad mode, you'll need to open multiple mlbviewer windows and mute all but one mplayer window with the 'm' key. You'll probably have synchronization issues so pick the one you'll primarily watch as the first window, and open and mute any additional windows.

You'll need to be a PostSeason.TV subscriber (one-time $9.95 charge) to watch the camera angles. It's not bad to at least be able to watch/listen to something during the live game without being completely blacked out.

Anyway, I gave up about half my Sunday to this, so someone splurge on the ten bucks and give it a whirl.
 
Old 10-22-2010, 02:57 PM   #3135
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
So, I take it from the silence that everyone is happy with mlbviewer and its postseason support.

I've been watching the archives every night and the nights I get home early enough, I watch the PostSeason.TV coverage too. It's not nearly as good as watching the actual TV broadcast but it sure beats trying to get StreamTorrent to play some Japan ESPN stream of the game.

Has anyone else tried the new PostSeason.TV support in mlbviewer? Or is this like the bookmark feature (a cool feature that nobody uses)?
 
  


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 11:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


All times are GMT -5. The time now is 10:05 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration