init
This commit is contained in:
20
ytdl2
Executable file
20
ytdl2
Executable file
@@ -0,0 +1,20 @@
|
||||
#dependencies
|
||||
#kdialog youtube-dl
|
||||
|
||||
folder=$(date +"%m_%Y")
|
||||
|
||||
cd ~/Music/
|
||||
|
||||
|
||||
mkdir $folder
|
||||
cd $folder
|
||||
|
||||
|
||||
url=$(kdialog --title "Input dialog" --inputbox "Paste youtube link")
|
||||
|
||||
|
||||
echo "eingegebener link: " $url
|
||||
youtube-dl -i --extract-audio --audio-format vorbis -o "%(title)s.%(ext)s" $url
|
||||
|
||||
kdialog --title "the link "$url" has finished" --passivepopup \
|
||||
"Download and conversion finnished" 10
|
||||
Reference in New Issue
Block a user