DAB Radio Plugin: Scan Succeeds but No Stations Added #2049
ftesser
started this conversation in
Bug Reports
Replies: 2 comments
-
|
Please try: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
To be fixed by next update. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
OS: rAudio (latest version)
Steps to Reproduce
Scanner Output
Running dab-scanner-rtlsdr -C 5A detects multiple services successfully:
MPD Counts
The MPD database shows no DAB stations added:
Looking at /srv/http/bash/dab-scan.sh line 57:
This attempts to update the dabradio count in MPD's counts file via regex substitution. However, if the dabradio key doesn't exist yet (as in a fresh install before first scan), the sed command finds no match and skips the update entirely.
Question: Should the dabradio entry be pre-populated/initialized to 0 in the counts file before the first scan, or does the script expect it to already exist?
PS: I tried modifying the command to add the dabradio key if it's missing. This approach works. Would you like me to make a pull request?
Beta Was this translation helpful? Give feedback.
All reactions