pyradio: refactor generation of csv row

This commit is contained in:
magicquark 2026-02-19 02:46:50 +00:00 committed by Austin Horstman
parent 53069c542e
commit fd40fa91a4

View file

@ -117,7 +117,17 @@ in
stations:
let
body = lib.concatMapStringsSep "\n" (
station: "${escapeCSV station.name},${escapeCSV station.url},,,,,,${toString station.volume}"
station:
lib.concatStringsSep "," [
(escapeCSV station.name)
(escapeCSV station.url)
""
""
""
""
""
(toString station.volume)
]
) stations;
in
"${body}\n";