Instead of doing nzb and rar "extraction" within the nzbfs.py process, we could separate those tasks into their own scripts. We'd let nzbfs trigger another script whenever a .nzb file is closed. That script would then parse, create a subdir, and write out protobuf files for each file in the nzb. It could then forward that along to another script for rar extraction, which would work similarly.
Instead of doing nzb and rar "extraction" within the nzbfs.py process, we could separate those tasks into their own scripts. We'd let nzbfs trigger another script whenever a .nzb file is closed. That script would then parse, create a subdir, and write out protobuf files for each file in the nzb. It could then forward that along to another script for rar extraction, which would work similarly.