diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-03-29 04:55:58 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-03-29 04:55:58 (GMT) |
commit | cc7243da39622a989fea21003fc9e4bb14220e50 (patch) | |
tree | e43041758813db45923cec33c71d1eacef3754eb | |
parent | 338a478507e9c1c535fb149b04cc81000627c340 (diff) | |
download | linhes_pkgbuild-cc7243da39622a989fea21003fc9e4bb14220e50.zip linhes_pkgbuild-cc7243da39622a989fea21003fc9e4bb14220e50.tar.gz linhes_pkgbuild-cc7243da39622a989fea21003fc9e4bb14220e50.tar.bz2 |
linhes-scripts:fix for screenshoot to work w/ 0.22
-rwxr-xr-x | abs/core-testing/linhes-scripts/screenshooter.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/linhes-scripts/screenshooter.sh b/abs/core-testing/linhes-scripts/screenshooter.sh index 94ea6fd..3bacac1 100755 --- a/abs/core-testing/linhes-scripts/screenshooter.sh +++ b/abs/core-testing/linhes-scripts/screenshooter.sh @@ -135,7 +135,7 @@ if [ "$EXTENSION_CHECK" == "1" ]; then # if [ "$VERBOSE" == "1" ]; then # echo "Importing $VIDEO_FILENAME in to database." # fi - # mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -sNBe "insert into videometadata (intid, title, director, plot, rating, inetref, year, userrating, length, showlevel, filename, coverfile, childid, browse, playcommand, category) values (' ', '$VIDEO_FILENAME', 'Unknown', 'Unknown', 'NR', '00000000', 1895, 0.0, 0, 1, '$VIDEO_PATHNAME', 'No Cover', -1, 1, ' ', 0);" + # mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -sNBe "insert into videometadata (intid, title, director, plot, rating, inetref, year, userrating, length, showlevel, filename, coverfile, childid, browse, playcommand, category) values (' ', '$VIDEO_FILENAME', 'Unknown', 'Unknown', 'NR', '00000000', 1895, 0.0, 0, 1, '$VIDEO_PATHNAME', '', -1, 1, ' ', 0);" fi fi fi @@ -145,7 +145,7 @@ if [ "$CLOBBER" -eq 0 ]; then SQL_CMD="select coverfile from videometadata where filename=\"$VIDEO_PATHNAME\";" CURRENT_COVERFILE=`mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -B -e "$SQL_CMD" | tail -1` - if [[ "$CURRENT_COVERFILE" != "" ]] && [[ "$CURRENT_COVERFILE" != "No Cover" ]]; then + if [[ "$CURRENT_COVERFILE" != "" ]] && [[ "$CURRENT_COVERFILE" != "" ]]; then # there's already a cover file for this video if [ "$VERBOSE" == "1" ]; then echo "$VIDEO_FILENAME has cover file, skipping." |