LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   MiLB.tv for Linux (minor league baseball) (https://www.linuxquestions.org/questions/fedora-35/milb-tv-for-linux-minor-league-baseball-654803/)

daftcat 07-10-2008 04:09 AM

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

mrbadboy 07-10-2008 06:53 PM

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.

daftcat 07-10-2008 11:31 PM

Quote:

Originally Posted by mrbadboy (Post 3210576)
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

mrbadboy 07-10-2008 11:41 PM

The straight vlc works.
Thanks for a great program, and all of your efforts!

daftcat 07-14-2008 07:32 AM

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

daftcat 07-14-2008 01:19 PM

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.

daftcat 07-16-2008 11:44 PM

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. ;)

daftcat 07-17-2008 02:26 AM

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.

daftcat 07-17-2008 02:35 AM

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.

daftcat 04-08-2011 05:08 PM

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.

daftcat 04-08-2011 08:47 PM

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.

daftcat 05-20-2013 01:19 PM

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.


All times are GMT -5. The time now is 08:32 PM.