LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-31-2011, 07:02 PM   #3226
rmbellovin
LQ Newbie
 
Registered: Apr 2010
Posts: 21

Rep: Reputation: 0

Quote:
I can improve the error reporting (probably not until the weekend) to report this status instead of a "what happened here?" error. But that doesn't really help you. It is strange that games are working for you now but weren't before. Can you retry to other games if they are still in progress? I'm not sure what the fix is. My guess is that MLB.TV support won't help you if you are not using their Flash application.
I haven't been able to watch any live games today, although audio is now working (and I can watch the archived games). You're right that being wrongly blacked out is part of what's going on; to see if they can figure out where you are, go to http://www.mlb.com/mlb/subscriptions/blackout.jsp. I did call up Customer Services to tell them I was getting blackout notices when I shouldn't be; they were perfectly happy to manually tell their system my actual zip code. At that point, though, I got the same debug message, with test/stdnosoap.py output pasted at http://pastebin.com/qbLS31VH. I tried logging in and out on the website and deleting my cookie file, and then started getting test/stdnosoap.py output that mentioned blackouts again. I'm going to try again from work tomorrow, where they should be able to figure out my location (I've run out of games today that I'm not legitimately blacked out from...).
 
Old 04-01-2011, 03:57 AM   #3227
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by rmbellovin View Post
You're right that being wrongly blacked out is part of what's going on; to see if they can figure out where you are, go to http://www.mlb.com/mlb/subscriptions/blackout.jsp.
If this is what MLBTV are using, then it sometimes provides randomly bogus results for my IP address (that is, the IP address reported by http://checkip.dyndns.com/ I know to be right, and the one reported by http://www.mlb.com/mlb/subscriptions/blackout.jsp is inconsistent: sometimes right, sometimes wrong). Yesterday evening it said it could not determine where I was (and gave the wrong IP address); 10 minutes ago it said I was on the west coast within the LA blackout zone and also gave the wrong IP address; right now it is giving the correct address, and correctly says that I am in Europe.
 
Old 04-01-2011, 08:47 AM   #3228
akhill44
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Sorry about that. The version on sourceforge is very old. I'll update that soon. In the meantime, go ahead and trash that mlbviewer you just downloaded and use svn to grab the latest development release off the nexdef2010 branch:

Code:
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 nexdef2010
You'll also need rtmpdump, probably 2.2d but maybe 2.3 works as well. Google it to find it.

Setuptools, pyxml, python-dev, java, that's all good.

Not sure if NEXDEF will work just yet. It's only Opening Day and they haven't been streaming in HD during Spring Training. Set use_nexdef=False in the config file. All the speeds selected with the 'p' key should be supported (but no guarantees this early in the season.)
Just wanted to follow up. First, thanks for the quick reply - the latest version from svn and rtmpdump got me up and running. rtmpdump 2.3 is working fine (which is convenient because as of Ubuntu 10.10 (possibly earlier), it is already in the repositories). Next step is to get this streaming on my LAN (VLC seems to be the way to go here, but I'm open to suggestions) so I can watch it on my TV through my XBox 360. Any pointers on that would be much appreciated.
 
Old 04-01-2011, 12:48 PM   #3229
bravesfan117
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
I can't seem to get NexDef working. I run the autobahn jar, and jetty starts up just fine, but everytime I try to load a stream in nexdef mode it simply tells me "Nexdef reports that requested stream is not available." In debug I get the following traceback:

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 1239, in mainloop
u = g.url()
File "/home/seabold/nexdef2010/MLBviewer/mlbtv.py", line 1365, in url
return self.nexdef_flash_url(self.nexdef_url(game_url))
File "/home/seabold/nexdef2010/MLBviewer/mlbtv.py", line 1387, in nexdef_url
raise Exception,self.error_str
Exception: Nexdef reports that requested stream is not available.

rtmpdump streams work just fine.
 
Old 04-01-2011, 01:46 PM   #3230
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bravesfan117 View Post
I can't seem to get NexDef working. I run the autobahn jar, and jetty starts up just fine, but everytime I try to load a stream in nexdef mode it simply tells me "Nexdef reports that requested stream is not available." In debug I get the following traceback:

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 1239, in mainloop
u = g.url()
File "/home/seabold/nexdef2010/MLBviewer/mlbtv.py", line 1365, in url
return self.nexdef_flash_url(self.nexdef_url(game_url))
File "/home/seabold/nexdef2010/MLBviewer/mlbtv.py", line 1387, in nexdef_url
raise Exception,self.error_str
Exception: Nexdef reports that requested stream is not available.

rtmpdump streams work just fine.
Is nexdef working with the official flash player yet? In past seasons, nexdef didn't work with the official player until May.

Even so, I'm not sure whether I'll support nexdef this year. It may be a best-effort, as-is feature. They keep changing the way they use the nexdef plugin that it's not as reliable as it was in seasons past. I don't know yet. Stay tuned but don't expect Nexdef working until May.
 
Old 04-01-2011, 01:50 PM   #3231
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by akhill44 View Post
Just wanted to follow up. First, thanks for the quick reply - the latest version from svn and rtmpdump got me up and running. rtmpdump 2.3 is working fine (which is convenient because as of Ubuntu 10.10 (possibly earlier), it is already in the repositories). Next step is to get this streaming on my LAN (VLC seems to be the way to go here, but I'm open to suggestions) so I can watch it on my TV through my XBox 360. Any pointers on that would be much appreciated.
I hope someone else responds to this because vlc streaming to xbox is beyond the scope of this project. In other words, something I've never tried and not willing to support (unless you want to donate a TV and an Xbox to me.)
 
Old 04-02-2011, 03:32 AM   #3232
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
The streams are working great.

But the condensed game functionality doesn't seem to be working. It looks like MLBViewer isn't receiving a URL and tries to call the player command with an empty URL string.

Thanks in advance if you can spare the time to look at it! ;-)
 
Old 04-02-2011, 10:13 AM   #3233
akhill44
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
I hope someone else responds to this because vlc streaming to xbox is beyond the scope of this project. In other words, something I've never tried and not willing to support (unless you want to donate a TV and an Xbox to me.)
I didn't mean to imply that I expected you to support this - I'm thankful for all of the work you've put into the project so far. I was more or less hoping that someone else in this thread was a VLC pro or had otherwise already addressed this. I've been unsuccessful so far, but I'll report back if I'm able to get it working.
 
Old 04-02-2011, 01:44 PM   #3234
etamme
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
cant play cubs home stream

Im watching the live cubs pirates game (1:05 pm EST 4/2/2011 ) I have tried changing streams (s hot key) between home and away before launching the player, but no matter what comes up with the away (pirates) stream regardless of whether it says "HOME" or "AWAY" in the lower right of the interface. I turned on debug for the player command and this is what i get

rtpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.live.edgefcs.net/live/mlb_c25_s1200@s21158?aifp=v0006&au
th=da.d8bSaicecMcDafaFcAbHcednaCccbAcg-bnL2Zd-O-BopDIpzwsqDjGq-lck5lbmcjklekelemakgjalflllcjbjfljk6lamdjhl5ke
lg&ct5=02-Apr-11&ct6=68.198.154.35&ct7=13335885:FLASH_1200K_800X448&ct8=1&ct1=mlb&ct3=24773357&ct4=mlb" -y "m
lb_c25_s1200@s21158?aifp=v0006&auth=da.d8bSaicecMcDafaFcAbHcednaCccbAcg-bnL2Zd-O-BopDIpzwsqDjGq-lck5lbmcjklek
elemakgjalflllcjbjfljk6lamdjhl5kelg&ct5=02-Apr-11&ct6=68.198.154.35&ct7=13335877:FLASH_1200K_800X448&ct8=1&ct
1=mlb&ct3=24773357&ct4=mlb" -a "live?_fcs_vhost=cp65670.live.edgefcs.net&akmfv=1.6" -s http://mlb.mlb.com/fla
sh/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4 -d mlb_c25_s1200@s21158 -v | mplayer -cache 10240 -really-quiet -



I went to mlb.com/mediacenter to check the content id of the cubs stream (chicago sports net) and see that it is 13335885, but mlbviewer is always pulling 13335877.

I am unsure why it is doing this. I have watched yankees games on the home feed and it pulled it fine. Any help is appreciated.

Thanks,
Eric
 
Old 04-02-2011, 01:52 PM   #3235
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 274 fixes the off by an hour bug in the listings.

---------- Post added 04-02-11 at 11:53 AM ----------

Quote:
Originally Posted by mkomko View Post
The streams are working great.

But the condensed game functionality doesn't seem to be working. It looks like MLBViewer isn't receiving a URL and tries to call the player command with an empty URL string.

Thanks in advance if you can spare the time to look at it! ;-)
Condensed games used 1000K stream last year and are now 1200K. I fixed the pattern to match.

Condensed games are now working in revision 275.

Last edited by daftcat; 04-02-2011 at 02:43 PM.
 
Old 04-02-2011, 02:08 PM   #3236
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by etamme View Post
Im watching the live cubs pirates game (1:05 pm EST 4/2/2011 ) I have tried changing streams (s hot key) between home and away before launching the player, but no matter what comes up with the away (pirates) stream regardless of whether it says "HOME" or "AWAY" in the lower right of the interface. I turned on debug for the player command and this is what i get

rtpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.live.edgefcs.net/live/mlb_c25_s1200@s21158?aifp=v0006&au
th=da.d8bSaicecMcDafaFcAbHcednaCccbAcg-bnL2Zd-O-BopDIpzwsqDjGq-lck5lbmcjklekelemakgjalflllcjbjfljk6lamdjhl5ke
lg&ct5=02-Apr-11&ct6=68.198.154.35&ct7=13335885:FLASH_1200K_800X448&ct8=1&ct1=mlb&ct3=24773357&ct4=mlb" -y "m
lb_c25_s1200@s21158?aifp=v0006&auth=da.d8bSaicecMcDafaFcAbHcednaCccbAcg-bnL2Zd-O-BopDIpzwsqDjGq-lck5lbmcjklek
elemakgjalflllcjbjfljk6lamdjhl5kelg&ct5=02-Apr-11&ct6=68.198.154.35&ct7=13335877:FLASH_1200K_800X448&ct8=1&ct
1=mlb&ct3=24773357&ct4=mlb" -a "live?_fcs_vhost=cp65670.live.edgefcs.net&akmfv=1.6" -s http://mlb.mlb.com/fla
sh/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4 -d mlb_c25_s1200@s21158 -v | mplayer -cache 10240 -really-quiet -



I went to mlb.com/mediacenter to check the content id of the cubs stream (chicago sports net) and see that it is 13335885, but mlbviewer is always pulling 13335877.

I am unsure why it is doing this. I have watched yankees games on the home feed and it pulled it fine. Any help is appreciated.

Thanks,
Eric

A few things I can think of.

The 'z' key debug will show you the internal representation of the listing. For example, a 1200K dump of this game shows:

Code:
LISTINGS DEBUG FOR 2011/04/02/pitmlb-chnmlb-1
───────────────────────────────────────────────────────────────────────────────
getListings() for current_cursor:
({'home': u'chc', 'away': u'pit'}, datetime.datetime(2011, 4, 2, 10, 5), [('CSC-
HD', u'112', '13335885', '14-286921-2011-04-02'), ('ROOT-HD', u'134', '13335877'
, '14-286921-2011-04-02')], [('WGN', u'112', '13335891', '14-286921-2011-04-02')
, ('WPGB', u'134', '13335883', '14-286921-2011-04-02')], [], 'I', u'2011/04/02/p
itmlb-chnmlb-1', u'media_on')
Do you see both CSC-HD and ROOT-HD in your 'z' output?

Second, home and away, at least according to the media center, seems to be a premium feature whereas basic only gets one choice. Are you premium or basic?

Third, video_follow config file option overrides this. If you have video_follow configured for 'pit', you'll always get whichever stream is 'pit' regardless of the HOME or AWAY selection using 's' key. I doubt you have done this, but I thought I'd throw it out just for completeness sake.

Are you able to get the away stream from the website?

Finally, since you already know the content-id you are after, you can use the test script to grab that stream:

Code:
$ test/stdnosoap.py 14-286921-2011-04-02 13335885

Last edited by daftcat; 04-02-2011 at 02:10 PM.
 
Old 04-02-2011, 02:42 PM   #3237
dovf
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Rep: Reputation: 1
Quote:
Originally Posted by mkomko View Post
The streams are working great.

But the condensed game functionality doesn't seem to be working. It looks like MLBViewer isn't receiving a URL and tries to call the player command with an empty URL string.

Thanks in advance if you can spare the time to look at it! ;-)
Yeah, I saw this too. It seems like the 'playback_scenario' string has slightly changed -- 1200K instead of 1000K. The patch below fixed it for me. Note that this is against the old (non-nexdef2010) branch, but I imagine something similar can be applied to the new branch as well...

Code:
diff -r f918f81f68a9 MLBviewer/mlbtv.py
--- a/MLBviewer/mlbtv.py        Sat Jul 31 23:55:27 2010 +0300
+++ b/MLBviewer/mlbtv.py        Sat Apr 02 21:36:59 2011 +0300
@@ -775,7 +776,7 @@
             self.error_str += '\n\n' + str(detail)
             raise
         for url in media.getElementsByTagName('url'):
-            if url.getAttribute('playback_scenario') == 'FLASH_1000K_640X360':
+            if url.getAttribute('playback_scenario') == 'FLASH_1200K_640X360':

                 out = str(url.childNodes[0].data)
         return out
 
Old 04-02-2011, 02:44 PM   #3238
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 275 Fixed condensed games
 
Old 04-02-2011, 02:49 PM   #3239
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dovf View Post
Yeah, I saw this too. It seems like the 'playback_scenario' string has slightly changed -- 1200K instead of 1000K. The patch below fixed it for me. Note that this is against the old (non-nexdef2010) branch, but I imagine something similar can be applied to the new branch as well...

Code:
diff -r f918f81f68a9 MLBviewer/mlbtv.py
--- a/MLBviewer/mlbtv.py        Sat Jul 31 23:55:27 2010 +0300
+++ b/MLBviewer/mlbtv.py        Sat Apr 02 21:36:59 2011 +0300
@@ -775,7 +776,7 @@
             self.error_str += '\n\n' + str(detail)
             raise
         for url in media.getElementsByTagName('url'):
-            if url.getAttribute('playback_scenario') == 'FLASH_1000K_640X360':
+            if url.getAttribute('playback_scenario') == 'FLASH_1200K_640X360':

                 out = str(url.childNodes[0].data)
         return out
Ha! I fixed this and checked it in already before I saw this.

The old mlbviewer trunk is not being supported. To make matters worse, I will likely create a nexdef2011 branch. At some point this month, I will check in a stable nexdef2011 into mlbviewer trunk and also update the sourceforge release.

I'm actually a tester by trade so I only have so much experience with and motivation for the nuances of version control, branches, trunks, etc.
 
Old 04-02-2011, 03:13 PM   #3240
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Quote:
Originally Posted by akhill44 View Post
I didn't mean to imply that I expected you to support this - I'm thankful for all of the work you've put into the project so far. I was more or less hoping that someone else in this thread was a VLC pro or had otherwise already addressed this. I've been unsuccessful so far, but I'll report back if I'm able to get it working.
Although I'm having my own problems getting up and running this year, I was able last year, for Gameday Audio only, get vlc to work by using this in the config file:

audio_player=vlc --file-caching=2048

You might try searching this thread for vlc - I know this topic has come up before.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows



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 04:58 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
Open Source Consulting | Domain Registration