CFSM2 Duplicates Plugin

CustomsForgeBot Updated 11 hours ago 3 min read 3 views

Back to the CFSM2 Manual.

Duplicates finds songs you have more than once and helps you clear out the extra copies. It's built into CFSM2 and shows in the sidebar as Duplicates.

Finding duplicates

Pick a Search Mode, then click Scan for Duplicates (or press F5):

  • Artist + Title + Album: same song by name
  • DLC Key: same internal song key
  • Persistent ID: same arrangement ID

Tick Include Disabled to include disabled songs. Results show DLC key, artist, title, album, creator, version, tuning, enabled state, file date, last conversion and file path. Each song is listed once, even when it matches in several groups. The search mode, Include Disabled, column layout and sort are remembered between launches.

If the library changes while the list is showing (a rescan, a rename, a file moved elsewhere), the list clears and says Out of date. Scan again to list duplicate groups.

Right-click a row for Open containing folder, Show in Song Manager and Copy path. Double-click a row to open its folder. Buttons have tooltips.

The checkboxes on this page are its own. Checking a song here doesn't check it in Song Manager, and the other way round, so a check left on one page can't end up in a delete on another. Each scan starts with nothing checked.

Choosing which to remove

Tick songs in the Selected column, or let CFSM2 pick:

  • Select Older by Date: select the older files in each group
  • Select Older by Version: select the lower versions in each group. Versions are compared number by number, so 1.10 counts as newer than 1.9.
  • Clear Selection unticks everything.

Neither option ever picks a song whose file holds other songs too (a song pack). The status line says when a group has one; sort those out by hand.

Removing them

  • Move to Duplicates folder asks first, then moves the selected files to %LOCALAPPDATA%\CFSM\Duplicates, with .dup added to the name. This is the safe choice: you can move them back by hand.
  • Delete Selected (or the Delete key) sends the checked files to the Recycle Bin, after a confirmation.

Both refuse to run when:

  • a selected song's file holds other songs too, since they'd all go with it, or
  • the selection would remove every copy of a song. Leave at least one copy of each unchecked.

If the library has changed since the scan, they ask you to scan again first. A busy bar shows while a scan or removal runs.

Was this article helpful?

Log in to rate this