commit 2cb5a8f88b33d226496bbdd06599bc7b7f831a07
parent bf781c3b7059af586f5aa62b3ffddc846fb34882
Author: Hunter
Date:   Mon,  6 Apr 2026 16:36:52 -0400

catalog.py -> scan.py; remove manifest.json from staticFiles in script.js

Diffstat:
Mbuild.py | 2+-
Mmix/readme.md | 2+-
Mreadme.md | 2+-
Mresources/script.js | 1-
Mrip.py | 2+-
Rcatalog.py -> scan.py | 0
6 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/build.py b/build.py @@ -124,7 +124,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 catalog.py first.") + print("Error: tracks.json not found. Run scan.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 `catalog.py` to create `tracks.json`. +add your audio files here, then run `scan.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 tracks to purchase (opens in iTunes on MacOS, <a href="https://song.link/i/1651294855">song.link</a> otherwise) - - run `./catalog.py` to parse `/mix` and populate `tracks.json`, which defines the tracks available to the player. after running `./catalog.py` once, you can manually edit `tracks.json` to refine your mix. + - run `./scan.py` to populate `tracks.json`, which defines the tracks available to the player. after running `./scan.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/resources/script.js b/resources/script.js @@ -49,7 +49,6 @@ let CACHE_NAME = 'my-mixapp'; // Default fallback const staticFiles = [ './', 'index.html', - 'manifest.json', 'resources/styles.css', 'resources/script.js', 'mix/tracks.json', 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 catalog.py to generate tracks.json with metadata") + print(" 1. Run scan.py to generate tracks.json with metadata") print(" 2. Run host.py to test your mixtape locally") # Eject the CD diff --git a/catalog.py b/scan.py