2021-03-14, 16:59
Hi there,
I was looking for a DAB PVR addon for Kodi and I have surprisingly found none. So I am developing my own :-) I have a library that is capable of DAB reception using cheap RTL-SDR USB sticks. I believe it should be possible to run it on RPi2 or better.
I have started from pvr.demo addon https://github.com/kodi-pvr/pvr.demo and I can play audio already. I have several problems with DAB data and I would really appreciate some help.
My idea for addon functionality following:
- addon contains DAB library and provides audio stream and additional data (no client-server model)
- play DAB+ (AAC) and DAB (MP2) services, no support for data services like journaline, TPEG, etc. apart from functionality below
- possible to scan for DAB/+ services, to store all found automatically, possiblity to mark favorites
- service list should display service name as broadcasted, service ID and ensemble and channel if possible
- after choosing service, it starts to play audio and slide show (SLS) is displayed together with dynamic label (DL)
- nice to have: information about audio coding, protection level, SNR, etc.
From all the features above I only have audio playback (decoding done by addon due to problems with AAC 960 transform not supported by ffmpeg)
I was looking for some API suitable for slideshow (SLS) and dynamic label (DL) and I have only found some kind of support in UECP (RDS) decoder:
/// DAB
#define UECP_DAB_DYN_LABEL_CMD 0x48 // DAB: Dynamic Label command
#define UECP_DAB_DYN_LABEL_MSG 0xAA // DAB: Dynamic Label message (DL)
Since this is the first time I am dealing with Kodi addon development, I would really appreciate some guidance what API would be suitable for that or in general some hints how to integrate DAB functionality in a meanigful way.
Thanks for any hint, note, criticism,...
I was looking for a DAB PVR addon for Kodi and I have surprisingly found none. So I am developing my own :-) I have a library that is capable of DAB reception using cheap RTL-SDR USB sticks. I believe it should be possible to run it on RPi2 or better.
I have started from pvr.demo addon https://github.com/kodi-pvr/pvr.demo and I can play audio already. I have several problems with DAB data and I would really appreciate some help.
My idea for addon functionality following:
- addon contains DAB library and provides audio stream and additional data (no client-server model)
- play DAB+ (AAC) and DAB (MP2) services, no support for data services like journaline, TPEG, etc. apart from functionality below
- possible to scan for DAB/+ services, to store all found automatically, possiblity to mark favorites
- service list should display service name as broadcasted, service ID and ensemble and channel if possible
- after choosing service, it starts to play audio and slide show (SLS) is displayed together with dynamic label (DL)
- nice to have: information about audio coding, protection level, SNR, etc.
From all the features above I only have audio playback (decoding done by addon due to problems with AAC 960 transform not supported by ffmpeg)
I was looking for some API suitable for slideshow (SLS) and dynamic label (DL) and I have only found some kind of support in UECP (RDS) decoder:
/// DAB
#define UECP_DAB_DYN_LABEL_CMD 0x48 // DAB: Dynamic Label command
#define UECP_DAB_DYN_LABEL_MSG 0xAA // DAB: Dynamic Label message (DL)
Since this is the first time I am dealing with Kodi addon development, I would really appreciate some guidance what API would be suitable for that or in general some hints how to integrate DAB functionality in a meanigful way.
Thanks for any hint, note, criticism,...