I don't know how to incorporate myself this script in Filebot that's why I am coming here asking to you if you can update your Refresh plex to do Partial Scan that would reduce a lot of useless scan from Plex that could create Sqlite3: Sleeping for 200ms to retry busy DB. issue with Plex if there a lot of folder to scan
If you already have a bash script then you could just call that.
If you're using the amc script then what you're asking for is built-in behaviour. The Custom Post-Processing Scripts › Refresh Plex example favors simplicity (3 lines; easy to understand and modify) over complexity. The code for a partial rescan would only be legible / modifiable to developers.
2- the bash script are from Radarr and Sonarr, not sure it's compatible with your filebot without changing few line in it... I guess
3- well, I am looking for the partial Scan which will help refreshing only the releases we are renaming with filebot instead of trigger to refresh the whole library after every rename done. Would also be a good add-on with the AMC
FTW wrote: ↑04 Dec 2023, 19:32
is there any logs that can show me if it work now not?
You will see logs in Plex for each refresh request.
FTW wrote: ↑04 Dec 2023, 19:45
also is there a script to 'Clean' the folder from the source path after successfully import (with the GUI)
No, but you can write your own script. Deleting files is easy. Just make sure you don't accidentally delete the wrong files. The Custom Post-Processing Scripts › Delete duplicates example gives gives you all the building blocks you need.
The GUI notably uses an equivalent of --apply prune by default to auto-delete left-behind empty folders.