Skip to content

Commit

Permalink
Merge pull request #124 from deldesir/deldesir-patch-9
Browse files Browse the repository at this point in the history
Download a single video instead of all videos in a playlist
  • Loading branch information
holta authored Feb 9, 2024
2 parents 401dd17 + 64257d2 commit ac244a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lb-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fi
if [[ $XKLB_INTERNAL_CMD == "tubeadd" ]]; then
xklb_full_cmd="${XKLB_EXECUTABLE} tubeadd ${XKLB_DB_FILE} ${URL} ${VERBOSITY}"
elif [[ $XKLB_INTERNAL_CMD == "dl" ]]; then
xklb_full_cmd="${XKLB_EXECUTABLE} dl ${XKLB_DB_FILE} --prefix ${TMP_DOWNLOADS_DIR} --video ${URL} ${FORMAT_OPTIONS} --write-thumbnail ${VERBOSITY}"
xklb_full_cmd="${XKLB_EXECUTABLE} dl ${XKLB_DB_FILE} --prefix ${TMP_DOWNLOADS_DIR} --video --search ${URL} ${FORMAT_OPTIONS} --write-thumbnail ${VERBOSITY}"
else
log "Error" "Invalid xklb command. Please choose 'tubeadd' or 'dl'."
exit 1
Expand Down

0 comments on commit ac244a8

Please sign in to comment.