fix: watch pipe mode repeatedly refetch when no lyrics available

This commit is contained in:
2026-04-09 23:28:29 +02:00
parent 6d9cfaf8be
commit e6997a76c4
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "lrx-cli"
version = "0.7.0"
version = "0.7.1"
description = "Fetch line-synced lyrics for your music player."
readme = "README.md"
requires-python = ">=3.13"
+1 -3
View File
@@ -290,9 +290,7 @@ class WatchCoordinator:
return
started_fetch = False
if track is not None and (
player_changed or track_changed or self._model.lyrics is None
):
if track is not None and (player_changed or track_changed):
started_fetch = self._request_fetch_for_active_track("track-changed")
if self._model.lyrics is not None:
Generated
+1 -1
View File
@@ -153,7 +153,7 @@ wheels = [
[[package]]
name = "lrx-cli"
version = "0.6.5"
version = "0.7.1"
source = { editable = "." }
dependencies = [
{ name = "cyclopts" },