summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Meyerholt <dxm523@googlemail.com>2011-02-06 23:20:55 +0100
committerDaniel Meyerholt <dxm523@googlemail.com>2011-02-06 23:20:55 +0100
commit99e987e7b72377064e6b7fa52af22d26e0670ce7 (patch)
tree7e87462b6885839ba53fa43047a21ca7009dbb42
parent05d2b8622ccd03bdeafda801bbb2cc314ebe8c23 (diff)
downloadvdr-plugin-vdrrip-99e987e7b72377064e6b7fa52af22d26e0670ce7.tar.gz
vdr-plugin-vdrrip-99e987e7b72377064e6b7fa52af22d26e0670ce7.tar.bz2
* fixed audio pid detection with some movie names using more specific grep
-rwxr-xr-xmovie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movie.c b/movie.c
index 364b043..89b41b7 100755
--- a/movie.c
+++ b/movie.c
@@ -29,7 +29,7 @@
#define IDENTCMD "%s \'%s\'%s -identify -frames 1 -vo md5sum:outfile=/dev/null -ao null 2>/dev/null | sed -e \'s/[`\\!$\"]/\\&/g\'"
#define CROPCMD "%s \'%s\'%s -vo null -ao null -quiet -ss %i -frames %i -vf cropdetect 2>/dev/null | grep \"crop=\" | sed \"s/.*crop\\(.*\\)).*/\\1/\" | sort | uniq -c | sort -r"
-#define AUDIOPID "%s \'%s/00001.ts\' -vo null -ao null -frames 0 2>/dev/null | grep pid | cut -d \')\' -f2 | cut -d \'=\' -f 2"
+#define AUDIOPID "%s \'%s/00001.ts\' -vo null -ao null -frames 0 2>/dev/null | grep \"AUDIO MPA(pid\" | cut -d \')\' -f2 | cut -d \'=\' -f 2"
#define AUDIOCMD "%s \'%s/00001.ts\' -vo null -ao null -frames 0 -aid %i 2>/dev/null | grep ^AUDIO"
#define AUDIOCMDDVD "%s %s -vo null -ao null -frames 0 -aid %i 2>/dev/null | grep ^AUDIO"
#define MENCCMD "%s %s help 2>/dev/null"