diff --git a/bash/channelArchive.sh b/bash/channelArchive.sh index 24adbb4..4638375 100755 --- a/bash/channelArchive.sh +++ b/bash/channelArchive.sh @@ -1,6 +1,6 @@ - #!/bin/bash +#!/bin/bash -. /etc/profile +. ~/.profile . ~/.bashrc function ytdlp(){ @@ -12,11 +12,11 @@ function ytdlp(){ pushd "$1" yt-dlp --output "%(upload_date)s - %(title)s - [%(id)s].%(ext)s" \ - --format "[ext=mp4]+ba/best" \ + --format "bv+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\";" \ + --exec "vidpath=\$(basename {}); vidpath=\$(echo \$vidpath | sed 's/^[0-9]\{8\} - //' | sed 's/- \[[a-zA-Z0-9]\+\]\.mp4//'); textmsg=\"archived video from $2: \$vidpath\"; miscChat.sh \"\$textmsg\";" \ $3 popd } diff --git a/bash/dewebm-folder.sh b/bash/dewebm-folder.sh new file mode 100755 index 0000000..6d77973 --- /dev/null +++ b/bash/dewebm-folder.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +for f in *.webm +do + fullfilename=$(basename -- "$f") + extension="${fullfilename##*.}" + filename="${fullfilename%.*}" + ffmpeg -i "$f" "$filename.mp4" + echo "$f -> $filename" + sleep 3 + rm "$f" +done diff --git a/utility web pages/Fandom.png b/utility web pages/Fandom.png new file mode 100644 index 0000000..2f76fd0 Binary files /dev/null and b/utility web pages/Fandom.png differ diff --git a/utility web pages/credit.html b/utility web pages/credit.html index 3c2484a..8a3b891 100644 --- a/utility web pages/credit.html +++ b/utility web pages/credit.html @@ -31,11 +31,11 @@
- [14] + [num]
- Zaha Hadid Architects' King Abdullah Petroleum Studies and Research Center
- /ArchDaily + [title]
+ [platform img][author]