i3pystatus/i3pystatus/scores
Erik Johnson 8f9c878689 Make NHL team wins reflect series wins during playoffs
The win/loss values from the NHL data feed reset in the playoffs, but
don't reflect the current series. Instead, they reflect the current
win/loss total since the beginning of the playoffs.

This commit checks for a key in the API return data indicating that the
game is a playoff game, and if the game is a playoff game the team's
wins will be set to the remainder of the total wins divided by 4 (a team
with 6 overall wins will be assumed to have 2 wins in the current
playoff series).

The team's losses during a playoff series will be set to the amount of
wins for the opposing team.
2016-05-17 09:49:29 -05:00
..
__init__.py Add module to display sports scores 2016-04-25 22:42:17 -05:00
epl.py Add EPL backend for scores module 2016-04-25 22:42:17 -05:00
mlb.py Properly identify delayed games in-progress 2016-04-25 22:42:17 -05:00
nba.py Use playoff W/L numbers if in playoffs 2016-04-25 22:42:17 -05:00
nhl.py Make NHL team wins reflect series wins during playoffs 2016-05-17 09:49:29 -05:00