riffnshred / nhl-led-scoreboard

🚨 Display NHL live score, stats, and more of your favorite teams, on a Raspberry Pi driven RGB LED matrix. 🚨
GNU General Public License v3.0
422 stars 96 forks source link

3 new boards, player_stats and league_leaders #405

Closed IsaacLoewen closed 1 year ago

IsaacLoewen commented 1 year ago

3 new boards!

_Just a note for anyone testing the nhl_setup app, you must rebuild or else it will most likely crash due to how github merge works with compiled programs!_

I've been working on this for a while on and off, at least a year, but now I think they're ready. Here's a description of each board:

player_stats

This board will show any specified player's stats for the current season. For skaters, it is assists and goals, while for goalies it is wins and save percentage. Right now, it will crash if you put an invalid player name into your config. helle jpg connor jpg

The config is really simple and goes as follows:

        "favorite_player": [
            "Connor Hellebuyck",
            "Connor Mcdavid",
            "Kyle Connor"
        ]

league_leaders

This board shows the top 4 players from various categories, and during the playoffs there is a little indicator showing that it is the playoffs. It features:

Here is the config:

        "league_leaders": {
            "goal_leaders": true,
            "assist_leaders": true,
            "point_leaders": true,
            "win_leaders": true,
            "plus_minus_leaders": true,
            "penalty_minute_leaders": true,
            "time_on_ice_leaders": false
        }

assist goal

period_summary

This board is supposed to show stats and goals for your favourite teams during intermissions and after games. Currently there is no config for this board. TODO: only show after game + during periods loop through all of a users favourite teams currently playing Gif

I think that is all, if I am missing anything please let me know, my discord is ibex__ and I am also in the nhl-led-scoreboard discord server

IsaacLoewen commented 1 year ago

Updated the Pull Request.