diff options
Diffstat (limited to 'debian/patches/listen.pl.diff')
-rw-r--r-- | debian/patches/listen.pl.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/listen.pl.diff b/debian/patches/listen.pl.diff new file mode 100644 index 0000000..f3d398a --- /dev/null +++ b/debian/patches/listen.pl.diff @@ -0,0 +1,19 @@ +Description: "Set PATH correctly" +Forwarded: not-needed +Author: "" +Last-Update: 2016-02-29 +--- a/scripts/listen.pl ++++ b/scripts/listen.pl +@@ -84,10 +84,10 @@ + sub getmp3proces { + # most of the players put the file into the memory at first, + # let's try to catch it there, first +- getmp3filename("lsof -d mem | grep -i .mp3"); ++ getmp3filename("/usr/bin/lsof -d mem | grep -i .mp3"); + # if we didn't find anything there, we check the fds for mp3s + if ($mp3player eq "nope") { +- getmp3filename("lsof -d 1-15 | grep -i \\.mp3"); ++ getmp3filename("/usr/bin/lsof -d 1-15 | grep -i \\.mp3"); + } + + # hmm are we listening to anything? |