Compare commits

...

2 Commits

Author SHA1 Message Date
Uyanide c8ccf31583 feat: log blacklisted player 2026-04-10 15:45:07 +02:00
Uyanide 6e971941f8 chore: 0.7.7 2026-04-10 15:45:07 +02:00
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "lrx-cli"
version = "0.7.6"
version = "0.7.8"
description = "Fetch line-synced lyrics for your music player."
readme = "README.md"
requires-python = ">=3.13"
+6 -5
View File
@@ -103,11 +103,12 @@ async def _select_player(
return matched[0] if matched else None
# auto-selection: apply blacklist before choosing
candidates = [
p
for p in all_names
if not any(x.lower() in p.lower() for x in player_blacklist)
]
candidates = []
for p in all_names:
if any(x.lower() in p.lower() for x in player_blacklist):
logger.info(f"Excluding blacklisted player: {p}")
else:
candidates.append(p)
playing: list[str] = []
for p in candidates:
status = await _get_playback_status(bus, p)
+1
View File
@@ -178,6 +178,7 @@ class PlayerMonitor:
if not hint_active and any(
x.lower() in name.lower() for x in self._player_blacklist
):
logger.info(f"Excluding blacklisted player: {name}")
continue
if not self._target.allows(name):
continue
Generated
+1 -1
View File
@@ -153,7 +153,7 @@ wheels = [
[[package]]
name = "lrx-cli"
version = "0.7.6"
version = "0.7.8"
source = { editable = "." }
dependencies = [
{ name = "cyclopts" },