diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab04655b..5c62f962 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,11 @@ repos: rev: v3.2.0 hooks: - id: check-added-large-files # Prevents giant files from being committed + exclude: | + (?x)^( + chromecast-receiver/cc-receiver-logo.png| + media/cc-receiver-logo.svg + )$ - id: check-yaml # Checks yaml files for parseable syntax - id: end-of-file-fixer # Ensures that a file is either empty, or ends with one newline - id: trailing-whitespace # Trims trailing whitespace diff --git a/chromecast-receiver/cc-receiver-logo.png b/chromecast-receiver/cc-receiver-logo.png new file mode 100644 index 00000000..a07ab235 Binary files /dev/null and b/chromecast-receiver/cc-receiver-logo.png differ diff --git a/chromecast-receiver/receiver.html b/chromecast-receiver/receiver.html index a58225c0..834fef19 100644 --- a/chromecast-receiver/receiver.html +++ b/chromecast-receiver/receiver.html @@ -3,23 +3,25 @@ Wahoo Results! + diff --git a/imagecast.py b/imagecast.py index 0d3667cc..d6e3d624 100644 --- a/imagecast.py +++ b/imagecast.py @@ -37,7 +37,8 @@ IMAGE_SIZE = (1280, 720) # Chromecast image refresh interval (seconds) -_REFRESH_INTERVAL = 15 * 60 +# Newer versions of the Chromecast firmware seem to have a 10 minute timeout +_REFRESH_INTERVAL = 7 * 60 # Chomecast application id _WAHOO_RESULTS_APP_ID = "34B218B6" diff --git a/media/cc-receiver-logo.svg b/media/cc-receiver-logo.svg new file mode 100644 index 00000000..56cbf10d --- /dev/null +++ b/media/cc-receiver-logo.svg @@ -0,0 +1,81873 @@ + + + + + WR Chromecast receiver logo + + + + + + + + + + + + + + + + + + + + + Wahoo! Results + + Wahoo! Results + + + + Scoreboard + Scoreboard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WR Chromecast receiver logo + + + +