diff options
author | James Meyer <james.meyer@operamail.com> | 2013-02-01 01:51:25 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-02-01 01:51:25 (GMT) |
commit | f5e4d5cd76772c52fe652d4a6472266109298bdd (patch) | |
tree | 6506ee810bdec8199445e053529af0a15d38b9ab /abs/core/linhes-scripts/myth2xvid | |
parent | 5211b30fbeab9533f21e3d320ca1d8494d50a86b (diff) | |
download | linhes_pkgbuild-f5e4d5cd76772c52fe652d4a6472266109298bdd.zip linhes_pkgbuild-f5e4d5cd76772c52fe652d4a6472266109298bdd.tar.gz linhes_pkgbuild-f5e4d5cd76772c52fe652d4a6472266109298bdd.tar.bz2 |
linhes-scripts: myth2mp3, myth2x264, myth2xvid: use mythutil to get cutlist
In mythtv .25 mythcommflag --getcutlist is depreciated
Conflicts:
abs/core/linhes-scripts/PKGBUILD
Diffstat (limited to 'abs/core/linhes-scripts/myth2xvid')
-rwxr-xr-x | abs/core/linhes-scripts/myth2xvid | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/linhes-scripts/myth2xvid b/abs/core/linhes-scripts/myth2xvid index d0fcb42..033026d 100755 --- a/abs/core/linhes-scripts/myth2xvid +++ b/abs/core/linhes-scripts/myth2xvid @@ -1,6 +1,7 @@ #!/bin/sh # convert recording to xvid encoded avi -# version 1.3 +# version 1.4 +# 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" @@ -220,4 +221,4 @@ else echo "ERROR: $ERROR" >> $LOGFILE fi -clean_up_files
\ No newline at end of file +clean_up_files |