I never use a sprayer.
I shake the solid into the potty and put my diaper into my pail. With loose or messy stool I just put into the pail. I do a rinse cycle first and that takes away all the mess on the diapers ( poop and pee), then I wash my diapers on hot with home made detergent to extend the life of the diaper. I put my diapers in the dryer, and on hot days hand dry.
my oldest son is on a pediasure diet and his stools are never firm, I add a cup of vineger to my rinse cycle, its a natural disinfectant. Then finish with a regular wash with detergent.