Merge pull request #47 from kepoorhampond/fix/ffmpeg-recognization

fixed not recognizing ffmpeg
This commit is contained in:
Cooper Hammond 2018-10-21 07:38:15 +00:00 committed by GitHub
commit 13800ad087
3 changed files with 6 additions and 5 deletions

View file

@ -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)

View file

@ -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):

View file

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name = 'irs',
version = '6.7.6',
version = '6.7.7',
description = 'A music downloader that just gets metadata.',
url = 'https://github.com/kepoorhampond/irs',
author = 'Kepoor Hampond',