Loading...
Loading...
Renames an album or track, updating slugs, titles, and all mirrored paths. Use when the user wants to rename an album or track.
npx skill4agent add bitwize-music-studio/claude-ai-music-skills rename<type> <current-name> <new-name>album old-album-name new-album-nametrack my-album 01-old-track 01-new-trackUsage:
/rename album <current-slug> <new-slug>
/rename track <album-slug> <current-track-slug> <new-track-slug>
Examples:
/rename album my-old-album my-new-album
/rename track my-album 01-old-name 01-new-nameget_config()Rename album 'old-name' -> 'new-name'?
This will:
- Move content directory
- Move audio directory (if exists)
- Move documents directory (if exists)
- Update README.md title
- Update state cacheRename track 'old-name' -> 'new-name' in album 'album-name'?
This will:
- Rename track file
- Update title in metadata table
- Update state cache
Note: Audio files are NOT renamed (they have Suno-generated names).rename_albumold_slugnew_slugnew_titlerename_trackalbum_slugold_track_slugnew_track_slugnew_titleRenamed album 'old-name' -> 'new-name'
Content directory: moved
Audio directory: moved (or: no audio directory found)
Documents directory: moved (or: no documents directory found)
Tracks updated: NRenamed track 'old-name' -> 'new-name' in album 'album-name'
Old path: /path/to/old-file.md
New path: /path/to/new-file.md
Title updated to: "New Name"Error: Album 'name' not found.
Available albums: album-1, album-2, album-3Error: Album 'new-name' already exists.
Choose a different name.Warning: Content directory renamed successfully, but:
- Audio directory rename failed: [error]
- Documents directory rename failed: [error]
The content directory has been moved. Use rebuild_state to refresh the cache,
then manually move any remaining directories.