added youtube-dl formats
This commit is contained in:
parent
61b829171c
commit
8f81a5b17b
8
youtube-dl/audioconfig
Normal file
8
youtube-dl/audioconfig
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
-o ~/Music/youtube/%(uploader)s/%(title)s.%(ext)s
|
||||
|
||||
-f "bestaudio/best"
|
||||
|
||||
-x
|
||||
|
||||
--audio-format flac
|
5
youtube-dl/config
Normal file
5
youtube-dl/config
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
-o ~/Videos/youtube/%(uploader)s/%(title)s.%(ext)s
|
||||
|
||||
#-f "best"
|
||||
-f "bestvideo+bestaudio/best"
|
7
youtube-dl/youtube-dl-audio.sh
Executable file
7
youtube-dl/youtube-dl-audio.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z $1 ]; then
|
||||
echo "no url given"
|
||||
else
|
||||
youtube-dl --config-location ~/.config/youtube-dl/audioconfig $1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user