Skip to content

Commit

Permalink
Make new-book-detector.sh add files individually
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarmstrong1207 committed Jul 29, 2024
1 parent d816b36 commit 8a6ec9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calibre-web-automator/new-book-detector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ add_to_calibre() {
CALIBREDB="/usr/bin/calibredb"

# Run calibredb command to add the new eBook to the database
$CALIBREDB add -r $WATCH_FOLDER --library-path="$CALIBRE_LIBRARY"
$CALIBREDB add -r "$1" --library-path="$CALIBRE_LIBRARY"
echo "[new-book-detector] Added $1 to Calibre database"
}

Expand Down

0 comments on commit 8a6ec9f

Please sign in to comment.