02-19-2024, 06:16 PM
(02-19-2024, 01:11 AM)fdealexa Wrote: Hi Alain,
the modification consists in adding an IF instruction block, in the original "webradiointerface.cpp" module. I requested to the authors of "welle" to add it on their code (to have it in the following release) but, unfortunatly they did not accept.
The current release is 2.4 and the modification position reported on the issue "https://github.com/AlbrechtL/welle.io/issues/559" is different (500 instead of 474).
The modification is necessary to change channel and subchannel (or SID) because the original module accepted change of the subchannel only.
In other word, you need it to allow the request: http://localhost:7979/mp3/CHANNEL/SID: for example to listen to the "CHANTE FRANCE"
you have to create a radio station on moode with the URL "http://127.0.0.1:7979/mp3/9A/0xfe43"
I hope it is more clear than before, please do not hesitate to ask for any additional doubts.
Best regards,
Francesco
Ho Francesco
Thanks again for your help.
If my understanding is correct ,
1) I copy the code from athoik in the thread ""https://github.com/AlbrechtL/welle.io/issues/559" after having modified the -474,9 and +474,38 value with -500,9 and +500,38
2) I paste this code into the "webradiointerface.cpp" module (at any place into the file, so it will be at the end of the file)
3) I create a Radio station on Moode with the URL http://127.0.0.1:7979/mp3/9A/0xfe43
Well .. the result is an mpd Error: Failed to decode http://XXX.XXX.XX.XX:7979/mp3/9A/0xfe43; got HTTP status 404
So my undesrtanding was not correct ....
At this point I do not see clearly how to have a real DAB radio player with moode, I mean having an automatic detection and prompt of the DAB Radio available in my area, and simply selectig the one I want to listen to.