Compare commits

..

No commits in common. "9d9f5d34f816f6b32d5b6829e4c81f27e721f420" and "6141e1c8eb8f04b75387f0250a831539b91fc23c" have entirely different histories.

3 changed files with 0 additions and 46 deletions

View File

@ -1,19 +0,0 @@
#/bin/bash
#thanks, bewilderex63. https://unix.stackexchange.com/questions/51840/how-to-disable-trash-can-in-thunar-xfce
# Once at the start for good measure
rm -rf .local/share/Trash/files/*
while [ true ]
do
inotifywait ~/.local/share/Trash/files
# Don't get stuck in a CPU-melting loop if something goes wrong
if [ $? -ne 0 ]
then
exit $?
fi
# Good riddance
rm -rf .local/share/Trash/files/*
done

View File

@ -1,22 +0,0 @@
#!/bin/bash
. /etc/profile
. ~/.bashrc
function ytdlp(){
sponsorblock=""
if [ $4 -eq 1 ]
then
sponsorblock="--no-sponsorblock"
fi
pushd "$1"
yt-dlp --output "%(upload_date)s - %(title)s - [%(id)s].%(ext)s" \
--format "[ext=mp4]+ba/best" \
--download-archive "done.txt" \
--min-sleep-interval 0 --max-sleep-interval 10 \
$sponsorblock \
--exec "vidpath=\$(basename {}); vidpath=\$(echo \$vidpath | sed 's/^[0-9]\{8\} - //' | sed 's/- \[[a-zA-Z0-9]\+\]\.mp4//'); textmsg=\"archived video from $2: \$vidpath\"; /home/adam/bin/miscChat.sh \"\$textmsg\";" \
$3
popd
}

View File

@ -13,11 +13,6 @@ do
ffmpeg -i "$file" "$file.mp4"
#rm "$file"
done
for file in *.mkv
do
ffmpeg -i "$file" "$file.mp4"
#rm "$file"
done
if [ $(wc -l < "$@") -eq $(wc -l < done.txt) ]
then