Hi there...
let me see if i get it...
You have an MP3 Player playing Mp3s and you wanna control it (Play, Stop, Pause, Next, click on specific song) from web browser running at any device of a network... Yes sound like winamp...
(Winamp runs in new systems... and there are also many apps in google play to control it)
So in MP3 Player side - you must have also running a jserver (b4j non-ui) that will wait (controls-from clients/web browser devices) and in the same time will control the mp3 player... and also get the state of app,list of songs... what is doing...
That will be easy for a lan... but if you want to control it outside the lan... use MQTT... with the same logic...