From 87b7d5c38dbe65e6a1aa06361378c25bae2fada9 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Sat, 25 Jul 2026 16:35:46 +0200 Subject: [PATCH] feat: update some constants --- pyproject.toml | 2 +- src/lrx_cli/authenticators/spotify.py | 2 +- src/lrx_cli/config.py | 2 +- uv.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fc69e2b..6145765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "lrx-cli" -version = "0.7.10" +version = "0.7.11" description = "Fetch line-synced lyrics for your music player." readme = "README.md" requires-python = ">=3.13" diff --git a/src/lrx_cli/authenticators/spotify.py b/src/lrx_cli/authenticators/spotify.py index 919093d..c45465e 100644 --- a/src/lrx_cli/authenticators/spotify.py +++ b/src/lrx_cli/authenticators/spotify.py @@ -30,7 +30,7 @@ SPOTIFY_BASE_HEADERS = { "Referer": "https://open.spotify.com/", "Origin": "https://open.spotify.com", "App-Platform": "WebPlayer", - "Spotify-App-Version": "1.2.88.21.g8e037c8f", + # "Spotify-App-Version": "1.2.96.41.g099e5522", } diff --git a/src/lrx_cli/config.py b/src/lrx_cli/config.py index eddd3ec..3bb9cae 100644 --- a/src/lrx_cli/config.py +++ b/src/lrx_cli/config.py @@ -61,7 +61,7 @@ MULTI_CANDIDATE_DELAY_S = 0.2 # delay between sequential lyric fetches LEGACY_CONFIDENCE = 50.0 # User-Agents -UA_BROWSER = "Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0" +UA_BROWSER = "Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0" UA_LRX = f"LRX-CLI {APP_VERSION} (https://github.com/Uyanide/lrx-cli)" MUSIXMATCH_COOLDOWN_MS = 600_000 # 10 minutes diff --git a/uv.lock b/uv.lock index f92a41f..265727c 100644 --- a/uv.lock +++ b/uv.lock @@ -153,7 +153,7 @@ wheels = [ [[package]] name = "lrx-cli" -version = "0.7.10" +version = "0.7.11" source = { editable = "." } dependencies = [ { name = "cyclopts" },