The stuff in the photo is in the shower bar - built up around the thermostatic cartridge but I've found it blocking the inlet valves to the shower bar itself. It's a relatively new shower - like I said this seems to be a sudden thing, though, we're in a hardwater area.
The system is fed from...