File: listen.pl.diff

package info (click to toggle)
irssi-scripts 20050401
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 836 kB
  • sloc: makefile: 42
file content (15 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- listen.pl.orig	2002-12-11 20:09:30.000000000 +0100
+++ listen.pl	2004-02-25 23:04:50.000000000 +0100
@@ -78,10 +78,10 @@
 sub getmp3proces {
 	# most of the players put the file into the memory at first,
 	# let's try to catch it there, first
-	getmp3filename("/usr/sbin/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("/usr/sbin/lsof -d 1-15 | grep -i .mp3|");
+		getmp3filename("/usr/bin/lsof -d 1-15 | grep -i .mp3|");
 	}
 	
 	# hmm are we listening to anything?