diff --git a/btfs.sh b/btfs.sh index 313e0ec..e6e0fc8 100755 --- a/btfs.sh +++ b/btfs.sh @@ -36,8 +36,9 @@ movie=$(echo $movie|xargs) printf "Playing: %s\n" "$movie" #smplayer -fullscreen "$movie" 1>/dev/null -#mpv --fs --volume=100 "$movie" # 1>/dev/null -vlc "$movie" 1>/dev/null +mpv --fs --volume=100 "$movie" # 1>/dev/null +#vlc "$movie" 1>/dev/null +#kodi "$movie" 1>/dev/null printf "Unmounting: %s\n" "$mountpoint" fusermount -u "$mountpoint" printf "Removing dir: %s\n" "$mountpoint" diff --git a/check-ip-seeds.py b/check-ip-seeds.py index 904cf4f..ffdfd3c 100755 --- a/check-ip-seeds.py +++ b/check-ip-seeds.py @@ -56,7 +56,7 @@ class MyHTMLParser(HTMLParser): self.a_href = False def handle_data(self, data): if self.tbody and self.div and self.a_href: - print('\t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip()) + print(' \t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip()) self.a_href = False self.timestamps = [] elif self.timestamp: diff --git a/checkpatch_project.sh b/checkpatch_project.sh deleted file mode 100755 index 308768c..0000000 --- a/checkpatch_project.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -#checkpatch --no-tree -f -checkpatch="/usr/lib/modules/$(uname -r)/build/scripts/checkpatch.pl" - -if [ -z "$1" ]; then - project_dir="$PWD" -elif [ -d "$1" ]; then - project_dir="$1" -else - source_file="$1" -fi - -if [ -z "$project_dir" ]; then - "${checkpatch}" --no-tree -f "${source_file}" -else - find "${project_dir}" -regex '.*\.\(c\|h\)' -exec "${checkpatch}" --no-tree -f '{}' + -fi - diff --git a/ffmpeg/ultrafast_x264_mp4.sh b/ffmpeg/ultrafast_x264_mp4.sh deleted file mode 100755 index b0affee..0000000 --- a/ffmpeg/ultrafast_x264_mp4.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# Capture screen script -prefix=`date +"%G.%m.%d_%H.%M.%S"` - -ffmpeg -y -f x11grab \ - -video_size 1920x1080 \ - -r 30 \ - -i $DISPLAY \ - -f pulse \ - -ac 2 \ - -i default \ - -c:v libx264 \ - -crf 0 \ - -pix_fmt yuv420p \ - -preset ultrafast \ - -threads 0 \ - $prefix.mp4 -# -f alsa \ -# -i hw:2,1 \ -#-an \