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've reinstalled the system and reinstalled mlbviewer (r212) and now I'm getting an error. Splash screen comes up, but then a note at the bottom says: "There was a parser problem with the listings page" and I get this:
Code:
Traceback (most recent call last):
File "/usr/local/bin/mlbviewer.py", line 1518, 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 "/usr/local/bin/mlbviewer.py", line 398, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
UnboundLocalError: local variable 'hd_available' referenced before assignment
What have I done?
I used MLBViewer yesterday and it worked fine. This morning (ADT) I'm getting the same error messages as you are. StrayCat... where are you? Help.
Seriously, though, the combination of finally shipping at work plus nearly two weeks of vacation means my hand/arm pain is finally subsiding to the point that I may be able look into this on the weekend. I think I sneaked a small fix for this or something like it into an svn a couple of weeks ago. If that doesn't fix it, I'll see what else can be done.
In the off-season, if my arms/hands aren't burning, I want to rewrite a good chunk of this code to be more common/inheritable in the very likely event that they bork it all up with new architecture/features for next season.
In the meantime, if you can work around it with the test tools, that would be highly appreciated.
i am having the same issue. just tried to watch using the official player and i must admit i have become very spoiled with mlbviewer, as the mlb solution is barely watchable in comparison!
I won't have the time to fix this proper until probably Monday. Hopefully they won't make a habit out of bogus listings.
yes, let's hope this is not the case. i have actually seen this a few times before when i skip ahead to the next day, but this is the first time it wasn't corrected before the games for the day started.
i assume there is no way to start the player on a different day so archived games can still be watched? is it possible to use a "test tool" and the event id from the link above to watch a game should this happen again?
yes, let's hope this is not the case. i have actually seen this a few times before when i skip ahead to the next day, but this is the first time it wasn't corrected before the games for the day started.
i assume there is no way to start the player on a different day so archived games can still be watched? is it possible to use a "test tool" and the event id from the link above to watch a game should this happen again?
They propagated the bogus entry to today as well. They might not even know it's there so it could be awhile before that entry goes away. In the meantime, I found why that entry was blowing up the listings and fixed it.
You guys should be back in business with this update.
You will however see the bogus WBC Canada vs. WBC USA game in your listings for yesterday, today, and however long they intend to keep that listing in the grid.
They propagated the bogus entry to today as well. They might not even know it's there so it could be awhile before that entry goes away. In the meantime, I found why that entry was blowing up the listings and fixed it.
You guys should be back in business with this update.
You will however see the bogus WBC Canada vs. WBC USA game in your listings for yesterday, today, and however long they intend to keep that listing in the grid.
Thank you! Now I can continue to watch the 'Hose choke away the rest of 2009 with class instead of with the by comparison crummy flash player. Update worked like a champ.
I've successfully used mlbviewer on OSX, and have recently tried to put it on my PS3 running linux (PPC64). I've successfully built mplayer and gotten all the requirements, however i'm have a bit of a problem. The java output is shown below. I'm assuming this is a java issue, anyone run across this before, and have a solution (even if someone has seen it/fixed it on a machine that's not a PPC)?
Thanks for the help!
Adam
java -jar autobahn.jar
Time to init SSL: 37
Failed to override default socket connect timeout
Failed to override default socket read timeout
14:23:18.599 EVENT Starting Jetty/4.2.x
14:23:18.642 EVENT Started HttpContext[/]
14:23:18.643 EVENT Started HttpContext[/protected]
14:23:18.651 EVENT Started SocketListener on 127.0.0.1:8001
14:23:18.652 EVENT Started org.mortbay.http.HttpServer@74dcc5f1
Exception in thread "AdaptiveMediaScheduler-1964079745" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.7rh)
at com.swarmcast.livestreamer.adaptive.BasicMediaDownloader.download(BasicMediaDownloader.java:110)
at com.swarmcast.livestreamer.adaptive.MediaScheduler.run(MediaScheduler.java:197)
at java.lang.Thread.run(libgcj.so.7rh)
Caused by: java.util.regex.PatternSyntaxException: At position 9 in regular expression pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
^([\p{ASCII}&&[^\p{Cntrl}\p{Blank}()<>@,;:\"/\[\]?={}]]+)[ \t]*:[ \t]*(.*?)[ \t]*$
^
at java.util.regex.Pattern.<init>(libgcj.so.7rh)
at java.util.regex.Pattern.compile(libgcj.so.7rh)
at java.util.regex.Pattern.compile(libgcj.so.7rh)
at com.onionnetworks.net.HttpHeadersImpl.<clinit>(HttpHeadersImpl.java:763)
at java.lang.Class.initializeClass(libgcj.so.7rh)
...3 more
Caused by: gnu.java.util.regex.REException: At position 9 in regular expression pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.7rh)
at gnu.java.util.regex.RE.parseCharClass(libgcj.so.7rh)
at gnu.java.util.regex.RE.initialize(libgcj.so.7rh)
at gnu.java.util.regex.RE.<init>(libgcj.so.7rh)
at gnu.java.util.regex.RE.initialize(libgcj.so.7rh)
at gnu.java.util.regex.RE.<init>(libgcj.so.7rh)
at gnu.java.util.regex.RE.<init>(libgcj.so.7rh)
at java.util.regex.Pattern.<init>(libgcj.so.7rh)
...7 more
Caused by: gnu.java.util.regex.REException: At position 0 in regular expression pattern:
unsupported name ASCII
at gnu.java.util.regex.RETokenNamedProperty.getHandler(libgcj.so.7rh)
at gnu.java.util.regex.RETokenNamedProperty.<init>(libgcj.so.7rh)
at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.7rh)
...14 more
PS3 is unsupported. Search this thread for Yellow Dog Linux and the PS3. One of the members here attempted for quite a long time to get this working. I believe the final verdict was that even if the java, autobahn/rtmpdump issues could be surmounted, Sony abstracted the video hardware (the "hypervisor") in such a way that only the PS3 OS could access it directly. In other words, even if you get a video stream working, Sony gets in your way and you'll get choppy playback performance. The only solution is to convince MLBAM/Sony to officially support MLB.TV natively on the PS3. Linux solution won't work.
Hi Folks. I tried MLBviewer for the first time today; assuming I can get it to work, it looks like a great tool for us baseball-inclined Linux users.
It appears I'm having problems finding the correct locations of the MLB.tv streams, and I'm wondering if anybody else is having a similar problem, or if there is a known issue. FWIW, I'm an audio-only subscriber, and am trying to load audio streams. If you're willing to bear with my symptom list, I'd be very grateful for any feedback.
When I load the MLBviewer, I get the expected output -- a list of games, those in progress are highlighted, and the ones I designated as favorites are underlined. However, for each game, the status info at the bottom of the screen always says "In Progress/Pregame/etc (No media available)" If I try to activate a stream I get the message:
Quote:
An error occurred in locating the game stream:
No stream available for selected game.
If I press the back-arrow to look at yesterday's games, I'm warned of a parser problem and told "No listings available for this day."
I tried to retrieve the stream ID I'm looking for and call the test tool "python test/mlbgameid.py IDHERE" where IDHERE is the content of the id field from the relevant grid.xml file. I get some cookie information, a message saying "Logged in successfully!" and the following output:
Quote:
Traceback (most recent call last):
File "test/mlbgameid.py", line 154, in <module>
raise Exception, game_info
Exception:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Major League Baseball: MediaPlayer</title>
<script src="/shared/media/mplayer.js" type="text/javascript"></script>
<style>
body{background-color:#fff;margin:0;}
#mp_body{ padding:20px; }
</style>
</head>
<body>
<div id="mp_body">
<p> </p>
<p><strong>We are sorry, but you have reached this page in error.</strong></p>
<p>Please try the action again and if the problem continues contact Customer Service.</p>
<p> </p>
</div>
</body>
</html>
I get the same response if I try a previous day's ID (also pulled from grid.xml).
If I run mlblistings.py, I get the following output:
So, it seems like I can pull the current day's schedule information, and my login is OK, but I can't find any of the links to the relevant streams. Any ideas?
Okay, from mlblistings.py, I can tell you are using an older version of mlbviewer.
Try pulling the latest mlbviewer from svn following the instructions in either the README or the REQUIREMENTS-2009.txt file. If MediaService.xsd or MediaService.wsdl show up in the output of the "svn update" or "svn co" command, make sure you copy those files to ~/.mlb and remove your suds cache (rm -r /tmp/suds).
PS3 is unsupported. Search this thread for Yellow Dog Linux and the PS3. One of the members here attempted for quite a long time to get this working. I believe the final verdict was that even if the java, autobahn/rtmpdump issues could be surmounted, Sony abstracted the video hardware (the "hypervisor") in such a way that only the PS3 OS could access it directly. In other words, even if you get a video stream working, Sony gets in your way and you'll get choppy playback performance. The only solution is to convince MLBAM/Sony to officially support MLB.TV natively on the PS3. Linux solution won't work.
Thanks for the reply. I am aware that the PS3 locks out any video hardware acceleration, but I have had some luck with playing videos via mplayer on the linux distro itself with the addition of adding the PS3 video memory as swap space, so I had hopes that if the java issue could be worked around, then I may have some luck (even if it wasn't the highest quality HD that I see using a regular PC), simply due to the availability of speed and threaded computing power. If you truly believe this isn't a worthy pursuit, I will have to resort to the laptop/TV solution for the time being until I can justify making a small Mythbuntu box for the TV.
Thanks for your time, and hard work on the mlbviewer package!
Thanks for the reply. I am aware that the PS3 locks out any video hardware acceleration, but I have had some luck with playing videos via mplayer on the linux distro itself with the addition of adding the PS3 video memory as swap space, so I had hopes that if the java issue could be worked around, then I may have some luck (even if it wasn't the highest quality HD that I see using a regular PC), simply due to the availability of speed and threaded computing power. If you truly believe this isn't a worthy pursuit, I will have to resort to the laptop/TV solution for the time being until I can justify making a small Mythbuntu box for the TV.
Thanks for your time, and hard work on the mlbviewer package!
Someone else tried it. Search this thread for PS3 and/or Yellow Dog Linux. If you think you can do better than his results, it's your time and effort. Good luck! Maybe the two of you can figure it out together.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.