RandomNinjaAtk / docker-lidarr-extended

lidarr-extended :: Lidarr application packaged with multiple scripts to provide additional functionality
GNU General Public License v3.0
275 stars 24 forks source link

lidarr-extended "duplicating" artist folders #229

Closed woonaval closed 1 year ago

woonaval commented 1 year ago

Hello, I am running lidarr-extended on my existing music library, and in general it works fine. There is an issue I would like to comment. Lidarr is downloading missing albums from existing artists in my library, that's perfect. But the artist folder is wrong, lidarr is creating a new folder with a somewhat extended description of the artist, instead of just the artist name. Example:

Because of this, I'm getting 2 folders for the same artist (tags in the audio files are all good with just the artist name). You can see the behaviour here For me it's fine keeping the longer/descriptive artist name, but I would like to have just one folder per artist. Do you know how can I fix this? I fear that if I move the new albums to the "old" folders, lidarr will try to re-download the albums. Thank you!

Yosh82 commented 1 year ago

As lidarr can only have one directory per artist, it has put the new files in the new path. As you have already started downloading using the new file naming script, the easiest option I can think of is to set lidarr to rename the files back to your original file naming, that will merge the folders back to just "Eminem" for example.

Then, once all are merged, do another mass-edit, using the rename function, to the new naming structure.

image

Set lidarr to delete empty directory's on scan, and that should clean it up (best to test on just 1 artist selected first to avoid any issues).

Hope that makes sense.

RandomNinjaAtk commented 1 year ago

As the other user said, files are managed by your lidarr settings, so you need to adjust and move accordingly.

woonaval commented 1 year ago

ok, I found under Advanced Settings in Media Management, that by default "Artist Folder Format" was set to "{Artist CleanName}{ (Artist Disambiguation)}". I removed the Artist Disambiguation part and probably this will solve my issue. Thanks!