pyradio: add per-station icon url option
This commit is contained in:
parent
ebe3ca5c9c
commit
1efaaf2072
3 changed files with 9 additions and 2 deletions
|
|
@ -67,6 +67,12 @@ in
|
|||
description = "Encoding of the station's metadata block.";
|
||||
};
|
||||
|
||||
iconUrl = mkOption {
|
||||
type = str;
|
||||
default = "";
|
||||
description = "URL of an icon to be shown in desktop notifications.";
|
||||
};
|
||||
|
||||
volume = mkOption {
|
||||
type = ints.between 0 130;
|
||||
default = 50;
|
||||
|
|
@ -128,7 +134,7 @@ in
|
|||
(escapeCSV station.name)
|
||||
(escapeCSV station.url)
|
||||
station.encoding
|
||||
""
|
||||
(escapeCSV station.iconUrl)
|
||||
""
|
||||
""
|
||||
""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue