feat: update some constants
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "lrx-cli"
|
name = "lrx-cli"
|
||||||
version = "0.7.10"
|
version = "0.7.11"
|
||||||
description = "Fetch line-synced lyrics for your music player."
|
description = "Fetch line-synced lyrics for your music player."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ SPOTIFY_BASE_HEADERS = {
|
|||||||
"Referer": "https://open.spotify.com/",
|
"Referer": "https://open.spotify.com/",
|
||||||
"Origin": "https://open.spotify.com",
|
"Origin": "https://open.spotify.com",
|
||||||
"App-Platform": "WebPlayer",
|
"App-Platform": "WebPlayer",
|
||||||
"Spotify-App-Version": "1.2.88.21.g8e037c8f",
|
# "Spotify-App-Version": "1.2.96.41.g099e5522",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ MULTI_CANDIDATE_DELAY_S = 0.2 # delay between sequential lyric fetches
|
|||||||
LEGACY_CONFIDENCE = 50.0
|
LEGACY_CONFIDENCE = 50.0
|
||||||
|
|
||||||
# User-Agents
|
# 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)"
|
UA_LRX = f"LRX-CLI {APP_VERSION} (https://github.com/Uyanide/lrx-cli)"
|
||||||
|
|
||||||
MUSIXMATCH_COOLDOWN_MS = 600_000 # 10 minutes
|
MUSIXMATCH_COOLDOWN_MS = 600_000 # 10 minutes
|
||||||
|
|||||||
Reference in New Issue
Block a user