mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-02 19:15:26 +00:00
fixed not recognizing ffmpeg
This commit is contained in:
parent
1c4e11efbe
commit
e0d01a1cfd
|
@ -8,6 +8,5 @@ if path.isfile(path.expanduser("~/.irs/config_.py")):
|
||||||
|
|
||||||
CONFIG = config_.CONFIG
|
CONFIG = config_.CONFIG
|
||||||
else:
|
else:
|
||||||
config = open("irs/config_preset", "r").read()
|
config = open("irs/config_preset.py", "r").read()
|
||||||
print(config)
|
|
||||||
CONFIG = eval(config)
|
CONFIG = eval(config)
|
||||||
|
|
|
@ -6,8 +6,10 @@ import irs
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
ydl_binaries.download_ffmpeg("~/.irs/bin/")
|
bin_path = os.path.expanduser("~/.irs/bin/")
|
||||||
ydl_binaries.update_ydl("~/.irs/bin/")
|
|
||||||
|
ydl_binaries.download_ffmpeg(bin_path)
|
||||||
|
ydl_binaries.update_ydl(bin_path)
|
||||||
|
|
||||||
config_file = os.path.expanduser("~/.irs/config_.py")
|
config_file = os.path.expanduser("~/.irs/config_.py")
|
||||||
if not os.path.isfile(config_file):
|
if not os.path.isfile(config_file):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'irs',
|
name = 'irs',
|
||||||
version = '6.7.6',
|
version = '6.7.7',
|
||||||
description = 'A music downloader that just gets metadata.',
|
description = 'A music downloader that just gets metadata.',
|
||||||
url = 'https://github.com/kepoorhampond/irs',
|
url = 'https://github.com/kepoorhampond/irs',
|
||||||
author = 'Kepoor Hampond',
|
author = 'Kepoor Hampond',
|
||||||
|
|
Loading…
Reference in a new issue