How to consolidate directories?

192 views
Skip to first unread message

Christopher Ambler

unread,
Jun 4, 2019, 1:47:23 PM6/4/19
to beets
I imported my whole music library and gave the configuration some pretty paranoid settings to make sure everything came across. It did, and I'm pleased.

But now I'm left with some cleanup.

The big cleanup I need is with the uniquely-named directories that were created. For example, I have music from Yes spread all over the place. When I imported, beets put it all under /Music/Yes as I would expect, but then I am seeing fifteen or more directories for a single album. So it looks like this:

Music/Yes/Fragile
Music/Yes/Fragile [2736]
Music/Yes/Fragile [9938]

... and so on.

Each directory has one or more songs.

How can I merge these all down into just /Music/Yes/Fragile? I don't mind duplicates in there, as I can then go and clean them up afterwards.

Hints?

Adrian Sampson

unread,
Jun 4, 2019, 6:32:52 PM6/4/19
to beets...@googlegroups.com
Hello! What you’re seeing there is that beets is tracking those sets of tracks as different albums (with the same name). This probably happened because, when beets originally imported those files, they were in separate directories—and the default autotagger mode uses directories to group music files into albums.

You can see this by typing `beet ls -a yes fragile`: you have several albums with this name in your library. The filenames are disambiguating them using the default %aunique behavior.

What you want is to merge the albums together into a single album. The best way to do this is probably to remove them from your library (`beet rm`) and then import them again. It may also work to import them _without_ removing them. Either way, you can use the `--flat` option to instruct the importer to treat all the directories as parts of a single album.

Good luck!

Adrian


--
You received this message because you are subscribed to the Google Groups "beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beets-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beets-users/386c63a0-cc0e-406f-a90e-e0dd09e3e8c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages