aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--expergo.py5
-rw-r--r--gui.py4
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
```
-<img width="1913" alt="image" src="https://github.com/user-attachments/assets/932f8402-194f-46da-b9fb-0a34d9df632f" />
+
+> [!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]
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage