l 2 radio: add suggest plugin

This commit is contained in:
lassulus 2017-05-09 20:40:58 +02:00
parent 45fdcfa841
commit b297822294

View File

@ -145,6 +145,12 @@ in {
script = "${print_current}/bin/print_current";
pattern = "^current$";
})
(buildSimpleReaktorPlugin "suggest" {
script = "${pkgs.writeDash "suggest" ''
echo "$@" >> $HOME/playlist_suggest
''}";
pattern = "^suggest: (?P<args>.*)$";
})
];
};
services.nginx.virtualHosts."lassul.us".locations."/the_playlist".extraConfig = let