From 194fd6134be0df5943428b18f54213d6fe0116bf Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 27 Sep 2026 16:18:24 -0700 Subject: add playlist TIP to README --- README.md | 6 ++++-- expergo.py | 5 ++++- gui.py | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 97d76e7..4042a80 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,11 @@ What each command does: - # GUI ```bash -uv run gui.py [base_dir] +uv run expergo.py gui ``` -image + +> [!TIP] +> If you're using a Snowsky device, you can "emulate" playlist functionality by grouping songs together via the "Genre" tag # Other Tools `apply_album_art.sh` - Recursively traverse all folders, automatically apply album art and resize to all FLACs that have a JPG/PNG in the same directory diff --git a/expergo.py b/expergo.py index 23cd5d2..3d98641 100644 --- a/expergo.py +++ b/expergo.py @@ -255,7 +255,7 @@ class AlbumGroup: @property def name(self) -> str: artist, album = self.key - return f"{album} — {artist}" if artist else album + return f"{album} - {artist}" if artist else album def auto_cover_group(group: AlbumGroup, tries: int = 5) -> str: @@ -471,6 +471,9 @@ def main() -> int: import sys argv = normalize_legacy_argv(list(sys.argv)) + if "gui" in argv: + import gui + gui.main() args = build_parser().parse_args(argv[1:]) base_dir = getattr(args, "base_dir", None) diff --git a/gui.py b/gui.py index 66f0a12..487798d 100644 --- a/gui.py +++ b/gui.py @@ -851,7 +851,7 @@ class CoverDialog(QDialog): self.status.clear() self._loaded = 0 self.progress.start("Searching MusicBrainz") - self.progress.set_detail(f"{album} — {artist}" if artist else album) + self.progress.set_detail(f"{album} - {artist}" if artist else album) def run(task): for event in covers.search_with_thumbnails(album, artist): @@ -1228,7 +1228,7 @@ class MainWindow(QMainWindow): self.log("No tracks with missing album art in the current selection.") return items = [ - SimpleNamespace(key=key, tracks=tracks, name=f"{key[1]} — {key[0]}" if key[0] else key[1]) + SimpleNamespace(key=key, tracks=tracks, name=f"{key[1]} - {key[0]}" if key[0] else key[1]) for key, tracks in groups.items() ] tracks = [t for group in items for t in group.tracks] -- cgit v1.2.3