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.
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.
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!
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.
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?
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).
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.
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.
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.
<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
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.
<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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.