Skip to content

Correct stations from Indonesia, from radio-database - #1618

Merged
frenck merged 1 commit into
mainfrom
frenck/corrections-id
Oct 2, 2026
Merged

frenck merged 1 commit into
mainfrom
frenck/corrections-id

Conversation

@frenck

@frenck frenck commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Breaking change

None. Station data only.

Proposed change

The next batch of corrections, after #1605: the open radio-database merge requests for stations from Indonesia, checked against the live API. 2 changes and 3 deleted duplicates, in 2 files:

  • id/duplicates.json: 3 duplicates deleted
  • id/logos.json: logo

Every correction passed the checks of #1605, and a few more learned along the way:

  • A new stream, logo or homepage responds, with audio or an image. A working stream only moves within its own domain, and never to HLS, a playlist, or a host name with an IP address in it.
  • No https to http downgrade, no cosmetic change, and no new homepage that redirects back to the old one.
  • A working logo is only replaced by one from the station's own site, and never by a favicon.ico or a hotlinked file from someone's GitHub repository.
  • Region and language codes exist (pycountry), tags are lowercase without junk like fm or a frequency, and tags or languages are never replaced wholesale.
  • Coordinates are left alone: Home Assistant does not use them, and some proposals were plainly wrong.
  • A duplicate is only deleted when another record with the same stream URL stays, in the same country, with more votes and more clicks, and when the duplicate itself is barely played (3 clicks a day at most). Home Assistant saves stations by UUID, so deleting a record people use would break their favorites.

Every correction names the merge request it comes from in its reason.

Type of change

  • Dependency or tooling upgrade
  • Bugfix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Deprecation (replaces or removes a feature, with a migration path)
  • Breaking change (a fix or feature that changes existing behavior)
  • Code quality, refactor, or test-only change
  • Documentation only

Additional information

Checklist

  • I fully understand the code in this pull request and can explain every line, including any AI-assisted changes.
  • The change is covered by tests, and poetry run pytest passes locally. A pull request cannot be merged unless CI is green.
  • poetry run prek run --all-files passes (lint, format, and type checks).
  • No commented-out or dead code is left in the pull request.

Port the open radio-database merge requests for stations from Indonesia that hold up
against the live API: 2 changes and 3 deleted duplicates.
@frenck frenck added the new-feature New features or options. label Oct 2, 2026
@frenck
frenck merged commit eea18dd into main Oct 2, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant