Song import
- Scan (already run once; run again if you add files to
songs/; it overwrites the CSV, so save your edits under another name first):pip install mutagen python tools/scan_songs.py songs songs_manifest.csv - Review
songs_manifest.csvin Excel:title: required. Songs without a title are skipped.singers: separate names with commas (Gowtham, Bharathi). It can stay empty; the app then shows "Singer not credited yet".occasion: one ofhuttu habba madhuvae devotional folk saavu instrumental.include:yesorno. Duplicates and theold hitsfolder (Tamil film songs) start asno.notessays what needs a look. Save as CSV UTF-8.
- Check:
python tools/import_songs.py --dry-run - Import (the server must be running and the migrations applied):
Re-running skips songs already imported, so you can import in batches as you finish reviewing.set NK_URL=https://app.nkbmusic.com set NK_SERVICE_KEY=<SERVICE_ROLE_KEY from the server .env> python tools/import_songs.py # pending; add --approve to publish now