LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-02-2013, 04:48 AM   #3886
randcoop
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
Thank you for watching?


Problem today watching yesterday's games. I select a game and it loads the MLB screen that says Thank you for watching, which they show when the game is over. Happens only when NexDef is being used. Regular stream works.

The mlbviewer worked yesterday to watch the live game (Yankees-Red Sox). But living in Europe, most times I'll be watching the recorded games.

I'm updated to version 398.

Last edited by randcoop; 04-02-2013 at 04:53 AM.
 
Old 04-02-2013, 09:53 AM   #3887
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Quote:
Originally Posted by daftcat View Post
Works for me. Today's a travel day so I may not get a chance to look into it.
Quote:
Originally Posted by daftcat View Post
Ah. You are using "MPlayer 1.1-4.5.4"

Please try again with mplayer2 http://www.mplayer2.org
Quote:
Originally Posted by mkomko View Post
Thanks. Since mlbviewer itself is working fine, I don't think that's the problem. But to be up-to-date I uninstalled mplayer and installed mplayer2. I changed the relevant config-entries to mplayer2 instead of mplayer.

mlbviewer is still working fine, but mlbplay doesn't do anything. I have checked the .mlb/log file and the mlbplay entries look the same as when producing them with mlbviewer.

It seems as though the player is never called or not called as specified in the config file. I'll check out the code later, but maybe you can check it out as well. If I can do anything to help debug, I'll do it. Thank you for your help!
Alright - now I tried enabling show_player_command in the config and then using mlbplay. It shows the player command and then exits. When I copy and paste the player command to the commandline and run it, it works fine. WTF is going on?

OK, now I know what's going on: My "video_player" has an ampersand at the end to run in the background. When I remove that it works, but with it, it doesn't do anything but exits right away. It's probably a python thing to run the player a certain way - can you maybe take a look at it and try getting it to work even with an ampersand? Otherwise I'll have to think of a workaround . Thanks!

Changing the mlbplay.py-Script back to starting the player the "old" way (using subprocess.Popen) fixes my problem. Is there any specific reason why you chose to change this behavior? I'd love it if you would change back or made the "new" way compatible with running the video player as a background process. Thanks!

Last edited by mkomko; 04-02-2013 at 10:04 AM.
 
Old 04-02-2013, 09:54 AM   #3888
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Had a chance to quickly review this.

Please remove the bit about nexdef.jar and plugin detector. Not only is this not necessary, but mlbhls/mlbviewer doesn't even use it.

Also, I believe it is necessary to leave user= and pass= blank for non-subscribers to watch condensed games. Thus, I have added this to the documentation and removed the requirement for non-subscribers to use an mlb.com account.
Thanks. I've updated my article with the changes.
 
Old 04-02-2013, 10:09 AM   #3889
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by mkomko View Post
Alright - now I tried enabling show_player_command in the config and then using mlbplay. It shows the player command and then exits. When I copy and paste the player command to the commandline and run it, it works fine. WTF is going on?

OK, now I know what's going on: My "video_player" has an ampersand at the end to run in the background. When I remove that it works, but with it, it doesn't do anything but exits right away. It's probably a python thing to run the player a certain way - can you maybe take a look at it and try getting it to work even with an ampersand? Otherwise I'll have to think of a workaround . Thanks!

Changing the mlbplay.py-Script back to starting the player the "old" way (using subprocess.Popen) fixes my problem. Is there any specific reason why you chose to change this behavior? I'd love it if you would change back or made the "new" way compatible with running the video player as a background process. Thanks!
This seems completely pointless - what are you trying to achieve?
 
Old 04-02-2013, 10:14 AM   #3890
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
I'll take the fifth .
 
Old 04-02-2013, 12:00 PM   #3891
randcoop
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
Also cannot jump to inning with nexdef

I checked to see if I could watch the archived game with nexdef (mlbhls) by using the "i" option and jumping to an inning. But it didn't work, instead still taking me to the end of the game with a message saying that the completed game was the only "inning" available. I tried using the same option without nexdef enabled and it took me to the correct inning.

So it's the same either way: I can only watch live games with nexdef. Otherwise, all that's available are the regular streams, which frankly pale in comparison to the nexdef picture quality (at least comparing the live game yesterday in nexdef to the same game archived today without it).
 
Old 04-02-2013, 12:00 PM   #3892
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I'm guessing recording. If that's the case, you're on your own.

Incidentally, it still uses subprocess.Popen, it's just taken care of by the MLBprocess class now.
 
Old 04-02-2013, 12:03 PM   #3893
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by randcoop View Post
Problem today watching yesterday's games. I select a game and it loads the MLB screen that says Thank you for watching, which they show when the game is over. Happens only when NexDef is being used. Regular stream works.

The mlbviewer worked yesterday to watch the live game (Yankees-Red Sox). But living in Europe, most times I'll be watching the recorded games.

I'm updated to version 398.
Which archived game(s) are you have problems with? It may very well be a problem on their end since it is opening day and all.
 
Old 04-02-2013, 12:29 PM   #3894
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by daftcat View Post
Which archived game(s) are you have problems with? It may very well be a problem on their end since it is opening day and all.
All from a random selection of yesterday's games that I tried (NY v Boston, Philadelphia v Atlanta and St Louis v Arizona) failed to play using nexdef a few minutes ago, going to near the end of the stream. Curiously, the NY v Boston archive did play an hour after the game yesterday. rtmpdump is OK.
 
Old 04-02-2013, 12:43 PM   #3895
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by daftcat View Post
Which archived game(s) are you have problems with? It may very well be a problem on their end since it is opening day and all.
It looks like their inning files (which I use for getStartOfGame as well as jump to half innings) were written in GMT yesterday. I am tempted to wait a day to see if that was an Opening Day glitch. In any case, even using debug to get the command and manually time shifting back to EDT does not fix anything. If GMT is how they intend it going forward, we may need help from the mlbhls developer as I wouldn't know how to proceed forward if this is not a bug on their end.
 
Old 04-02-2013, 01:15 PM   #3896
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
<EDIT>
Well, between the time I saw the error, and then compiled mplayer2 to double check it, you guys seem to have duplicated it. Good thing the Phils are off today! Hopefully it'll be an easy fix.
</EDIT

I'm having the same problem as randcoop, and what I think is a variant.

I caught most of the game last night, trying to watch the rest of the phillies braves game. I'm using mlbhls, I went to inning selection b8, and I'm hanging here:

Quote:
Requesting media stream with start at 01:55:06MPlayer SVN-r34840-4.2.1 (C) 2000-2012 MPlayer Team

Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)

Last edited by mchapter; 04-02-2013 at 01:18 PM. Reason: new data
 
Old 04-02-2013, 01:24 PM   #3897
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by chrisVV View Post
All from a random selection of yesterday's games that I tried (NY v Boston, Philadelphia v Atlanta and St Louis v Arizona) failed to play using nexdef a few minutes ago, going to near the end of the stream. Curiously, the NY v Boston archive did play an hour after the game yesterday. rtmpdump is OK.
Yeah, I'm seeing that too. Even the Houston-Texas game from Sunday is not working. Looks like nexdef inning times (also used without the jump to inning feature since I parse the inning file to find the start of the game) are in GMT. I have tried start time as GMT and manually changing the start time back to EDT and still no luck. Somewhat discouragingly, I was able to download nexdefinstall.dmg and get the nexdef stream to play through the browser using the old java -jar nexdef.jar trick. They may have intended to change the stream times to GMT. I will have to look further into this another time.
 
Old 04-02-2013, 01:26 PM   #3898
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mchapter View Post
<EDIT>
Well, between the time I saw the error, and then compiled mplayer2 to double check it, you guys seem to have duplicated it. Good thing the Phils are off today! Hopefully it'll be an easy fix.
</EDIT

I'm having the same problem as randcoop, and what I think is a variant.

I caught most of the game last night, trying to watch the rest of the phillies braves game. I'm using mlbhls, I went to inning selection b8, and I'm hanging here:
Seems cache is filling slowly. You could give it time. But even still, looks like nexdef for archived games is not working properly yet.

Use rtmpdump (non-nexdef) until I have this sorted.
 
Old 04-02-2013, 01:49 PM   #3899
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
In case it helps anybody, I got the same behavior with mlbhls; I tried running it manually with the old -f option and it works a treat. I'm now watching yesterday's Cubs game in HD.

Here's what I'm using on the command line:

Code:
mlbhls -B aHR0...SUzRA -L -s 1200000 -f 1 -o [etc]
For reference, I'm on mlbhls revision 61 from https://mlbtv-hls-nexdef.googlecode.com/svn

HTH
 
Old 04-02-2013, 02:15 PM   #3900
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by fang2415 View Post
In case it helps anybody, I got the same behavior with mlbhls; I tried running it manually with the old -f option and it works a treat. I'm now watching yesterday's Cubs game in HD.

Here's what I'm using on the command line:

Code:
mlbhls -B aHR0...SUzRA -L -s 1200000 -f 1 -o [etc]
For reference, I'm on mlbhls revision 61 from https://mlbtv-hls-nexdef.googlecode.com/svn

HTH
Have they fixed the problem with the streams having way too much "This Game Will Start Shortly" at the beginning of the stream ? (e.g. the reason why -F was created in the first place?) Also, this doesn't fix the jump to innings issue. I can implement a short-term config file option to use this until we can get the real issue sorted. Look for a patch tonight/tomorrow morning.
 
  


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 08:53 AM.

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