Can't Import a Single with an Album of the Same Name and Year #3848

Closed
opened 2026-02-20 02:59:39 -05:00 by deekerman · 1 comment
Owner

Originally created by @Hossy on GitHub (Aug 6, 2024).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

Josh Turner released both an album and single titled "Everything Is Fine" in 2007. I have the album. Lidarr is crashing on trying to import the single.

Expected Behavior

I should be able to override the destination path to allow the import to happen.

Steps To Reproduce

  1. Add Josh Turner.
  2. Add both the album and single for "Everything Is Fine" (2007).
  3. Import the album first.
  4. Try to import the single second.

Note: This only fails if both files are of the same name (e.g. .flac).

Environment

- OS: N/A - Docker
- Lidarr: Lidarr 2.5.0.4277
- Docker Install: Yes
- Using Reverse Proxy: No
- Browser: not UI related
- Database: Sqlite 3.45.3

What branch are you running?

Master

Trace Logs?

2024-08-06 19:57:49.6|Trace|CustomFormatCalculationService|Using original file path for release title: Josh Turner - Everything Is Fine 01 Everything Is Fine.flac
2024-08-06 19:57:49.6|Trace|CustomFormatCalculationService|Using original file path for release title: Josh Turner - Everything Is Fine 01 Everything Is Fine.flac
2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner
2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner/Everything Is Fine (2007)
2024-08-06 19:57:49.6|Debug|TrackFileMovingService|Moving track file: /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac to /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac
2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac
2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac
2024-08-06 19:57:49.6|Debug|DiskTransferService|Move [/Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac] > [/music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac]
2024-08-06 19:57:49.6|Warn|ImportApprovedTracks|Couldn't import track /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac

[v2.5.0.4277] NzbDrone.Common.Disk.DestinationAlreadyExistsException: Destination /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac already exists.
   at NzbDrone.Common.Disk.DiskTransferService.ClearTargetPath(String sourcePath, String targetPath, Boolean overwrite) in ./Lidarr.Common/Disk/DiskTransferService.cs:line 406
   at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite) in ./Lidarr.Common/Disk/DiskTransferService.cs:line 320
   at NzbDrone.Core.MediaFiles.TrackFileMovingService.TransferFile(TrackFile trackFile, Artist artist, List`1 tracks, String destinationFilePath, TransferMode mode) in ./Lidarr.Core/MediaFiles/TrackFileMovingService.cs:line 122
   at NzbDrone.Core.MediaFiles.TrackFileMovingService.MoveTrackFile(TrackFile trackFile, LocalTrack localTrack) in ./Lidarr.Core/MediaFiles/TrackFileMovingService.cs:line 84
   at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeTrackFile(TrackFile trackFile, LocalTrack localTrack, Boolean copyOnly) in ./Lidarr.Core/MediaFiles/UpgradeMediaFileService.cs:line 79
   at NzbDrone.Core.MediaFiles.TrackImport.ImportApprovedTracks.Import(List`1 decisions, Boolean replaceExisting, DownloadClientItem downloadClientItem, ImportMode importMode) in ./Lidarr.Core/MediaFiles/TrackImport/ImportApprovedTracks.cs:line 240

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.
Originally created by @Hossy on GitHub (Aug 6, 2024). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior Josh Turner released both an album and single titled "Everything Is Fine" in 2007. I have the album. Lidarr is crashing on trying to import the single. ### Expected Behavior I should be able to override the destination path to allow the import to happen. ### Steps To Reproduce 1. Add Josh Turner. 2. Add both the album and single for "Everything Is Fine" (2007). 3. Import the album first. 4. Try to import the single second. Note: This only fails if both files are of the same name (e.g. .flac). ### Environment ```markdown - OS: N/A - Docker - Lidarr: Lidarr 2.5.0.4277 - Docker Install: Yes - Using Reverse Proxy: No - Browser: not UI related - Database: Sqlite 3.45.3 ``` ### What branch are you running? Master ### Trace Logs? ``` 2024-08-06 19:57:49.6|Trace|CustomFormatCalculationService|Using original file path for release title: Josh Turner - Everything Is Fine 01 Everything Is Fine.flac 2024-08-06 19:57:49.6|Trace|CustomFormatCalculationService|Using original file path for release title: Josh Turner - Everything Is Fine 01 Everything Is Fine.flac 2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner 2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner/Everything Is Fine (2007) 2024-08-06 19:57:49.6|Debug|TrackFileMovingService|Moving track file: /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac to /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac 2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac 2024-08-06 19:57:49.6|Trace|RootFolderWatchingService|reporting start of change to /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac 2024-08-06 19:57:49.6|Debug|DiskTransferService|Move [/Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac] > [/music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac] 2024-08-06 19:57:49.6|Warn|ImportApprovedTracks|Couldn't import track /Download-Temp/NZB/Completed/Josh Turner - Everything Is Fine 01 Everything Is Fine/Josh Turner - Everything Is Fine 01 Everything Is Fine.flac [v2.5.0.4277] NzbDrone.Common.Disk.DestinationAlreadyExistsException: Destination /music/Josh Turner/Everything Is Fine (2007)/01 - Everything Is Fine.flac already exists. at NzbDrone.Common.Disk.DiskTransferService.ClearTargetPath(String sourcePath, String targetPath, Boolean overwrite) in ./Lidarr.Common/Disk/DiskTransferService.cs:line 406 at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite) in ./Lidarr.Common/Disk/DiskTransferService.cs:line 320 at NzbDrone.Core.MediaFiles.TrackFileMovingService.TransferFile(TrackFile trackFile, Artist artist, List`1 tracks, String destinationFilePath, TransferMode mode) in ./Lidarr.Core/MediaFiles/TrackFileMovingService.cs:line 122 at NzbDrone.Core.MediaFiles.TrackFileMovingService.MoveTrackFile(TrackFile trackFile, LocalTrack localTrack) in ./Lidarr.Core/MediaFiles/TrackFileMovingService.cs:line 84 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeTrackFile(TrackFile trackFile, LocalTrack localTrack, Boolean copyOnly) in ./Lidarr.Core/MediaFiles/UpgradeMediaFileService.cs:line 79 at NzbDrone.Core.MediaFiles.TrackImport.ImportApprovedTracks.Import(List`1 decisions, Boolean replaceExisting, DownloadClientItem downloadClientItem, ImportMode importMode) in ./Lidarr.Core/MediaFiles/TrackImport/ImportApprovedTracks.cs:line 240 ``` ### Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided. - [X] I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain `trace` - that are relevant and show this issue.
deekerman 2026-02-20 02:59:39 -05:00
Author
Owner

@mynameisbogdan commented on GitHub (Aug 18, 2024):

Hello,

For this cases we can only recommend adding Disambiguation to your naming format folder, since this is one of it's main purposes.

What's I'm using: {Artist CleanName}{ (Artist Disambiguation)}

@mynameisbogdan commented on GitHub (Aug 18, 2024): Hello, For this cases we can only recommend adding Disambiguation to your naming format folder, since this is one of it's main purposes. What's I'm using: `{Artist CleanName}{ (Artist Disambiguation)}`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Lidarr#3848
No description provided.