LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-10-2008, 04:09 AM   #1
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
MiLB.tv for Linux (minor league baseball)


This is the sister thread for MiLBviewer (minor league baseball) not to be confused with MLBviewer (MLB.tv on Linux.)

The code is available at:

http://sourceforge.net/projects/milbviewer

Post any questions, concerns, problems here or on directly on the sourceforge forum.

Please don't post milbviewer questions in the mlbviewer thread. It will just confuse everyone, myself included.

Thanks,
Matthew
 
Old 07-10-2008, 06:53 PM   #2
mrbadboy
LQ Newbie
 
Registered: Nov 2004
Distribution: Kubuntu 8.04
Posts: 21

Rep: Reputation: 15
Thanks from one baseball Linux loving fan!
I can't get mplayer to show video, only audio. Is there a way to change to VLC for the video and audio?

Regards,and thanks again.
 
Old 07-10-2008, 11:31 PM   #3
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by mrbadboy View Post
Thanks from one baseball Linux loving fan!
I can't get mplayer to show video, only audio. Is there a way to change to VLC for the video and audio?

Regards,and thanks again.
That's strange that mplayer would work for audio and not video. You might need the windows codecs. You can start by debugging mplayer:

Change video_player option in your config to something like:

Code:
video_player=xterm -e mplayer -cache 2048 %s | tee /tmp/milb-mplayer.log
The %s will be substituted with the stream url and tee will output any warnings or errors mplayer may be generating into /tmp/milb-mplayer.log.
You can post that log here if you can't make sense of it.

If you want to skip straight to vlc, just change the video_player line in your config. The config is located in $HOME/.milb/config.

Let me know which works out for you.

Thanks!
M
 
Old 07-10-2008, 11:41 PM   #4
mrbadboy
LQ Newbie
 
Registered: Nov 2004
Distribution: Kubuntu 8.04
Posts: 21

Rep: Reputation: 15
The straight vlc works.
Thanks for a great program, and all of your efforts!
 
Old 07-14-2008, 07:32 AM   #5
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
New code: Teamcodes all entered and improved display

I spent way too much time entering in all the teamcodes and affiliations but hopefully that should last us the rest of the season.

I also improved the display.

Code:
10:05 AM[AAA]Louisville Bats (Reds) at Buffalo Bisons (Indians) (Archived)
11:00 AM[AAA]Toledo Mudhens (Tigers) at Indianapolis Indians (Pirates) (Archived
11:35 AM[AAA]Omaha Royals (Royals) at Memphis Redbirds (Cardinals) (Archived)
02:00 PM[  A]Staten Island Yankees (Yankees) at Tri-City Valley Cats (Astros)
02:05 PM[AAA]Rochester Red Wings (Twins) at Durham Bulls (Rays) (Archived)
03:15 PM[AAA]Pawtucket Red Sox (Red Sox) at Norfolk Tides (Orioles) (Archived)
04:05 PM[ AA]Frisco RoughRiders (Rangers) at Corpus Christi Hooks (Astros) (Arch
I assume that there are no Inter-League games in the sense that AAA teams don't match up against AA teams so I select the home team league affiliation and place that next to the time. It should reduce the MLB affiliation strings by a few characters. Not by much, but it should be easier to read.

Text still runs off the end of the screen because it's hard to fit all the information, and harder when you have long team names like "Scranton Wilkes-Barre Yankees".

I'm also working on fixing any status code errors. MiLB.tv uses different status codes than MLB.tv.

Please reward my hard work by updating via svn to the new release. In the next day or so, I'll wrap this up in an official release (0.1alpha2.)

Thanks!
M
 
Old 07-14-2008, 01:19 PM   #6
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
0.1alpha2 released to sourceforge

New in 0.1alpha2:

- All TEAMCODES should be defined now. If there are any codes missing, you will get a KeyError exception with the missing code. Please file a bug report with the three-letter code.

- Improved display readability.
 
Old 07-16-2008, 11:44 PM   #7
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
New SVN revision. I missed the All-Stars teamcodes. I'll restore graceful handling of unknown teamcodes later tonight, and post another sourceforge release. Ah the growing pains of a new yet oddly familiar project.
 
Old 07-17-2008, 02:26 AM   #8
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
0.1alpha3 released to sourceforge (and new svn)

New in 0.1alpha3:

Added teamcodes for INT vs. PCL All-Star game (7/16)

Added graceful handling of unknown teamcodes. If any teamcodes are reported as unknown, either file a bug report here or on the sourceforge page.
 
Old 07-17-2008, 02:35 AM   #9
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
I know releases are coming quickly but I want to make sure that a new user's initial experience with milbviewer is a smooth one. It'll level out soon enough and become as stable as its older sister, mlbviewer.
 
Old 04-08-2011, 05:08 PM   #10
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
Coming back to life

I'm reviving milbviewer for 2011 season because they have added a lot more games to the offering including a lot more AAA games and the picture quality has improved to 1000K.

Please use this thread for any chatter about milbviewer and keep it off the mlbviewer thread.

So where I'm at now is that there are two JSONs that need to be parsed plus an XML. One JSON has the times but no media listings. The other JSON has the media listings but no times. How stupid!

I hope to have a working release by May 1. Stay tuned.
 
Old 04-08-2011, 08:47 PM   #11
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
Still very early and haven't touched the milbviewer.py or MiLBviewer library code, but you can now checkout (svn up) test/milblistings.py and test/stdnosoap.py. These work very similar to the mlbviewer counterparts. Listings presents an unformatted (and not yet time adjusted) version of games available. Use stdnosoap.py with the "C:" ID.

Many games still might not work this way but I have had success with at least a few so far; at least one live game, and a couple of archived games.
 
Old 05-20-2013, 01:19 PM   #12
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Original Poster
Rep: Reputation: 76
Milbviewer has been retired but lives on in Mlbviewer!

While MiLB.TV does use different backend from MLB.TV, the differences between the products were not large enough to maintain separate projects. I am killing off milbviewer and have integrated MiLB.TV functionality into its bigger brother, mlbviewer. The upshot of this is that you will get all the free features of MLB.TV (condensed games, highlights, scoreboard view, box scores, line scores, RSS, and standings) and MiLB.TV support and some of those features that were easy enough to port to MiLB such as box scores and line scores.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hi I'm matthew and I'm addicted to baseball daftcat LinuxQuestions.org Member Intro 1 04-03-2008 05:07 AM
fantastical baseball bat titanium_geek General 6 08-16-2007 11:28 AM
LXer: Back to baseball with Retrosheet and OSS LXer Syndicated Linux News 0 03-05-2007 05:31 PM
LXer: League of Technical Voters codeathon raises visibility LXer Syndicated Linux News 0 10-20-2006 06:21 AM
Whats your favourite English Premier League team??? timmy_laf General 27 01-22-2004 10:38 PM


All times are GMT -5. The time now is 11:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration