Hi, looking to complete my project, but the missing piece of OEM functionality is cds, i was wondering how possible it would be to get this working natively in hudiy as a music source along with a2dp and others in the source menu. A usb connected disc player would be great like this.
Thanks
https://www.amazon.co.uk/CYBERNOVA-Exte ... B00ZKMCLFA
CD player
Re: CD player
If you mean a regular data CD with MP3 files then the handling would be more or less the same as with a USB flash drive. The real question is whether Raspberry Pi OS can automatically mount the CD filesystem when the disc is inserted.
In case of an Audio CD, you'd first need to check how Raspberry Pi OS detects the medium and what kind of access to it is available from the filesystem level. It would probably also require some conversion to PCM format.
In case of an Audio CD, you'd first need to check how Raspberry Pi OS detects the medium and what kind of access to it is available from the filesystem level. It would probably also require some conversion to PCM format.
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: CD player
Hi,
I know that usb drives with audio CDs work with vlc, what should i do next.
Thanks
I know that usb drives with audio CDs work with vlc, what should i do next.
Thanks
Re: CD player
If VLC supports playback from CDs, there might be a way to build your own CD-player interface in HTML/JavaScript that controls VLC. This would require reviewing VLC's documentation with that goal in mind.
Hudiy exposes an API for managing audio focus and sending notifications so using the API with HTML/JavaScript you can implement your own player with the VLC backend.
https://github.com/wiboma/hudiy/blob/ma ... cusDuck.py
https://github.com/wiboma/hudiy/blob/ma ... cusPlay.py
https://github.com/wiboma/hudiy/blob/ma ... ansient.py
https://github.com/wiboma/hudiy/blob/ma ... ication.py
Hudiy exposes an API for managing audio focus and sending notifications so using the API with HTML/JavaScript you can implement your own player with the VLC backend.
https://github.com/wiboma/hudiy/blob/ma ... cusDuck.py
https://github.com/wiboma/hudiy/blob/ma ... cusPlay.py
https://github.com/wiboma/hudiy/blob/ma ... ansient.py
https://github.com/wiboma/hudiy/blob/ma ... ication.py
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: CD player
Thanks that sounds promising. Could you explain a little more about how i would get it to look and feel like the rest of hudiys media controls. Thanks
Re: CD player
You can use the same Material Symbols Rounded icons https://fonts.google.com/icons.
The WebView documentation also includes a list of the colors currently in use, so you can match the look to the Hudiy interface https://github.com/wiboma/hudiy?tab=rea ... e#web-view.
You can also follow Flutter's guidelines https://m3.material.io/styles/color/static/baseline
The WebView documentation also includes a list of the colors currently in use, so you can match the look to the Hudiy interface https://github.com/wiboma/hudiy?tab=rea ... e#web-view.
You can also follow Flutter's guidelines https://m3.material.io/styles/color/static/baseline
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: CD player
how would i build the same ui layout, do you have a guideline for the layout?
would you consider making this a hudiy stock feature, it would be good so that as well as updating the cars features, we also dont lose any.
https://amzn.eu/d/7EmDfEK
would you consider making this a hudiy stock feature, it would be good so that as well as updating the cars features, we also dont lose any.
https://amzn.eu/d/7EmDfEK
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: CD player
Ideally I would have it appear in the audio section where you can choose your audio source such as fm or BT.
https://github.com/wiboma/hudiy/blob/ma ... shot19.png
How can we achieve integration so it looks and behaves just like any other source. I understand the audio focus and stuff just don’t know how to approach the interface like this.
https://github.com/wiboma/hudiy/blob/ma ... shot19.png
How can we achieve integration so it looks and behaves just like any other source. I understand the audio focus and stuff just don’t know how to approach the interface like this.