For a TrackedDownload
object, the trackedDownload.DownloadItem.OutputPath.FullPath
is the path to where the file is pre-import. Where exactly is the path specified to move that file during import? I am assuming this has to take place in the Import()
function in the CompletedDownloadService
class, but I can’t find it for the life of me.
Or does the Import()
logic esentially end with _eventAggregation.PublishEvent(new DownloadCompletedEvent(trackedDownload))
and another service is watching for that publish event and takes care of the renaming/moving of the file? If that is the case, what service would that be? Because I can’t locate it…
Tldr - Need to hardcorde the root path a file is being moved to based off of trackedDownload.DownloadItem.OutputPath.FullPath
, WITHOUT changing the root folder of the series / what is tracked within sonarr. (So esentially, files are being moved to a different location then what is being tracked in sonarr). I can’t seem to locate this in the source to make my modifications.
Also, I need to make this modification before the path reaches DiskProviderBase
because I need access to the trackedDownload item associated with the move path so I can correctly change the move path.