You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ To describe the general workflow:
66
66
-**Cover fetching** or upgrades from the [Cover Art Archive](https://coverartarchive.org/).
67
67
- Care taken to ensure **no orphan** folders are left in the library when moves or copies occur.
68
68
- Validation to ensure your library is **always consistent** with no duplicates or unrecognised paths.
69
-
- Proper **multi-disc** release handling with correct disc numbers and subtitles.
69
+
- Proper **multi-disc/media** release handling with disc/media numbers and subtitles.
70
70
- Safe **concurrent** processing with tree-style filesystem locking.
71
71
- Addons for fetching lyrics, calculating [ReplayGain](https://wiki.hydrogenaud.io/index.php?title=ReplayGain_2.0_specification), or any user-defined subprocess.
72
72
- Rescanning the library and processing it for new changes in MusicBrainz (`wrtag sync`).
@@ -518,7 +518,7 @@ path-format C:\User\John\Music\{{ <some artist format> }}\({{ <some release form
518
518
```
519
519
520
520
> [!NOTE]
521
-
> Path formats are validated to ensure that all tracks from a release (including multi-disc releases) are placed in the same directory. If your format uses `.Media` fields in the directory portion (not just the filename), validation will fail.
521
+
> Path formats are validated to ensure that all tracks from a release (including multi-disc/media releases) are placed in the same directory. If your format uses `.Media` fields in the directory portion (not just the filename), validation will fail.
522
522
523
523
## Available template data
524
524
@@ -527,13 +527,13 @@ The template has access to the following data:
527
527
- `.Release` - The full MusicBrainz release object (see [`type Release struct {`](https://github.com/sentriz/wrtag/blob/master/musicbrainz/musicbrainz.go))
528
528
- `.ReleaseDisambiguation` - A string for release and release group disambiguation
529
529
- `.IsCompilation` - Boolean indicating if this is a compilation album
530
-
- `.Media` - The current media/disc being processed (see [`type Media struct {`](https://github.com/sentriz/wrtag/blob/master/musicbrainz/musicbrainz.go))
531
-
- `.Media.Position` - Disc number (1, 2, 3...)
532
-
- `.Media.TrackCount` - Total tracks on this disc
533
-
- `.Media.Title` - Disc subtitle (if any)
530
+
- `.Media` - The current disc/media being processed (see [`type Media struct {`](https://github.com/sentriz/wrtag/blob/master/musicbrainz/musicbrainz.go))
531
+
- `.Media.Position` - Media number (1, 2, 3...)
532
+
- `.Media.TrackCount` - Total tracks on this media
533
+
- `.Media.Title` - Media subtitle (if any)
534
534
- `.Media.Format` - Media format (e.g., "CD", "Vinyl")
535
535
- `.Track` - The current track being processed (see [`type Track struct {`](https://github.com/sentriz/wrtag/blob/master/musicbrainz/musicbrainz.go))
536
-
- `.Track.Position` - Track number on the disc (1, 2, 3...)
536
+
- `.Track.Position` - Track number on the media (1, 2, 3...)
537
537
- `.Track.Number` - Track number as string (e.g., "1", "A1" for vinyl)
538
538
- `.Track.Title` - Track title
539
539
- `.Track.Artists` - Track artists
@@ -567,7 +567,7 @@ In addition to what's provided by Go [text/template](https://pkg.go.dev/text/tem
567
567
568
568
### The recommended format
569
569
570
-
Including multi-album artist support, release group year, release group and release disambiguations, disc number prefix for multi-disc releases, track numbers, total track numbers, artist names if the release is a compilation album:
570
+
Including multi-album artist support, release group year, release group and release disambiguations, disc/media number prefix for multi-media releases, track numbers, total track numbers, artist names if the release is a compilation album:
0 commit comments