Linux - SoftwareThis 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
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Favorites and color optional features committed to svn
I don't see a problem with checking the code in early. I hate waiting for All-Star break to pass.
I've checked the favorite and color optional features into svn (Revision 86)
Those who don't like or would prefer not to use those features, please test the new svn without configuring those features and confirm I didn't break anything.
For those who have responded favorably to the new features, here's the snippet from the README that describes the new config file options:
Quote:
favorite = x (team to highlight in listings using codes above, specify multiple favorite= lines if you have more than one favorite team you'd like to highlight)
use_color = True/False (if this is set, either default colors, currently cyan
on black, or colors of your choosing will highlight teams specified in favorite;
if set to false or absent from config, favorite highlighting defaults to
underlining)
fg_color = x (the foreground color for favorite highlighting)
bg_color = x (the background color for favorite highlighting)
If an invalid color is specified, color is disabled and favorite highlighting
defaults to underlining.
If favorite is configured, use_color, bg_color, and fg_color are optional and
will highlighting defaults to underline. If use_color is set to True, fg_color
and bg_color are optional, and highlighting will default to cyan on black. If
only one of fg_color or bg_color is specified, the other will take on the
default value.
Just missed "Top_Plays_Player" config option. I put "xterm -e mplayer -cache 2048 -quiet" on it, and everything now it's ok.
:O
Hmm. I'll look into this. Top_plays_player should be optional and default to video_player if it's absent. However, one nice thing about keeping them separate is that you can define different buffer values for condensed vs. regular games since condensed is always 400k but regular games can be 400k or 800k.
Hmm. I'll look into this. Top_plays_player should be optional and default to video_player if it's absent. However, one nice thing about keeping them separate is that you can define different buffer values for condensed vs. regular games since condensed is always 400k but regular games can be 400k or 800k.
Sure enough, I was missing the logic to make top_plays_player optional.
EDIT: Or rather, I was missing the logic to use video_player if top_plays_player was absent.
By the way, all you guys who use this and give me feedback...
YOU ROCK!
It helps to have an appreciative user base, but I thought it would also be nice to let you know that appreciation flows both ways.
Stay tuned. I have some awesome new features in the works. And for those of you who like mlbviewer because it's simple, don't worry, I'll take care of you guys too.
no daft.. YOU rock! that's the best linux application for an MLB fan!!!
it would be great if we grow a little community of linux-and-baseball users! what about making an offical site/blog for mlbviewer/milbviewer/and-any-other-baseball-app-for-linux?
i can provide a two-minute wordpress and/or phpbb platform on my server, if some people want to write down something..
Ooooh! Aaaah! I tested it and it looks sharp. But I'm going to have to wait until after the All-Star break to fully test it (e.g. to see what happens with 'In Progress' games.) No games today or Wednesday and the All-Star game is National Blackout. Thursday will likely be the first day I can test it with an 'In Progress' game.
Just updated to latest SVN, it looks REALLY good. You did fantastic work with this latest feature.
Thanks for all of the continued improvements, if only MLB's own product was half as good as this one.
no daft.. YOU rock! that's the best linux application for an MLB fan!!!
it would be great if we grow a little community of linux-and-baseball users! what about making an offical site/blog for mlbviewer/milbviewer/and-any-other-baseball-app-for-linux?
i can provide a two-minute wordpress and/or phpbb platform on my server, if some people want to write down something..
I don't need the extra attention and this thread is actually the first hit on Google. But you guys are welcome to use the discussion forums on the mlbviewer sourceforge site: http://sourceforge.net/projects/mlbviewer
Now that I've figured out how to subscribe to sourceforge threads (and realized a couple of folks were already having some conversations in the forums), it might be easier for new folks to come to a real forum rather than a mammoth thread. It's up to you guys. I'll respond in either forum so long as the notifications are working properly.
You guys can even talk baseball (*gasp* what a concept!) in those forums.
I promised you an awesome new feature and here it is.
From the README:
Quote:
BOOKMARKS
Do you remember what day Bonds hit 756? Do you remember what day Griffey hit
600? Do you remember what day the Angels no-hit the Dodgers and lost? Now
you don't have to. Simply highlight a game, press 'm' to mark it, and give it
a title. The video, audio, and condensed game (if available) will be added
to your bookmarks file in $HOME/.mlb/bookmarks.pf. To view your bookmarks, press the 'b' key. To watch or listen to a bookmarked game, use the Enter or 'a' keys respectively (just like a regular listing.) To delete a bookmark, press 'x' or
Backspace and confirm the deletion. You should refresh your bookmarks view
after you've deleted a bookmark by pressing 'b' again. If bookmarks list is
bigger than the window size, a --More-- dialog will appear at the bottom. You
can use the Spacebar to move to the next page of bookmarks. If there are no
more bookmarks to view, an --End-- dialog will appear.
This is a new feature bound to have bugs. Please submit bug reports either
to the LinuxQuestions.org thread or to the Sourceforge discussion forums.
Update your svn and give it some good testing. There are some funny quirks to it that I will fix another time.
Funny quirks I know of:
Paging (more bookmarks than screen lines) is a hack. I should really implement proper scrolling using curses, but I wanted to get something working tonight
Top Plays is not supported for Bookmarks (but Condensed Games are)
Deleting a bookmark from a paged view updates the current page, but doesn't pull new lines from the next page
Can't go backwards in paging
Have to press 'y'<enter> instead of just 'y' to confirm a delete
Can't re-order your bookmarks, the order you enter them is the order they'll stay in
Bookmark file is not meant for human reading or editing
Bookmark is a snapshot in time, a dump of the listing for that game, bookmark the game before the CG is available and the bookmark will never contain the CG information. Bookmark an 'In Progress' game, and you'll get to watch it later as an Archived game but the Status will always read 'In Progress'
In the same way, speed switching in your bookmarks view is not supported. Whatever speed you were configured for when you bookmarked the game is the speed you'll get when you watch it later.
Probably more....
Some of these will likely get fixed eventually like scrolling while others you'll likely have to live with like readability/writeability of the bookmarks file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.