Skip to content

Correct stations from Greece, from radio-database - #1612

Merged
frenck merged 2 commits into
mainfrom
frenck/corrections-gr
Oct 2, 2026
Merged

frenck merged 2 commits into
mainfrom
frenck/corrections-gr

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 Greece, checked against the live API. 15 changes, in 4 files:

  • gr/athens-stations.json: logo, tags, region, homepage, languages
  • gr/ecclesia.json: tags
  • gr/ert-proto.json: name, homepage, logo, tags, region
  • gr/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 Greece that hold up
against the live API: 15 changes and 0 deleted duplicates.
@frenck frenck added the new-feature New features or options. label Oct 2, 2026
@frenck frenck mentioned this pull request Oct 2, 2026
4 of 11 tasks
@frenck
frenck merged commit 5fd941a into main Oct 2, 2026
30 checks passed
@frenck
frenck deleted the frenck/corrections-gr branch October 2, 2026 11:36
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