mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Merge pull request #47 from kepoorhampond/fix/ffmpeg-recognization
fixed not recognizing ffmpeg
This commit is contained in:
commit
13800ad087
|
@ -8,6 +8,5 @@ if path.isfile(path.expanduser("~/.irs/config_.py")):
|
|||
|
||||
CONFIG = config_.CONFIG
|
||||
else:
|
||||
config = open("irs/config_preset", "r").read()
|
||||
print(config)
|
||||
config = open("irs/config_preset.py", "r").read()
|
||||
CONFIG = eval(config)
|
||||
|
|
|
@ -6,8 +6,10 @@ import irs
|
|||
|
||||
|
||||
def setup():
|
||||
ydl_binaries.download_ffmpeg("~/.irs/bin/")
|
||||
ydl_binaries.update_ydl("~/.irs/bin/")
|
||||
bin_path = os.path.expanduser("~/.irs/bin/")
|
||||
|
||||
ydl_binaries.download_ffmpeg(bin_path)
|
||||
ydl_binaries.update_ydl(bin_path)
|
||||
|
||||
config_file = os.path.expanduser("~/.irs/config_.py")
|
||||
if not os.path.isfile(config_file):
|
||||
|
|
Loading…
Reference in a new issue