Active Topics

 



Notices


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on May 2008
#291
I have the gameday audio subscription (or whatever MLB is calling it this year). My subscription works fine (can log in and listen to games) on a laptop/desktop using the MLB website. I'd really like to listen to games on my n800, but mlbviewer is not working for me.

I've tried most of the versions, up through the 2010 0.2 beta, and none of them work. The program runs, displays the current listings, lets me choose a game and a radio station to listen to, but seems to fail authentication to the MLB website: I get the "Error fetching URL : Login was unsuccessful" message. I've verified that mlbviewer is reading my username and password correctly, but the login is still failing.

I'm really motivated to get this working, so if there is anything I can do to help, please let me know. I know some python, and have looked at the source code, but just enough to verify that the program is reading my username and password correctly from the config file.

Last edited by array6; 2010-04-25 at 17:52.
 
Posts: 75 | Thanked: 19 times | Joined on Jun 2008 @ Seattle
#292
Download the debug version from post #274 and run
python /usr/lib/mlbviewer_gui/mlbviewer_gui.py from an xterm window. The debug version will output the resulting HTML page from MLB. Inside the HTML should be an error message.

I just tried the Cubs game and it works ok for me.
 
Posts: 3 | Thanked: 0 times | Joined on May 2008
#293
Here's the error message:

"An error occurred while processing your request. We apologize for the inconvenience. Please try again in a few minutes."


Full output follows:

Nokia-N800-23-14:~$ python /usr/lib/mlbviewer_gui/mlbviewer_gui.py
2010-04-25 14:05:44.158233
run
load_conf
load_ui
refresh_listings
show available
tree_games_row_activated
cg_close_clicked
tree_games_row_activated
on_cg_home_clicked
auth_page:





<?xml version="1.0" charset="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
<head><title>Error</title>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="content-type" content="text/html" />
<style type="text/css">
<!--

body {font-family:arial,helvetica,sans-serif;}
a {color:#0000cc}

.hdBg {background-color:#031641;}
.lsHd {background-color:#c00;}

.secHd {font-weight:bold;background:#ccc;text-align:center}
.hd, .hdBg {font-weight:bold}
.hdBg{padding:0px;margin:0px;}
.content {padding:1px}
.copyright {font-size:x-small}
table {width:100%;border:none;font-size:small}
table.narrow {width:auto;border:none;font-size:small}
td {border:0px;padding:0px;margin:0px;}
.ftr{background:#eee;border-bottom:1px solid #000;border-top:1px solid #000;padding:3px;margin-bottom:4px}
.sub { margin-left: 15px; white-space:nowrap; font-size:small; }
.ctgy{ border-top:1px solid #999; margin-top: 4px; font-weight:bold; }
.ctgy1{font-weight:bold;}
.ctgy1 span,.ctgy span{margin-left:1px;color:#333;font-weight:normal;}
.buy{color:#c00}
dl {padding: 2px 0px; margin:2px 0px}

.psO {background:#efefef;border-bottom:1px solid #ddd;border-top:1px solid #ddd;}
.psE {background:#fff;border-bottom:1px solid #fff;border-top:1px solid #fff;}

-->
</style>
</head>

<!--web063-dc2-->
<body class="index" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">





<div class="hdBg">
<a name="top" href="http://m.mlb.com/index.jsp?c_id=mlb">
<img src="/images/logo_mlb.gif" border="0" width="94" height="21" alt="MLB Mobile" align="top" hspace="0" vspace="0"/>
</a>
</div>
<div>&nbsp;</div><div>An error occurred while processing your request. We apologize for the inconvenience. Please try again in a few minutes.</div><div>&nbsp;</div>
<div id="HomeLink" class="content">0 <a accesskey="0" href="http://m.mlb.com/">MLB.com Home</a></div>


<!-- {name=Unknown} -->


<!--BLANK-->
<hr style="clear:both"/>
<div class="copyright">
&copy; MLBAM, L.P. 2001-2009.<br/>
<a href="http://m.mlb.com/terms/">Terms of Use</a><br/>
<a href="http://m.mlb.com/privacy/">Privacy Policy</a>
</div>
<!--web063-dc2-->
</p>




<div>


<img src="https://mlbwap.112.2O7.net/b/ss/mlbwap/1/G.5--NS/71353251?ch=&c4=unknown&pageName=%2Ferrors%2Ferror .jsp&c1=mlb&c2=_index&c5=unknown&c6=Unknown&c7=iem obile&c8=1271820675962_448257150&c9=null&c10=unkno wn&c11=&c12=173.80.163.18&c13=&c14=MLB_Firefox&g=h ttp%3A%2F%2Fwapsecure.mlb.com%2Ferrors%2Ferror.jsp &c3=Mozilla%2F5.0+%28Windows%3B+U%3B+Windows+NT+5. 1%3B+en-US%3B+rv%3A1.8.1.13%29+Gecko%2F20080311+Firefox%2F 2.0.0.13&c16=f&c17=f" width="1" height="1" border="0"/>


</div>



</body>
</html>

Error at 2010-04-25 14:06:57.925201
Login was unsuccessful.
 
Posts: 75 | Thanked: 19 times | Joined on Jun 2008 @ Seattle
#294
That's an error from mlb.com, so I don't know what it really means. Other than one day a few days ago, I have not been having problems (listening to the Braves broadcast right now).

I wonder if the people not having trouble had the MLB Windows Mobile package last year and the people having trouble did not.
 
Posts: 3 | Thanked: 0 times | Joined on May 2008
#295
I've had the regular gameday audio for a couple of year, but I never had the mobile package, and I can't use mlbviewer.
 
Posts: 76 | Thanked: 9 times | Joined on Nov 2007 @ Long Island NY
#296
still no solution to fetching url error - I can lo0gin via fennec but audio sounds like its being played at 78 rpm as in fast.
 
Posts: 75 | Thanked: 19 times | Joined on Jun 2008 @ Seattle
#297
I have released a new beta. Python threading seems to consume a lot of resources, so I removed the auto update thread. I added a new button to do the refresh on the game page.

I still wish I had more time to do more.

Every once in a while I get an error starting a game, but if I was a minute and try again it works. The error doesn't happen very often for me.
 
Posts: 75 | Thanked: 19 times | Joined on Jun 2008 @ Seattle
#298
I have made a new release 2010.4
https://garage.maemo.org/frs/?group_...elease_id=3650

I have improved the speed of the individual game page refresh. The refresh loads smaller pages, so it is faster. But because of this, the clicking to the game is a little slower. I don't think it's too bad.

I added video highlights. MLB.com makes these available while the game is in progress, hit refresh occasionally.

The following day, the condensed game will show up. They are in the listing as 'date CG: away@home'.

The videos are free, no account needed.

There are two video quality settings, low and high. I have added 'Video Rate' to the configuration setup. If you have an n810, you should only select 'low' (it's the default). If you have an n900, I'd be interested in knowing if it can handle the 'high' video rate. The 'low' video quality is very poor. The 'high' quality looks better on my Windows box, but won't play on the n810. I also found some 'flash' highlights but those won't play on the n810 either.
 
Posts: 75 | Thanked: 19 times | Joined on Jun 2008 @ Seattle
#299
New release 0.2010.5
https://garage.maemo.org/frs/?group_...elease_id=3665

I re-added auto refresh of the game page. Much faster this time. There is a drop down with the refresh rate. Default is 15 seconds. Other options are 0, 30 and 60 seconds. Changes to the refresh rate will be stored in your config file.

I also added batter, pitcher and outs. I also added an image to display the current base runners. These update based on the refresh rate, but also are dependent on when MLB.com updates its info.

I still would like to tackle the main page refresh speed, but it may be a while before I get to it.
 
Posts: 76 | Thanked: 9 times | Joined on Nov 2007 @ Long Island NY
#300
still get error fetching url logon was unsuccessful - but I get video highlights and scores etc

ok what am I doing wrong

I have a Red Sox citizen account which includes game day audio

I can login to mlb with my e-mail and password


any help appreciated
 
Reply

Tags
mblviewer, mlb, mlbviewer


 
Forum Jump


All times are GMT. The time now is 10:52.