On rare occasions Plex will load the main menu while a background scan is running. If this happens right as scanFiles() starts myPathList my not be repopulated before it is needed resulting in no paths to scan.
myPathList will be changed from a global variable to a parameter that gets passed down to scanFiles.
On rare occasions Plex will load the main menu while a background scan is running. If this happens right as scanFiles() starts myPathList my not be repopulated before it is needed resulting in no paths to scan.
myPathList will be changed from a global variable to a parameter that gets passed down to scanFiles.