robbydyer / sports

Raspberry Pi RGB Matrix controller for Sports Scoreboards (and others), written in Go
GNU General Public License v3.0
78 stars 12 forks source link

Sticky Board Enhancement Idea #242

Closed Danrarbc closed 2 years ago

Danrarbc commented 2 years ago

I actually really like the sticky feature but sometimes I wish other boards could still be seen, just less often.

Adding something like a stickyDelay option in the config file could enable you to still track your sticky game(s) while still allowing you a look at the rest of the information you have set up. This could be a per-board option, the default would remain what it now with the permanent display (I guess that'd be a value of 0). But with this option we'd be able to set, for example, NBA up for a 60 second sticky, MLB with 30 seconds and NHL with just a slightly longer than usual 15 seconds - while still being able to see the other scores and boards we have configured.

robbydyer commented 2 years ago

There weren't any live games on for me to test this with, so I just did a beta release. Give it a try and let me know how it goes. https://github.com/robbydyer/sports/releases/tag/v0.0.87beta1

Beta Install:

curl https://raw.githubusercontent.com/robbydyer/sports/master/script/beta-install.sh | sudo bash

The new config option is a per-sport stickyDelay, like https://github.com/robbydyer/sports/blob/master/sportsmatrix.conf.example#L200

Danrarbc commented 2 years ago

I haven't tried adding more than one team to my active list yet but the feature is working great with one active MLB game in my favorite list right now.

Danrarbc commented 2 years ago

Decided to test a second live game. It sticks on both for the desired interval and then continues the rotation. Only tested with MLB so far but it seems to work exactly as expected.

robbydyer commented 2 years ago

Awesome, thanks for testing it out.