From 799a452177c116193bac122675f77a19259550bb Mon Sep 17 00:00:00 2001 From: shmoobijones Date: Sat, 21 Feb 2026 18:43:16 -0500 Subject: [PATCH 1/4] Enhance README for Spring Training support Added support for Spring Training series in the README. --- widgets/mlb-scores-tracker/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/widgets/mlb-scores-tracker/README.md b/widgets/mlb-scores-tracker/README.md index 337b9a9..9851e98 100644 --- a/widgets/mlb-scores-tracker/README.md +++ b/widgets/mlb-scores-tracker/README.md @@ -99,7 +99,8 @@ {{ $seriesLabel := .String "description" }} {{ $seriesGame := .Int "seriesGameNumber" }} {{ $isRegularSeries := or (eq $seriesDesc "Regular Season") (eq $seriesDesc "Regular Season 1") (eq $seriesDesc "Regular Season 2") (eq $seriesDesc "Regular Season 3") (eq $seriesDesc "Regular Season 4") }} - {{ $isPlayoffSeries := and (ne $seriesDesc "") (not $isRegularSeries) }} + {{ $isSpringTraining := eq $seriesDesc "Spring Training" }} + {{ $isPlayoffSeries := and (ne $seriesDesc "") (not $isRegularSeries) (not $isSpringTraining) }} {{/* offense & base occupancy */}} {{ $r1 := .Exists "linescore.offense.first" }} {{ $r2 := .Exists "linescore.offense.second" }} @@ -136,7 +137,7 @@ {{ end }} - + {{ if eq $abs "Preview" }} {{ $gameTime := (.String "gameDate" | parseTime "2006-01-02T15:04:05Z").In now.Location }} {{ printf "%02d:%02d" $gameTime.Hour $gameTime.Minute }} @@ -148,7 +149,7 @@ {{ $detailed }} {{ end }} {{ if $isPlayoffSeries }} - + {{ if $seriesLabel }} {{ $seriesLabel }} {{ else if gt $seriesGame 0 }} @@ -158,6 +159,9 @@ {{ end }} {{ end }} + {{ if $isSpringTraining }} + Spring Training + {{ end }} {{ if and $live (eq $offTeamId $homeId) }} From ee732f3c5e3d27f7a7497e0aed8b79ebc7aeeb09 Mon Sep 17 00:00:00 2001 From: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:43:37 +0000 Subject: [PATCH 2/4] Update registry --- registry/widgets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/widgets.json b/registry/widgets.json index d7e2c53..f949929 100644 --- a/registry/widgets.json +++ b/registry/widgets.json @@ -391,9 +391,9 @@ "description": "Lists all MLB scores daily, with baserunner info and inning scores.", "author": "ShmoobiJones", "directory": "mlb-scores-tracker", - "readme_hash": "d3be8af0a9b72b2deeae6642ee4176e2edfcad4a", + "readme_hash": "437862b7419667a47f6936a36a79cc1dcde2234e", "time_added": "2025-05-12T19:44:14.8033Z", - "time_updated": "2025-10-13T23:38:06.284535452Z" + "time_updated": "2026-02-21T23:43:37.388059771Z" }, { "title": "Mealie Today's Meal", From 3f5dcfcaf1360d7cf4f1e4cfba12ac211568776a Mon Sep 17 00:00:00 2001 From: shmoobijones Date: Sat, 21 Feb 2026 18:43:41 -0500 Subject: [PATCH 3/4] Fix code block formatting in README.md --- widgets/mlb-scores-tracker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mlb-scores-tracker/README.md b/widgets/mlb-scores-tracker/README.md index 9851e98..7f0308f 100644 --- a/widgets/mlb-scores-tracker/README.md +++ b/widgets/mlb-scores-tracker/README.md @@ -188,4 +188,4 @@ {{ end }} - ``` +``` From 25249504cec4582ec57f69d035552a4512c5c094 Mon Sep 17 00:00:00 2001 From: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:43:52 +0000 Subject: [PATCH 4/4] Update registry --- registry/widgets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/widgets.json b/registry/widgets.json index f949929..5e632c5 100644 --- a/registry/widgets.json +++ b/registry/widgets.json @@ -391,9 +391,9 @@ "description": "Lists all MLB scores daily, with baserunner info and inning scores.", "author": "ShmoobiJones", "directory": "mlb-scores-tracker", - "readme_hash": "437862b7419667a47f6936a36a79cc1dcde2234e", + "readme_hash": "0f983c68e4517b80200a76a21f5a8e4d8506adf6", "time_added": "2025-05-12T19:44:14.8033Z", - "time_updated": "2026-02-21T23:43:37.388059771Z" + "time_updated": "2026-02-21T23:43:52.705528413Z" }, { "title": "Mealie Today's Meal",