summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/myth2x264
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-01-03 17:16:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-01-03 17:16:24 (GMT)
commitc45cbc5cb9ac370b049c5c016d651b07b07c6ef9 (patch)
tree4ac27e505929ba80bf634dbec303c8e615f2f865 /abs/core/linhes-scripts/myth2x264
parent6927c8defd4a95a61a90373f0babc5f376aa5763 (diff)
downloadlinhes_pkgbuild-R7-testing.zip
linhes_pkgbuild-R7-testing.tar.gz
linhes_pkgbuild-R7-testing.tar.bz2
linhes-scripts: myth2mp3, myth2x264, myth2xvid: use mythutil to get cutlistR7-testing
In mythtv .25 mythcommflag --getcutlist is depreciated
Diffstat (limited to 'abs/core/linhes-scripts/myth2x264')
-rwxr-xr-xabs/core/linhes-scripts/myth2x2645
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/linhes-scripts/myth2x264 b/abs/core/linhes-scripts/myth2x264
index 014fcbe..4c234d5 100755
--- a/abs/core/linhes-scripts/myth2x264
+++ b/abs/core/linhes-scripts/myth2x264
@@ -1,6 +1,7 @@
#!/bin/sh
# convert recording to x264 encoded avi
-# version 0.6
+# version 0.7
+# consider using myth2mkv instead of this script
# usage:
# first parameter must be %DIR%/%FILE% of the recording
@@ -154,7 +155,7 @@ check_myth_jobcmds
# check if using cutlist
if [ $USECUTLIST = Y ]; then
- MYTHCOMMFRAMES=`mythcommflag --getcutlist -f $MENINPUTFILE | grep 'Cutlist:' | cut -d \ -f 2`
+ MYTHCOMMFRAMES=`mythutil --getcutlist --chanid "$3" --starttime "$4" | grep 'Cutlist:' | cut -d \ -f 2`
if [ -n "$MYTHCOMMFRAMES" ]; then
echo "Extracting Cutlist..." >> $LOGFILE
update_comment "Extracting Cutlist"