diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-29 23:41:26 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-29 23:41:26 (GMT) |
commit | 5dfeda318a5b6725cf441cc936ace916448baf79 (patch) | |
tree | 9a07000c92e9afe719fa8266bfe5a5e142d9ac39 | |
parent | a11708772c18857a8448dbf0244e9e8b1e92d94f (diff) | |
parent | cc7243da39622a989fea21003fc9e4bb14220e50 (diff) | |
download | linhes_pkgbuild-5dfeda318a5b6725cf441cc936ace916448baf79.zip linhes_pkgbuild-5dfeda318a5b6725cf441cc936ace916448baf79.tar.gz linhes_pkgbuild-5dfeda318a5b6725cf441cc936ace916448baf79.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
-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." |