Use MusicBrainz Picard’s file naming script to place disc and track numbers before each FLAC title. Work on copies of one release, keep file moving disabled for the trial, and preview the effect on several tracks before saving. Verify that both disc order and the audio-to-title relationship survived the rename. A useful filename comes from correct tags and a clear format.

The example shows a two-disc release with two tracks called Arrival. A title-only rule cannot tell the two copies apart. A disc-and-track rule produces a distinct location in the sequence even when titles repeat. The trial also checks one missing track number and a title containing path punctuation. You can work with existing tags for the naming exercise and use MusicBrainz lookup separately if the release needs correction.

Copy one release and make a source inventory

Start with one ordinary album folder outside your music library’s watched import locations. Copy the FLAC tracks into a trial area in Finder. Keep the originals where they are. If the release originally has separate disc folders, copy the tree first, document the relationship, and keep the separate folders for this trial. Disabling moves means a test file will stay in its current folder. You will still be able to see whether the proposed name would make sense in a combined delivery.

Keep a copy of the album’s cover, cue sheet, and liner notes if they matter to your use. Add only the selected FLAC files to Picard for the test. An external playlist or cue sheet can contain literal paths. Renaming the FLAC files does not update those references by itself. The old path list may still be important if the album was assembled from discs with separate organizations or if a device relies on a fixed import playlist.

Write a short source list before changing anything. For each selected track, record its existing relative path, expected title, disc number, track number, and approximate duration. When two tracks share a title, mark a reliable difference, such as a spoken announcement at the beginning of the second or a change in length. That gives you an independent way to check the file assigned to each new position. Metadata identifying the track is a useful clue, while the source audio or release documentation can settle a disagreement.

For a worked example, imagine a release called Workshop Sessions with an instrumental opening titled Arrival on disc 1 track 1 and a spoken Arrival on disc 2 track 1. Disc 1 track 2 is Tool Table. Disc 2 track 2 is Boards and Brushes. The original files have short rip names that restart on each disc. Using the exact title Arrival alone for both openings would obscure which disc they belong to. The trial rule will name them 1-01 - Arrival.flac and 2-01 - Arrival.flac. Neither name implies the two pieces contain the same recording.

If the folder has a cover from one edition and audio from another, first decide which release the delivery is supposed to represent. Changing tags to match the wrong edition can spread the mismatch into the filename and a player library at once. For example, a reissue may put a bonus spoken track at the start of disc 2 while the original places it at the end. The naming rule will faithfully use whichever track numbers Picard supplies, so collect enough evidence about the edition before applying the rule.

Review loaded metadata and the release edition

Add the working FLAC copies to Picard. Compare the original metadata with the values that will be used when saving, focusing on album, title, disc number, and track number. A filename from another rip can present a track number that disagrees with its FLAC tag. Decide which is correct from the release or from a verified mapping rather than treating the filename as the stronger source in every case.

When local tags are already reliable, use those values for the naming exercise. For a known incomplete or mismatched set, Picard provides separate ways to obtain album information from MusicBrainz. Lookup for grouped files tries to identify a release using the cluster’s information. Scan uses audio-derived AcoustID fingerprints and looks up individual tracks. Both can involve online services, and an individual fingerprint match can identify a recording found on several releases. Choose the exact edition separately. MusicBrainz Picard album retrieval methods.

If two candidate releases have the same title, compare their number of discs, track counts, dates, and durations, then check where the repeated titles appear. The two-disc Workshop Sessions example expects Arrival on each disc in position one. An edition returning one disc or listing Arrival in position five conflicts with the source list. Leave the files unsaved while identifying the correct match. In Picard’s album area, inspect the relationship between each loaded file and its proposed track rather than assuming that every entry shown on a release already has an audio file attached.

A track missing a disc number deserves a decision even if the album is usually one disc. For this two-disc test, the disc number is required for every copied file. A filename whose leading digits look reasonable could hide a missing tag, especially where the naming script converts nonnumerical input to zero. A compilation with continuous numbering across discs can also differ from this project’s per-disc numbering approach. Keep your planned rule and source index beside the corrected tag list before proceeding.

Set a track-oriented naming rule

Open Picard’s file naming options. Enable Rename files when saving and leave Move files when saving unchecked for the trial. Also keep any additional file moving disabled. These options control different parts of the save, and both can use the naming script. A simple script without directory components makes the proposed result easier to review. The official documentation explains the relationship between naming, moving, and additional files. Picard file naming options.

Open the file naming script editor from the file naming options or the application’s file naming scripts menu. Create a custom trial script with a name you recognize, so the existing preset can be selected again. Use this example line for the two-disc set. Picard appends the file’s extension when it names the track. The expression references the metadata fields for disc number, track number, and title. The numeric function pads the track field to at least two digits. Picard script editor, Picard numeric formatting.

%discnumber%-$num(%tracknumber%,2) - %title%

Use the simple rule once you have verified all three fields. The filing examples display the resulting names in Before and After columns. Select files from the practice set before opening the options, including both repeated titles and one later track. Picard can sample up to ten files from a selection for these examples. With a small explicit selection, you can inspect specific rows without assuming the preview covers the entire library. Confirm the examples correspond to your actual sample rather than fallback sample names.

For the four-track exercise, look for disc 1 track 1 as 1-01 - Arrival.flac, disc 1 track 2 as 1-02 - Tool Table.flac, disc 2 track 1 as 2-01 - Arrival.flac, and disc 2 track 2 as 2-02 - Boards and Brushes.flac. If a file previews with an initial hyphen or a zero track number, review its disc or track tag. The padding function can yield zeros when its argument is missing or invalid. A name with an apparently tidy two-digit number still needs confirming.

If you use a collection with ten or more discs, consider a deliberate disc-width choice after checking how the recipient sorts names. The same numeric function can pad the disc number as well. Pick a width for the whole set before saving, since a mixture of one- and two-digit disk prefixes may appear in a surprising order when text sorting differs from your file browser. Do not use a leading zero to conceal an unverified disc number. A preview should show whether the model of the release agrees with your chosen naming rule.

Check titles that contain punctuation and duplicate names

Pick one track that has a slash, colon, question mark, or another character the destination platform may restrict. Write down its desired title before looking at the preview. The display tag can preserve the expected spelling even if the file name needs a permitted substitution. The script syntax also uses a slash between folder components. Keep the script itself free of inserted path separators for this single-folder naming exercise, and inspect what your installed version does with punctuation that comes from tag values.

For example, the official track title might read Boards / Brushes. One delivery could use a visible separator such as a dash in the filename while keeping the title’s punctuation in the FLAC tag. Review the file naming compatibility settings and preview this exact track under the recipient’s intended conventions. Changing the metadata title simply to hide a filename concern can affect downstream displays, so check both values in the player. The filename and the embedded title serve separate needs.

Two apparently distinct titles can become visually identical after replacement of punctuation or case. A title written with a slash and a title written with a colon could both turn into the same cleaned string, depending on your settings. Unique disc and track tags ordinarily distinguish them in this release. If two proposed names still match in the same folder, check whether you accidentally assigned duplicate disc and track values or included two editions in the selection. Treat a collision as information about the source mapping before deciding whether to append a version label.

The practice justifies a small selection of edge cases. Choose a normal title, the repeated title from each disc, the punctuated track, and any file whose metadata is incomplete. Keep a short record of the expected new name, old name, and any allowed spelling change. The few minutes spent comparing these cases give you a map for diagnosing a later result where the total track count is correct but a particular entry is wrong.

Save two copies first and inspect what changed

When the preview agrees with your source list, save only a small sample of the working copies. Use Picard’s Save action after verifying the chosen tracks or release are the ones marked for this trial. If several separate albums are loaded in Picard, make sure the selection does not include an unrelated release. The Picard guide describes a save confirmation for matched tracks. Picard saving updated files.

Find the resulting files on disk in the original trial location. Their names should reflect the preview, and the other working files should still be available for review. Open each result in a player and check the displayed title, disc, and track where your player shows them. Listen to enough of the beginning to identify the correct recording. For the two Arrivals, check that the instrumental opening belongs to the first disc and the spoken version to the second.

Picard can write metadata when saving. A checksum of the whole FLAC file can therefore change even while the sound remains the same. Check the tags that matter, including artwork or identifiers needed by the recipient. If your goal is a strictly byte-identical FLAC copy under a changed name, review this workflow against that goal before using it in production. A rename performed separately after inspecting the tags would allow a direct file comparison. This exercise tests Picard’s naming on working copies and checks the resulting container and audio separately.

If the album uses an external playlist, keep it pointed at the old location while you verify the trial. Make a separate delivery version of the playlist if the recipient needs it, with one reference updated to the copied filename, then check that it opens the intended audio. A title that displays correctly in a library database can still have a stale path in a playlist file. Preserve the previous version so the source collection remains usable while you review the new package.

Compare FLAC audio evidence without equating it with tags

If you already have the reference FLAC tools, use metaflac to read the STREAMINFO MD5 value from an original and its renamed working copy. This is a value stored in the file for the decoded audio samples. It is different from a digest of the full file with metadata. Use the paths from your own source map. Check that both reported values are meaningful and identical before treating them as supporting evidence. A file can omit its stored signature, represented by zero, so a matching pair of zeros cannot establish audio identity. Xiph.Org metaflac tool reference.

metaflac --with-filename --show-md5sum \
  "/absolute/path/to/Original/Disc 1/track01.flac" \
  "/absolute/path/to/Trial/Disc 1/1-01 - Arrival.flac"

If the tools are available, test both streams as well. In test mode FLAC checks decoding without writing an audio file. It also checks applicable audio checksums against the stored values. This gives stronger evidence when a file has a nonzero stored signature, since simply reading the signature from two headers does not test their actual streams. Xiph.Org FLAC test mode.

flac -t "/absolute/path/to/Original/Disc 1/track01.flac" \
  "/absolute/path/to/Trial/Disc 1/1-01 - Arrival.flac"

When matching files report different nonzero signatures, review the source map before assuming a save altered the audio. On a two-disc set an old path called track01 is ambiguous without its parent folder. If both audio files test successfully on their own and their stored signatures differ, they may simply be different recordings. Compare duration and the audible checkpoint, then match the correct original to the working copy.

If the FLAC tools are unavailable, check playback around the beginning and a representative later moment in each trial file, along with durations and the metadata view. This confirms meaningful identity features for the selected copies while leaving exact audio equivalence unverified. If your release process requires audio-level comparison, plan that check where the appropriate tools and original files are available.

Save the rest only after the trial agrees

Before saving the album, compare the whole track list against the release you selected. Check that the file count is right, disc numbering is consistent, and each track is assigned once. Inspect unusual paths, missing numbers, and names that would be duplicates. Move or rename only within the planned working set. A file that did not participate in the sample can still have a metadata issue, even if the two Arrivals looked right.

Keep the rollout reversible by leaving the original collection untouched until the new folder has been read in the target player. Verify the order where the recipient will actually listen. One media library can sort by embedded disc and track tags while Finder displays alphabetical names. If the order is correct in one view and wrong in another, identify which values the destination uses before changing both. You can keep a meaningful filesystem name and correct the appropriate embedded tags separately.

If a save fails midway, preserve the trial copy and compare it with the pre-save source list. You may find some new names and some old ones. Record which were saved before trying again. For a small album, rebuilding a fresh practice folder from the original avoids mixing attempts while you resolve write permissions or a metadata error. Keep the old script selected where it is still needed for other collections and retain the new one by name for this release.

Store the successful before-and-after list with the edition information and the exact script used. If someone later asks which Arrival was delivered, you can answer from the disc number, starting scene, and verified original mapping. The handoff is complete when the expected filenames exist, the files open in the recipient’s player, and the release’s tags and audio checks identify the same tracks you set out to rename.

Check that disc and track metadata traveled with the rename

One final inspection can separate a good title from an incorrect position. In a tag reader, locate the copied track’s disc and track fields and compare them with the new name. A track whose filename begins with disc two but whose embedded disc says one will often be grouped by the embedded value in library applications. In the worked example, inspect both Arrivals in the same player and choose the view that shows their album and disc information. If both are filed as disc one track one, revisit the values actually saved in the files.

The reference tool can also show those embedded fields directly on an ordinary FLAC file. The field names here are the customary Vorbis comments used in this example. If your recording uses a different convention for extra fields, compare its original comments rather than adding or discarding fields based on the displayed filename alone. Keep the copied audio verification apart from the metadata inspection so each result is clear in the handoff.

metaflac --show-tag=DISCNUMBER --show-tag=TRACKNUMBER --show-tag=TITLE \
  "/absolute/path/to/Trial/Disc 2/2-01 - Arrival.flac"

The expected values are disc two, track one, and Arrival. Open the actual target library and locate that entry again. When two similarly named albums are already in the library, inspect the edition details the player exposes, such as date or album artist, and compare the copied file’s path. Some libraries copy imports to their own storage location, so finding the correct title in the user interface does not name the exact input file unless you confirm its path or match the result independently.

Save the sample outcomes as a short track sheet if others will continue the work. Include the original path, the accepted new path, the release edition, the checked embedded fields, and whether audio was checked through playback or a verified stream signature. A missing inspection is easier to resolve when the record names the exact file and measurement. This also gives a second reviewer a clean way to check one disc without repeating the whole trial.

References