Sonarr version (exact version) : 3.0.3.698 Mono version (if Sonarr is not running on Windows) : OS : server 2019 Debug logs : can provide if needed Description of issue : Having issues with downloadedepisodesscan and getting errors with PowerShell, just wondering what im doing wrong as I followed the wiki or am I blind and missed something?
Thanks Markus -In that āincomingā folder there was a single file.
How does the āQuick IMportā function work or is there another API that is called for that? That seems to pick everything up in a single folder and import as needed.
If the folder is for a specific download (like a season pack or multi-episode pack), then that folder if itās the āincomingā folder then you would want to call it once for each file.
Ok makes sense, so I tried calling that folder with 2 episodes in it for the same show and season and get the same result as above, do I have to call the specific episode file?
Think Iām getting confused, as the quick import looks at that same folder regardless of show and finds everything and does the import. Sorry.
Iāve tested it with what you mentioned, script from above runs, with the below output and debug and the incoming folder has 2 different files for different shows in it, as well as folders with the tv show name as the folderā¦Iāve either done something wrong or misunderstood what you meant by calling the folder. As soon as I do quick import on the same folder, it picks up all 4 files straight.
PS C:\Users\Administrator\Documents> C:\Users\Administrator\Documents\Sonarr_Quick_Import.ps1
Publishing update () to: http://localhost:8989/api/command
name : DownloadedEpisodesScan
body : @{path=C:\Users\Administrator\Downloads\incoming; importMode=move; sendUpdatesToClient=False; updateScheduledTask=True; completionMessage=Completed; requiresDiskAccess=False; isExclusive=False;
name=DownloadedEpisodesScan; trigger=manual; suppressMessages=False}
priority : normal
status : queued
queued : 2020-02-20T09:06:14.2119296Z
trigger : manual
state : queued
manual : True
startedOn : 2020-02-20T09:06:14.2119296Z
sendUpdatesToClient : False
updateScheduledTask : True
id : 44184
Only call the folder if itās paresable, something like Series.Title.S01E01.HDTV-RlsGrp, but if itās working for quick import which calls the exact same command through the exact same API then check how itās calling the API and mimic it.