Skip to content

Commit 4ea577b

Browse files
authored
Merge pull request #34 from liviynz/master
2 parents d8a90e5 + a1a7d75 commit 4ea577b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

prt.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
SSH_HOST_RE = re.compile(r'ssh +([^@]+)@([^ ]+)')
9494

9595
__author__ = "Weston Nielson <wnielson@github>"
96-
__version__ = "0.3.4"
96+
__version__ = "0.3.5"
9797

9898

9999
def get_config():
@@ -237,11 +237,21 @@ def overwrite_transcoder_after_upgrade():
237237
def build_env(host=None):
238238
# TODO: This really should be done in a way that is specific to the target
239239
# in the case that the target is a different architecture than the host
240+
ffmpeg_path = os.environ["FFMPEG_EXTERNAL_LIBS"]
241+
backslashcheck = re.search(r'\\', ffmpeg_path)
242+
if backslashcheck is not None:
243+
ffmpeg_path_fixed = ffmpeg_path.replace('\\','')
244+
os.environ["FFMPEG_EXTERNAL_LIBS"] = str(ffmpeg_path_fixed)
245+
240246
envs = ["export %s=%s" % (k, pipes.quote(v)) for k,v in os.environ.items()]
241247
envs.append("export PRT_ID=%s" % uuid.uuid1().hex)
242248
return ";".join(envs)
243249

244250

251+
# def check_gracenote_tmp():
252+
253+
254+
245255
def transcode_local():
246256
setup_logging()
247257

0 commit comments

Comments
 (0)