pyradio: add per-station encoding option
This commit is contained in:
parent
fd40fa91a4
commit
ebe3ca5c9c
3 changed files with 9 additions and 2 deletions
|
|
@ -61,6 +61,12 @@ in
|
|||
description = "Stream URL of the radio station.";
|
||||
};
|
||||
|
||||
encoding = mkOption {
|
||||
type = str;
|
||||
default = "";
|
||||
description = "Encoding of the station's metadata block.";
|
||||
};
|
||||
|
||||
volume = mkOption {
|
||||
type = ints.between 0 130;
|
||||
default = 50;
|
||||
|
|
@ -121,7 +127,7 @@ in
|
|||
lib.concatStringsSep "," [
|
||||
(escapeCSV station.name)
|
||||
(escapeCSV station.url)
|
||||
""
|
||||
station.encoding
|
||||
""
|
||||
""
|
||||
""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue