FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.)
- 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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.