commit 8551ae29bf69654547351ce7d2a2abca51339879
parent 08f4a34f06f4aee69ebbd95bb587e85d9b8725ba
Author: Hunter
Date: Mon, 16 Feb 2026 11:32:10 -0500
renamed scan.py -> build.py
Diffstat:
5 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/scan.py b/build.py
diff --git a/generate_manifests.py b/generate_manifests.py
@@ -114,7 +114,7 @@ def generate_pwa_manifests(app_name=None, base_path=None):
# Load tracks.json
if not TRACKS_JSON.exists():
- print("Error: tracks.json not found. Run scan.py first.")
+ print("Error: tracks.json not found. Run build.py first.")
return
with open(TRACKS_JSON, 'r', encoding='utf-8') as f:
diff --git a/mix/readme.md b/mix/readme.md
@@ -1,6 +1,6 @@
# /mix
-add your audio files here, then run `scan.py` to create `tracks.json`.
+add your audio files here, then run `build.py` to create `tracks.json`.
supported formats: `.mp3`, `.m4a`, `.ogg`, `.flac`, `.wav`
diff --git a/readme.md b/readme.md
@@ -40,7 +40,7 @@ hits different, right?<br><br>
- add your audio files to the `/mix` directory, or use:
- `./rip.py` to rip tracks from a physical CD
- `./buy.py` to search for songs to purchase (opens in iTunes on MacOS, <a href="https://song.link/i/1651294855">song.link</a> otherwise)
- - run `./scan.py` to parse `/mix` and populate `tracks.json`, which defines the songs available to the player. after running `./scan.py` once, you can manually edit `tracks.json` to refine your mix.
+ - run `./build.py` to parse `/mix` and populate `tracks.json`, which defines the songs available to the player. after running `./build.py` once, you can manually edit `tracks.json` to refine your mix.
- optionally, add an `album_art.jpg` to `/mix` to set the cover art for your mix.
- supported audio formats: `.mp3`, `.m4a`, `.ogg`, `.flac`, `.wav`
diff --git a/rip.py b/rip.py
@@ -363,7 +363,7 @@ def rip_cd():
if success_count > 0:
print(f"\nTracks saved to: {MIX_DIR}")
print("\nNext steps:")
- print(" 1. Run scan.py to generate tracks.json with metadata")
+ print(" 1. Run build.py to generate tracks.json with metadata")
print(" 2. Run host.py to test your mixtape locally")
# Eject the CD