This package allows you to turn your info-beamer powered Raspberry Pi into an In-Store Radio Player. Stream audio content from a streaming source and add local fallback files. Schedule overlay playback for ads, notifications or other regular content on top.
While this package supports HDMI output, using a HiFiBerry hat for the Raspberry Pi is highly recommended for perfect audio quality.
- DAC+ LIGHT
- DAC+ STANDARD
- DAC+ PRO
- While you're checking out their site: A nice case like the one in the picture above.
- Play an audio stream non-stop
- Optional local fallback files in case of internet problems
- Automatically detect silence in stream and trigger fallback
- Overlay additional audio files at scheduled intervals
- Assemble the HiFiBerry by attaching it to your Raspberry Pi. Follow the instructions included with the hardware for that.
- Install info-beamer on your Raspberry Pi by following the device installation instructions.
- Connect the device to your info-beamer account.
- Import this package by clicking the "Import package" button.
- Create a new setup based on this package by clicking the "Create setup" button.
- Assign this setup to your Pi.
This currently requires manual configuration adjustments. Shutdown your Pi, take the SD card and make the following changes:
- HiFiBerry output (recommended)
- Add line
dtoverlay=hifiberry-dacplus
ordtoverlay=hifiberry-dac
to/config/userconfig.txt
- Set content of file
/config/alsa
tohifiberry
- Add line
- Pi analog output
- Add
hdmi_ignore_edid_audio=1
to/config/userconfig.txt
to force analog output - Set content of file
/config/alsa
torpi
- Add
- Pi HDMI output
- Add
hdmi_force_edid_audio=1
to/config/userconfig.txt
to force HDMI output - Set content of file
/config/alsa
torpi
- Add
- Stream source: Specify an http/https stream of MP3 or AAC content. You can also point to M3U playlists. Consult with support if you already have a stream producer and need help with integration.
- Stream buffer: Allows you to specify how many seconds of buffer will be filled before playback starts. A longer buffer might take a while to fill but better helps with brief network outages.
If the configured stream is interrupted and the buffer runs empty, a local fallback playlist can take over playback until network streaming is resumed. Additionally this package includes a silence detector: If the stream is working but sends a mostly silent stream, the fallback can be triggered as well.
- Silence detector threshold: Allows you to specify after how many seconds of silence within the network stream the fallback is activated. Be sure to set this value high enough so it doesn't get triggered during expected audio pauses. If you know your content can contain longer pauses, use a higher trigger threshold.
- Fallback switching: Allows you to specify how long the fallback will be active before considering to switch back to the stream. It might be beneficial to use a high value here to avoid flapping between stream and local content during internet outages where the internet connection flaps as well.
- Playlist: Specify any number of local fallback audio files. They will be played in the given order. The position within the fallback playlist is saved. If the player switches between the stream and local playlist, the local playback resumes where it previously stopped.
Overlays allow you to play locally cached audio snippets on top of the normal stream/local playback. This can be used for regular announcements or other repeating content that is not part of the stream itself.
Each overlay items can be configured individually. The following options are available:
- Start and end hour. This allows you to specify the hours the item will be scheduled.
- The interval and minute setting allow you to specify when this item will be scheduled within the given hour constraint. If you specify "Between 08:00 and 19:59 at xx:30", the overlay will be triggered on 08:30, 09:30 and so on until 19:30.
- The volume option allows you to control how the normal stream/local playback will be tuned down during overlay playback.
- The combination option allows to to specify how the individual overlay will be scheduled in case other overlays occupy the same slot. If you have multiple overlays playing at xx:30, each will be triggered in the order within the overlay configuration. The combination option allows you to specify how they will each behave in regards to all other overlays triggered.
- Timezone: Allows you to specify the timezone used for scheduling overlays
- Base volume: Sets the base output volume. Usually it's recommended to keep the volume at 100% and use the hardware volume control settings of your playback system to adjust the volume. If that's not possible, you can lower the volume with this setting.
Initial public release