don't transcode if DONE file in dir
This commit is contained in:
parent
965197cd6a
commit
0889c40bb5
|
@ -24,6 +24,9 @@ class Transcoder:
|
||||||
if album.is_dir():
|
if album.is_dir():
|
||||||
for file in album.iterdir():
|
for file in album.iterdir():
|
||||||
if file.is_file():
|
if file.is_file():
|
||||||
|
if file.name == "DONE":
|
||||||
|
break
|
||||||
|
else:
|
||||||
transcode_list.append(file)
|
transcode_list.append(file)
|
||||||
else:
|
else:
|
||||||
self.log.warning("TRK", f"Warning, skipping non-dir '{album}' found in artist '{artist.parts[-1]}'")
|
self.log.warning("TRK", f"Warning, skipping non-dir '{album}' found in artist '{artist.parts[-1]}'")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user