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.
I upgraded Ubuntu to 12.04 yesterday and now mplayer2 is behaving like Adobe flashplayer on archived games. I still can't get live games.
When you say you can't get live games is it a "Stream not available" error?
If it is, please copy and paste the full contents of ~/.mlb/unsuccessful.xml to http://pastebin.com. My guess is that it can't determine your location so it doesn't know how to apply blackout rules. Why the browser works and mlbviewer doesn't is confusing.
Another thing you can try is highlight the game you want but instead of 'Enter', press the 'z' key. Look for the event-id which will look something like 14-318018-2012-04-27. Then quit out of mlbviewer and do the following:
Code:
python test/nexdefdl.py 14-318018-2012-04-27 | tee /tmp/nexdef-debug.log
substituting the real live game event-id.
Then post the full contents of /tmp/nexdef-debug.log to pastebin.com.
That's the most unhelpful error message. Sorry. Not your fault. But I've got nothing to go on with that.
Is it always General System Error? Try a few different games.
By the way, there aren't any live games right now. What timezone are you in? I am suspecting that the conversion from Eastern Daylight Time (what the listings are listed in from MLB) to local time is incorrect leading you to try a "live" game when there isn't one being broadcasted yet.
By the way, there aren't any live games right now. What timezone are you in? I am suspecting that the conversion from Eastern Daylight Time (what the listings are listed in from MLB) to local time is incorrect leading you to try a "live" game when there isn't one being broadcasted yet.
Eastern. I live in Pa. I've tried more than an hour after they begin.
The error is "....stream not available yet" I think.
There are no live games to try currently. With the archived games it says "buffering streamplayer" and then the mplayer socket thing.
ETA: the archived game plays - just not smoothly.
The "socket thing" is mplayer trying to initialize LIRC support for remote controls. If you don't have an IR remote control and/or don't know what LIRC is, add "nolirc=yes" to ~/.mplayer/config and that message goes away.
You were right about MLB.TV wanting to authenticate me. Sorry!
But now how do I make mplayer stop behaving like flash?
The mplayer string you use in the separate window, put that in video_player= setting of mlbviewer.
I don't understand why you are doing this two terminal approach when mlbviewer is customizable enough to do what you need to do in a single terminal.
In any case, as soon as you go to that second terminal, any problems you encounter are not mine to support. It sounds like you are having a problem with mlbhls (Segmentation fault) so when that gets resolved, maybe we can figure out why you insist on doing things the hard way, and cannot just use mlbviewer in a single terminal.
rob@rob-GN561AA-ABA-a6230n:~/mlbhls$ make clean
rm -f *.o mlbhls
rob@rob-GN561AA-ABA-a6230n:~/mlbhls$ make
gcc -O2 mlb.c utils.c output.c -lm -lcurl -lcrypto -lconfig -o mlbhls
mlb.c: In function ‘mlb_hls_get_and_decrypt’:
mlb.c:881:5: warning: call to ‘_curl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument for this option [enabled by default]
Fixed! I read on wikipedia that one of the possible reasons for segmentation fault is compiling issues, so since I'd saved the former MLBHLS directory I restored that, copied it to /usr/bin, got a new string and all is well.
Sorry for bothering you and taking so much of the last two pages of this thread. Thanks for all the help and for mlbviewer and mlbhls. I do appreciate it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.