fix: watch pipe mode repeatedly refetch when no lyrics available
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user