If I run into a bug with my custom scanner and I fix the bug, how can I have the scanner rerun without deleting the library?
you restart plex, as code faillure in scanner make plex not run the scanner again when refreshing. agents are less affected but scanners are. May i asked what your scanner does? you can try my sereis scanner, it should work with any format (season and absolute numbering, and ep title capturing)
For me the issue is not a code failure but an incorrect scan. It didn’t scan the way I wanted. I make a change and want to rerun it.
My scanner is a custom F1 season scanner.
You just refresh the library by clicking the double arrow icon. You can also refresh through command line
https://support.plex.tv/hc/en-us/articles/201242707-Plex-Media-Scanner-via-Command-Line