mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
do not embed .sub. Fixes #1150
This commit is contained in:
parent
80c8ad5852
commit
8dfaab2e60
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
||||||
|
|
||||||
def get_subs(file):
|
def get_subs(file):
|
||||||
filepaths = []
|
filepaths = []
|
||||||
subExt = ['.srt', '.sub', '.idx']
|
subExt = ['.srt'] #, '.sub', '.idx'] #remove .sub + .idx for now.
|
||||||
name = os.path.splitext(os.path.split(file)[1])[0]
|
name = os.path.splitext(os.path.split(file)[1])[0]
|
||||||
dir = os.path.split(file)[0]
|
dir = os.path.split(file)[0]
|
||||||
for dirname, dirs, filenames in os.walk(dir):
|
for dirname, dirs, filenames in os.walk(dir):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue