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 04-30-2008, 10:41 AM   #571
jkr
Member
 
Registered: Apr 2008
Posts: 115

Rep: Reputation: 15

Quote:
Originally Posted by daftcat View Post
jkr

Can I add mlbviewer to my MLB Linux Howto yet?
Sure -- I'd say the silence around these parts either indicates a loss of interest in baseball or a relatively stable state of affairs. I would guess it's more the second.
 
Old 04-30-2008, 11:36 AM   #572
dmandell
Member
 
Registered: Apr 2008
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by jkr View Post
Sure -- I'd say the silence around these parts either indicates a loss of interest in baseball or a relatively stable state of affairs. I would guess it's more the second.
I would guess the second part, this tool is stable and there hasn't been a lot of change in the last week or so. Besides, I'm too busy listening to baseball to post!

1 note. The addition of an "i" option that shows interesting info about the selected game would still be appreciated here.

Thanks again,

d
 
Old 04-30-2008, 01:05 PM   #573
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dmandell View Post
I would guess the second part, this tool is stable and there hasn't been a lot of change in the last week or so. Besides, I'm too busy listening to baseball to post!

1 note. The addition of an "i" option that shows interesting info about the selected game would still be appreciated here.

Thanks again,

d
Yeah, I understand that. My progress with mlbscores has stalled somewhat as I figure out the best way to glean all the useful information into something that is both easy on the eyes and code pretty (e.g. easy to maintain.) Probably by month's end I'll have something ready. I also have a work project that, while starting slowly, I anticipate will take up much of my time.

It's coming. I'd like that too.

Off the record (e.g. no promise that I'll actually get all of this done anytime soon), I'd like to have mlb scoreboard, line scores, box scores, and standings integrated. Currently, the only sources I've seen for standings are either jsp's from mlb.com or xml's from third-party sites. I'd rather use the xml but that's probably just because I'm still not familiar with the json to python conversion. I also have a wealth of information available to me via xml so it's just a matter of writing the parsers and display code. Probably by season end I'll have everything I want integrated or integrate-able into mlbviewer. Just in time for them to change things all over again for the next season.
 
Old 04-30-2008, 01:59 PM   #574
dmandell
Member
 
Registered: Apr 2008
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Yeah, I understand that. My progress with mlbscores has stalled somewhat as I figure out the best way to glean all the useful information into something that is both easy on the eyes and code pretty (e.g. easy to maintain.) Probably by month's end I'll have something ready. I also have a work project that, while starting slowly, I anticipate will take up much of my time.

It's coming. I'd like that too.
Don't get me wrong, it's not like I want it *right now,* I just wanted to make sure you guys know that the lack of posts here has nothing to do with a lack of interest in the project or new features. Honestly though, this is already an incredibly useful piece of software, if only MLB could have designed something so nice.

I'll be checking in here from time-to-time, and also spreading the word around a little bit about the script once you've decided you're ready to release the next version. If/when you need testers, just post here, I'll be glad to do what I can.
 
Old 04-30-2008, 03:35 PM   #575
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I'm evaluating MiLB.TV (the minor league baseball equivalent of MLB.TV)

For starters, the Gameday audio is free. The video is $7/month and only a small number of games (like 4 or 5 a day) are available. The video is only 350K and the audio on these videos isn't great.

The workflow request method for video is very similar to mlb.com. The jsp schedule page that has the video does not have the audio on it. I'll have to do some more digging to find the audio jsp schedule page.

I'll try a game or two from home to see if I even care enough to modify mlbviewer. So far, I'm not impressed.
 
Old 04-30-2008, 05:16 PM   #576
mr_e_uss
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Rep: Reputation: 0
Talking RE: The posting silence

I stopped posting once everything was working. :-) I'm very appreciative of your successful efforts at getting MLBTV and Gameday Audio working on Linux. Thank you!
 
Old 04-30-2008, 08:52 PM   #577
dmandell
Member
 
Registered: Apr 2008
Posts: 30

Rep: Reputation: 15
Before you do a release of the latest version, I'd recommend that you add the keybinding list from the help screen in mlbplayer to the README, replacing:

Watch baseball games by pressing return. Listen to hem by pressing a. Up goes up, down goes down.

with

a Play Gameday audio of highlighted game
Left/Right Navigate one day forward or back
d Toggle debug (does not change config file)
h Display version and keybindings
j Jump to a date
Up/Down Highlight games in the current view
q Quit mlbviewer
p Toggle speed (does not change config file)
r Refresh listings
t Display top plays listing for current game
Enter Play video of highlighted game


or similar. At the very least you should mention in the README that "h" shows you the help screen.

Also, it might be worth putting "press h for help" on the bottom of the main listings screen.
 
Old 04-30-2008, 11:46 PM   #578
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dmandell View Post
Before you do a release of the latest version, I'd recommend that you add the keybinding list from the help screen in mlbplayer to the README, replacing:

Watch baseball games by pressing return. Listen to hem by pressing a. Up goes up, down goes down.

with

a Play Gameday audio of highlighted game
Left/Right Navigate one day forward or back
d Toggle debug (does not change config file)
h Display version and keybindings
j Jump to a date
Up/Down Highlight games in the current view
q Quit mlbviewer
p Toggle speed (does not change config file)
r Refresh listings
t Display top plays listing for current game
Enter Play video of highlighted game


or similar. At the very least you should mention in the README that "h" shows you the help screen.

Also, it might be worth putting "press h for help" on the bottom of the main listings screen.
I can fix the README.

The bottom of the screen is getting cluttered, but I might make a pseudo H)elp menu (hint) at the top. Otherwise I'll just put 'h for Help' at the top of the README or possibly as part of the splash. I'll also add a mention to this forum in the README. Though chances are, they're going to find this via Google anyway. I'll play around with it tonight and try to get everything checked in tonight.

I'm going out of town this weekend starting tomorrow so I'll probably be scarce around here until next week.
 
Old 05-01-2008, 01:49 AM   #579
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Update your svn and review the README content.

I also added a Help hint to the titlewin. Let me know if that looks okay.

I'm not sure when I'll next get a chance to make any new revisions--maybe not until Sunday night or Monday.
 
Old 05-01-2008, 06:24 AM   #580
Onip
Member
 
Registered: Apr 2008
Posts: 36

Rep: Reputation: 15
everything is fine here.

I've only got a little suggestion. When one is browsing top plays and presses L to go back to the games screen, it would be better to cache the game list instead of redownloading it. Games are ended at the time top plays are availabl and there would'nt be no more changes.

Anyway, thanks for your work
 
Old 05-01-2008, 10:23 AM   #581
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Onip View Post
everything is fine here.

I've only got a little suggestion. When one is browsing top plays and presses L to go back to the games screen, it would be better to cache the game list instead of redownloading it. Games are ended at the time top plays are availabl and there would'nt be no more changes.

Anyway, thanks for your work
That's not necessarily true. A day game's top plays might be available before a night game has started.

But there's probably not going to be a whole lot of change in the few minutes it takes to watch the top plays.

It's not a bad idea but it's also not a trivial change. I'll note it and we'll probably implement caching in a future release.
 
Old 05-01-2008, 12:20 PM   #582
dmandell
Member
 
Registered: Apr 2008
Posts: 30

Rep: Reputation: 15
The README looks good, I imagine it'll be a help for at least a few. It looks like you should have a hard return after "use" on the 81st line though (in the MLBGAMEID TEST TOOL section, the line that starts with "by the screen" is twice as long as any other line, somewhere close to 160 characters... I assume you want to keep all the lines at 80 characters or less?).

So, do you guys consider this release-worthy?
 
Old 05-01-2008, 04:32 PM   #583
craigsn
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
MLB audio

Up front, let me apologize for not figuring this all out. I'm a linux newbie for the most part, and am trying to MLB audio to work. Is there a step by step instruction for someone who isn't sure what python is and how to make all of this stuff work? What platform it works on (I'm on Ubuntu Hardy 64bit), and what else I need to make it happen?

Thanks for the help.

Craig
 
Old 05-01-2008, 06:48 PM   #584
jkr
Member
 
Registered: Apr 2008
Posts: 115

Rep: Reputation: 15
Quote:
Originally Posted by Onip View Post
everything is fine here.

I've only got a little suggestion. When one is browsing top plays and presses L to go back to the games screen, it would be better to cache the game list instead of redownloading it. Games are ended at the time top plays are availabl and there would'nt be no more changes.
I had thought about this, and wrote up a version a while back. It's not that hard -- you just need a unique name (YYYYMMDD works fine) and a directory to save caches in (.mlb/cache works fine for that). And then it's just a question of caching it as a pickle -- which is how python allows you to write its data structures persistently to disk.

I decided against including it, just because the second less of lag seemed to be offset by the user-unfriendliness of forcing more manual refreshes. Of course, I was using it when going backwards and forwards days, so it might be more useful to do it in the situation you suggested.

If people are interested, it would be simple to add it back in or (this is my mutt-user's answer to everything) make it a configurable option. I still think, though, that repolling when you change screen is as good a time to do it as any.
 
Old 05-01-2008, 07:03 PM   #585
jkr
Member
 
Registered: Apr 2008
Posts: 115

Rep: Reputation: 15
Quote:
Originally Posted by craigsn View Post
Is there a step by step instruction for someone who isn't sure what python is and how to make all of this stuff work? What platform it works on (I'm on Ubuntu Hardy 64bit), and what else I need to make it happen?
Almost everything you need should be on your system already. We're going to release a new version quite soon, but if you just want to get audio, you can download the old version at

http://sourceforge.net/projects/mlbviewer

If you want a newer version that might have a few bugs in it, look a few pages back for daftcat's how to on getting the development version by using "subversion." It's easy, but you'll have to install one program. If you don't feel comfortable, though, the new version will be out quite soon.

The only other thing you'll have to install is a python module called simplejson. Just type:

'sudo aptitude install simplejson'

Now, at this point, you should check out daftcat's site

http://www.eds.org/~straycat/mlblinux.php

but I'll try to walk you through the rest.

If you're using the new (development) version, it will help you configure the program. If you're using the older version, you'll have to do it yourself. It's easy though. Just open a shell and type the following:

$ mkdir .mlb
$ cd .mlb
$ nano config

Then type
user = your_username
pass = your_password

Save it and exit.

Now if you go into mlbviewer and type 'python mlbviewer.py' a list of the day's games should come up. Find the one you want and press 'a'.

If you like the program, and want to install it to the system, type 'sudo python setup.py install'.

If you like the program, keep your eyes peeled, because the new version will be out quite soon.

Last edited by jkr; 05-01-2008 at 07:09 PM.
 
  


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 01:57 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