mirror of
https://github.com/cooperhammond/irs.git
synced 2025-07-03 15:18:14 +00:00
13 lines
314 B
Python
13 lines
314 B
Python
import ydl_binaries
|
|
from shutil import copyfile
|
|
import os
|
|
|
|
|
|
def setup():
|
|
ydl_binaries.download_ffmpeg("~/.irs/bin/")
|
|
ydl_binaries.update_ydl("~/.irs/bin/")
|
|
|
|
config_file = os.path.expanduser("~/.irs/config_.py")
|
|
if not os.path.isfile(config_file):
|
|
copyfile("irs/config_preset", config_file)
|