At home I use my FireFly server streaming my flac collection for highest quality.
At work I can get to my FireFly server but the performance is poor due to linecapacity. I therefore want my FireFly to stream my flac collection in mp3 format. So.. I need some sort of ‘on the fly’ encoding which I can address by eg. picking another portnumber.
Now.. perhaps this is native functionality but I really don’t know how to get to that.
1. I connect to port A and select from database X music which come in flac quality
2. Accordingly I I connect to port B and select from database X (the same database as in ‘1’) that very same music coming from flac files which come in mp3 quality?
(note: I don not want to maintain multiple databases)
So.. the only thing that is different is the portnumber that determines the quality/format that I can acquire?
As I replied earlier, Firefly is not designed to be reached from 2 ports.
Therefore, the easiest solution for your problem is running 2 independent instances of firefly. (This forum has several posts explaining how)
You can have these 2 firefly’s run on different ports, and configure them as you like.
I have a flac collection on port 3689 for in-house usage
Accordingly I have a mp3fs running, presenting the flac collection as a virtual mp3 collection. Therefore I do not need to store multiple formats of the same music.
Finally, I have a second mt-daapd instance, with minor configuration tweaks running. This works like a charm!