Rework: Dockerize. Upgrade to 107. Remove automation ids

This commit is contained in:
2020-03-20 00:08:28 +02:00
parent 1b6da83acb
commit 5963d08edd
16 changed files with 148 additions and 171 deletions
+1 -1
View File
@@ -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})