I use Jellyfin in this way. You can also use it with music apps like Symfonium for Android, and you can play on a Sonos via DLNA.