mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Rework: Dockerize. Upgrade to 107. Remove automation ids
This commit is contained in:
@@ -8,7 +8,7 @@ youtube_url = sys.argv[1]
|
||||
out_name = sys.argv[2] if len(sys.argv) > 2 else 'temp'
|
||||
out_folder = sys.argv[3] if len(sys.argv) > 3 else ''
|
||||
|
||||
full_file_path = f"""~/.homeassistant/www/audio/youtube/{out_folder}{out_name}"""
|
||||
full_file_path = f"""/config/www/audio/youtube/{out_folder}{out_name}"""
|
||||
|
||||
ydl = youtube_dl.YoutubeDL({'format': 'bestaudio', 'outtmpl': full_file_path})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user