Retrieve original filename (as on import) without renaming files

Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows):
OS: by [ on debian
Debug logs:
Description of issue:

“what was the initial path/name for <path/name>” (or the oldest known path/name for x). Any tips on how to retrieve such info from the api or sonarr programmatically ?

Via the API you can use this: Sonarr API Docs

OriginalFilePath and SceneName in particular have this information, if they are empty then Sonarr’s knowledge of the file started with it already in the series folder.

History also has some of this information, specifically for events with the EventType of 3 (imported from outside series folder).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.