Open Tysonpower opened 2 years ago
I did some research and after building welleio from source welle-cli can be used to play a single radio station with this command:
welle-cli -c <CHANNEL> -p <PROGRAM>
For example:
welle-cli -c 11D -p 1LIVE
There is also a webserver that can be used to switch channels etc.: https://github.com/AlbrechtL/welle.io/wiki/Using-the-welle-cli-Web-Interface
EDIT:
To start welleio with the webserver this cmd can be used:
welle-cli -c <INITIALCHANNEL> -w <PORT>
after that the webserver also has a api to get all programs in json format:
localhost:<PORT>/mux.json
in there each program listed has a mp3 link id, with that a stream of mp3 data can be acccessed (like with the fm software):
localhost:<PORT>/mp3/<ID>
hey! thanks for looking into this, yeah it does kinda sound how the FM radio works
would you be expecting to be able to use both DAB and FM at the same time? within dash the radio tab you load in a plugin so you would have the choice of what interface you use (DAB or FM, that way you wouldn't need separate tabs for them).
Listening to FM and DAB at the same time makes no sense, so that would be an option. But how could we do the switch nicely in the UI?
I think the FM Radio also needs some favorite buttons to save frequencies so maybe we could add 6 buttons or so for favorites and use them for FM and DAB. With that tho the fancy FM screen you made would be gone :(
DAB also provides images that can be displayed, i don't think this is a must have but it would be a nice addition.
Here a short list what the DAB Ui needs:
I don't know if this is possible in QT, but what about just embedding welle.io into a new Tab? The Welleio UI offers everything we really need:
If you just want to embed welle.io in a tab, the apps tab provides that functionality already, with the "app" plugin
If you just want to embed welle.io in a tab, the apps tab provides that functionality already, with the "app" plugin
Thx for the tip, will build a quick plugin for that then, looks not to complicated. But a native UI would be a lot nice of course :)
To show you what I mean
To show you what I mean
i just noticed that it is a complete app launcher lol...sometimes i'm blind :)
i made a copy of the app launcher and changed it a bit to make a simple welle.io launcher. It's not great, but it works. If wanted i can make a pull request for that later, still a native dab receiver would be nicer in the radio tab or so.
This is a feature request to add DAB Radio in form of Welle.io to openDash. It should be similar to adding FM Radio, so i hope someone will be able to add welle.io to it. The rtl_sdr connection is already there for the FM Radio, so hopefully it isn't to complicated.
Maybe the Tabs could be FM and DAB instead of Radio.
Sadly i'm not the biggest QT/c++ expert so i sadly can't add Welle.io Support myself, would do that otherwise :)
regards, Manuel