You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run manual.py I usually run it from the directory the show is in, that way when I am asked to enter the file path I can just enter the file name without the full path. However I've just found out that this is the reason my external subtitles are not added.
The problem code is here
for dirName, subdirList, fileList in os.walk(input_dir):
input_dir is empty in this scenario
Is there a way to get the full path of input_dir? In PHP there is a function "realpath" which takes an absolute OR relative path as the input and returns the full absolute path. If python has something similar you could run that on the input_dir variable.
The text was updated successfully, but these errors were encountered:
When I run manual.py I usually run it from the directory the show is in, that way when I am asked to enter the file path I can just enter the file name without the full path. However I've just found out that this is the reason my external subtitles are not added.
The problem code is here
input_dir is empty in this scenario
Is there a way to get the full path of input_dir? In PHP there is a function "realpath" which takes an absolute OR relative path as the input and returns the full absolute path. If python has something similar you could run that on the input_dir variable.
The text was updated successfully, but these errors were encountered: