LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-23-2013, 01:10 AM   #3766
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3

Thanks for the information! I'm looking forward to the upcoming season .

Will the World Baseball Classic be supported?
 
Old 01-24-2013, 12:14 AM   #3767
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
No idea. That depends on whether WBC will be part of the subscription. It was two years ago but qualifier games were not broadcasted last fall.
 
Old 02-19-2013, 04:51 PM   #3768
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Just a quick note to set the expectations properly for those who haven't been through a spring training with mlbviewer yet...

Expect that it may NOT work on Sat when the first games are aired. They have been pretty good about not doing any major overhauls the last few years but they always (every year) do something a little bit differently than the year before. Maybe it's slight and it will only take an hour to catch up to their changes or maybe it's a little more involved and could take a week to reverse engineer those changes back into mlbviewer code.

Then again, Spring Training is often just last year's architecture as the MLB.TV developers test their new season changes and it could break closer to Opening Day. In any case, be patient and expect a bumpy road possibly stretching into the first few weeks of the regular season.

That said, I am really looking forward to watching baseball on two new beautiful displays I didn't have last season.
 
Old 02-20-2013, 12:51 AM   #3769
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
I'm excited for the new season .
 
Old 02-23-2013, 01:01 PM   #3770
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Maybe I'm too tired this morning to figure it out, but the times seem to be off by an hour for me. Adding in time_offset=-0800 (-8 hours for Pacific Standard Time) in ~/.mlb/config is fixing the times.

The times are correct in the grid.xml (listings on the server) so there must be something in the DAYLIGHT calculation code in mlbtv.py. Maybe I can look at that later after I've had a bit more sleep.

If times aren't correct for you, you can add in your offset from UTC as, for example, time_offset=-0500 for ET, time_offset=-0800 for PT, etc.

Other than that, audio and video seems to be working just as it did last year. That's good news until they roll out the official 2013 offering towards the end of Spring Training.

Wish I had more sleep to enjoy these, but glad baseball is back.
 
Old 02-23-2013, 02:10 PM   #3771
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hi, hi...! :-)
As spring training games started I'm "back", too, and tried to use mlbviewer like last season, but this is what terminal tells me:

lars@X64V:~/mlbviewer2012$ python mlbviewer.py
Traceback (most recent call last):
File "mlbviewer.py", line 1630, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 500, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
UnboundLocalError: local variable 'is_adaptive' referenced before assignment
lars@X64V:~/mlbviewer2012$

Nothing happens...

Btw: In the meantime a had to make a system upgrade from Ubuntu 11.04 to 12.04.
Does that create problems...?

Last edited by larshenric; 02-23-2013 at 02:33 PM.
 
Old 02-24-2013, 12:40 PM   #3772
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
This is my 6th season and by far the easiest to get up and running on the Gameday Audio. Ran the svn upgrade for MLB2013, edited my config file - and I'm listening. The times are off by an hour, but I'll wait, at least until we change to DST, and see if somehow doesn't rectify itself.
 
Old 02-24-2013, 12:47 PM   #3773
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hi kweisen...

I would like to do the same: do the upgrade and edit the config file. But: How...?

Thanks in advance for some help... :-)
 
Old 02-24-2013, 01:17 PM   #3774
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Quote:
Originally Posted by larshenric View Post
Hi kweisen...

I would like to do the same: do the upgrade and edit the config file. But: How...?

Thanks in advance for some help... :-)
See the post - back one page, dated 1-22-2013 - by daftcat.

run the svn command, I just did a copy / paste. For editing config, from root - cd .mlb, the config file is there.

good luck
 
Old 02-24-2013, 02:21 PM   #3775
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by daftcat View Post
Maybe I'm too tired this morning to figure it out, but the times seem to be off by an hour for me. Adding in time_offset=-0800 (-8 hours for Pacific Standard Time) in ~/.mlb/config is fixing the times.
It is not the cause but I notice that the date format for 2013 is wrong. You have given the end of DST as being in 2012. The line in mlbtv.py:

'2013': (datetime.datetime(2013,3,10),datetime.datetime(2012,11,3))

should read:

'2013': (datetime.datetime(2013,3,10),datetime.datetime(2013,11,3))

I am on revision 375, which is the latest.

Great to see it working for 2013 without any apparent changes to the MLB format. It may be too much to hope that this continues.
 
Old 02-24-2013, 02:43 PM   #3776
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by chrisVV View Post
I am on revision 375, which is the latest.
Ah, cancel that, I was on your old repository. This is fixed in revision 376.
 
Old 02-24-2013, 02:55 PM   #3777
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Quote:
Originally Posted by kweisen View Post
See the post - back one page, dated 1-22-2013 - by daftcat.

run the svn command, I just did a copy / paste. For editing config, from root - cd .mlb, the config file is there.

good luck
I did so, but what do I do with the "information" I get:
lars@X64V:~$ svn checkout svn://svn.code.sf.net/p/mlbviewer/code/trunk mlbviewer2013
A mlbviewer2013/test
A mlbviewer2013/test/nexdef.py
A mlbviewer2013/test/nexdefdl.py
A mlbviewer2013/test/gdaudio.py
A mlbviewer2013/test/mediaxml.py
A mlbviewer2013/test/mlbgame.py
A mlbviewer2013/test/mlbgamedl.py
A mlbviewer2013/LICENSE.txt
A mlbviewer2013/TOOLS
A mlbviewer2013/REQUIREMENTS-2012.txt
A mlbviewer2013/mlbviewer.py
A mlbviewer2013/INSTALL
A mlbviewer2013/NEW-MLBPLAY
A mlbviewer2013/mlbplay.py
A mlbviewer2013/MLBviewer
A mlbviewer2013/MLBviewer/LIRC.py
A mlbviewer2013/MLBviewer/mlbprocess.py
A mlbviewer2013/MLBviewer/__init__.py
A mlbviewer2013/MLBviewer/mlblogin.py
A mlbviewer2013/MLBviewer/mlbtv.py
A mlbviewer2013/MLBviewer/config.py
A mlbviewer2013/README
A mlbviewer2013/mlblistings.py
Ausgecheckt, Revision 376.
lars@X64V:~$
 
Old 02-24-2013, 06:36 PM   #3778
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Quote:
Originally Posted by larshenric View Post
I did so, but what do I do with the "information" I get:
lars@X64V:~$ svn checkout svn://svn.code.sf.net/p/mlbviewer/code/trunk mlbviewer2013
A mlbviewer2013/test
A mlbviewer2013/test/nexdef.py
A mlbviewer2013/test/nexdefdl.py
A mlbviewer2013/test/gdaudio.py
A mlbviewer2013/test/mediaxml.py
A mlbviewer2013/test/mlbgame.py
A mlbviewer2013/test/mlbgamedl.py
A mlbviewer2013/LICENSE.txt
A mlbviewer2013/TOOLS
A mlbviewer2013/REQUIREMENTS-2012.txt
A mlbviewer2013/mlbviewer.py
A mlbviewer2013/INSTALL
A mlbviewer2013/NEW-MLBPLAY
A mlbviewer2013/mlbplay.py
A mlbviewer2013/MLBviewer
A mlbviewer2013/MLBviewer/LIRC.py
A mlbviewer2013/MLBviewer/mlbprocess.py
A mlbviewer2013/MLBviewer/__init__.py
A mlbviewer2013/MLBviewer/mlblogin.py
A mlbviewer2013/MLBviewer/mlbtv.py
A mlbviewer2013/MLBviewer/config.py
A mlbviewer2013/README
A mlbviewer2013/mlblistings.py
Ausgecheckt, Revision 376.
lars@X64V:~$

If it downloaded correctly, you should have a mlb2013 directory. In this directory are a couple of READE and Requirements.txt files that contain a lot of information.

You will have to edit the config file in .mlb with you username / password.

To start mlbviewer, once you're in the mlbviewer2013 directory - it is a python command 'python mlbviewer.py - that should bring up a list of available games. Then type 'h' to bring up the help menu with list of shortcuts. For exmample, pressing 'a' brings up gameday audio.
 
Old 02-25-2013, 12:48 PM   #3779
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
I found the mlbviewer2013 folder after doing the svn command, started mlbviewer.py from that directory, and it works... :-)
without having to edit the config file... :-)
 
Old 02-27-2013, 02:51 AM   #3780
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Cool! Glad you worked it out.

For some reason, the digest got flagged as spam so I wasn't seeing the updates. I figured it was too quiet so I decided to check in. Glad to see it all worked out by the time I got here.

So yeah, about a season or two ago, I decided I would just branch off at the end of the season and start the new season on the trunk. This year, Sourceforge had other plans and decided to "upgrade" (haven't taken the time to figure out what the new features are) to a completely different repository and hence the new URL:

Code:
svn checkout svn://svn.code.sf.net/p/mlbviewer/code/trunk mlbviewer2013
I kinda expected Spring Training (at least initially) will be just a rehash of last year's service. Towards the end of Spring Training, they usually roll out beta testing of the new year's service and things may/likely will break. Generally, by the end of April, things are stable again. This is usually a combination of me having to reverse engineer their changes and their changes themselves being a little unstable to begin with.

So just like baseball itself, it usually takes about a month for MLB.TV and mlbviewer to find its swing.
 
  


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 04:44 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