l 2 radio print_current: show youtube link

This commit is contained in:
lassulus 2016-05-25 20:57:08 +02:00
parent b78cafa686
commit 39be633cf4

View file

@ -21,7 +21,9 @@ let
''; '';
print_current = pkgs.writeDashBin "print_current" '' print_current = pkgs.writeDashBin "print_current" ''
${pkgs.mpc_cli}/bin/mpc current -f %file% echo "$(${pkgs.mpc_cli}/bin/mpc current -f %file%) \
$(${pkgs.mpc_cli}/bin/mpc current -f %file% \
| ${pkgs.gnused}/bin/sed 's@.*\(.\{11\}\)\.ogg@http://www.youtube.com/watch?v=\1@')"
''; '';
in { in {