There is a saying: "Music is it's own reward." Its not quite a labour of love though; musicians at all levels are earning a living, partly touring, streaming and sales, partly from licensing of their work.
The PRS and PPL handle the licensing data; both actively inspect all types of public spaces. When they discover you have been playing music without the correct licences and without reporting usage, there are fines and / or estimated charges, which can be retrospective and significant.
The PRS (Performing Rights Society)collects and distributes annual licence fees from the public performance and broadcast of musical works, for each “venue”, where you will have music playing.
PPL is a music industry organisation that collects and distributes airplay and public performance royalties in the UK. This relates to reporting usage.