Repository navigation
Delete stations whose streams are long dead - #1632
Merged
Merged
Conversation
Delete the stations radio-database merge requests asked to delete that have not played for at least 90 days by Radio Browser's own checks, and that fail our own test of their stream as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change
None. Station data only.
Proposed change
Many open radio-database merge requests ask to delete stations without a duplicate to point at. A dead stream can be a hiccup, so a single failed test is not enough. These 60 pass two checks:
lastcheckokis false, andlastcheckoktimeis older than 90 days, or missing).A station that has not played for three months does not work as a favorite either, so deleting it breaks nothing that still worked. It does take it out of browsing and search, where people still try them: together they get 24 clicks a day.
60 deletions, in 12 files:
af/dead-streams.json: 5 deletedbr/dead-streams.json: 3 deletedca/dead-streams.json: 1 deletedcn/dead-streams.json: 21 deletedcz/dead-streams.json: 1 deletedde/dead-streams.json: 10 deletedfi/dead-streams.json: 13 deletedhk/dead-streams.json: 1 deletedhu/dead-streams.json: 1 deletedid/dead-streams.json: 1 deletedmx/dead-streams.json: 1 deletedus/dead-streams.json: 2 deletedEvery correction says since when its stream is dead, and names the merge request that proposed the deletion. Left out: 7 stations dead for less than 90 days, and 174 that the API sees playing, which some merge request wanted deleted for another reason.
Type of change
Additional information
Checklist
poetry run pytestpasses locally. A pull request cannot be merged unless CI is green.poetry run prek run --all-filespasses (lint, format, and type checks).