remove ffmpeg specification

this may be causing an error!
This commit is contained in:
Xevion
2019-12-24 20:10:31 -06:00
parent af02f90aa3
commit e0bba950db

View File

@@ -49,7 +49,7 @@ class YouTubeAudio(db.Model):
def download(self):
print(f'Attempting download of {self.id}')
subprocess.run(f'youtube-dl -x -4 --restrict-filenames --ffmpeg-location ffmpeg --embed-thumbnail --audio-format mp3 -o ./app/sounds/youtube/%(id)s.%(ext)s {self.id}'.split(' '))
subprocess.run(f'youtube-dl -x -4 --restrict-filenames --embed-thumbnail --audio-format mp3 -o ./app/sounds/youtube/%(id)s.%(ext)s {self.id}'.split(' '))
print(f'Download attempt for {self.id} finished.')
def delete(self):