Added regional station name detection

This commit is contained in:
M.Weck
2025-02-18 01:15:47 +02:00
parent fcfc0691fa
commit 255e2a97dd
+1 -1
View File
@@ -159,7 +159,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,