Merge pull request #127 from finndx/reg-name-detection

Regional station name detection based on regional PI
This commit is contained in:
Marek Farkaš
2025-02-23 15:29:02 +01:00
committed by GitHub
+1 -1
View File
@@ -164,7 +164,7 @@ async function processData(data, piCode, rdsPs) {
if (matchingStation) {
return {
station: matchingStation.station.replace("R.", "Radio "),
station: detectedByPireg ? matchingStation.station.replace("R.", "Radio ") + ' ' + matchingStation.regname : matchingStation.station.replace("R.", "Radio "),
pol: matchingStation.pol.toUpperCase(),
erp: matchingStation.erp && matchingStation.erp > 0 ? matchingStation.erp : '?',
city: matchingCity.name,