Browse code

Kommentare geändert

dewomser authored on19/03/2020 14:18:44
Showing1 changed files

... ...
@@ -2,16 +2,16 @@
2 2
 ## This Shellscript downloads all fresh videos from a firefox bookmark folder. ##
3 3
 
4 4
 ## Update your youtube-dl ! ##
5
-youtube-dl -U 
5
+#youtube-dl -U 
6 6
 ## or 
7 7
 # pip install --upgrade youtube-dl
8 8
 sleep 1
9 9
 zaehl=0
10 10
 ## Variables ##
11 11
 
12
-## Save all your Youtube playlists in favdir (amp3) ##
12
+## Save all your Youtube playlists in favdir Example amp3 ##
13 13
 favdir="amp3"
14
-## Firefox running ?
14
+## Firefox running ? 
15 15
 # ffon=0; ps -ef|grep firefox|grep -v grep && ffon=1
16 16
 ffon=0; pgrep firefox && ffon=1
17 17
 ## Download folder ##
... ...
@@ -67,22 +67,5 @@ youtube-dl $aria2 --download-archive $dl_folder/archive/archive-$zaehl.txt --dat
67 67
 # echo $i
68 68
 done
69 69
 ##
70
-##--------------------Do not edit above this line ! -----------------------
71
-##
72
-
73
-## optional after all Downloads ##
74
-
75
-## Feedback if this script is started from crontab
76
-#export HOME=/home/karl
77
-#export DISPLAY=:0.0
78
-## Open folder in dolphin KDE
79
-#dolphin $dl_folder
80
-## Notifier KDE
81
-#f=$(find $dl_folder -mtime 0,2 -type f -regex '.*\.\(mkv\|mp4\|wmv\|flv\|webm\|mov\)') && notify-send "Neue Videos": "$f" --icon=video-x-generic
82
-
83
- ## Notifier KDE in nice
84
-#f=$(find $dl_folder -mtime 0 -type f -regex '.*\.\(mkv\|mp4\|wmv\|flv\|webm\|mov\)')
85
-#folder1=$(echo $dl_folder|sed "s/\//\\\\\//g")
86
-#f1=$(echo $f|sed "s/$folder1/\n /g")
87
-#notify-send "Neue Videos": "$f1" --icon=video-x-generic
70
+##--------------------The notifier for KDE is now an extra script : yt-dl-send-notify.sh ! -----------------------
88 71