mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
ignore .!sync files on manual run. Fixes #519
This commit is contained in:
parent
492e9a4511
commit
357d8c4896
1 changed files with 2 additions and 0 deletions
|
@ -497,6 +497,8 @@ def getDirs(section, subsection, link = 'hard'):
|
|||
logger.debug("Found file %s in root directory %s." % (os.path.split(mediafile)[1], path))
|
||||
newPath = None
|
||||
fileExt = os.path.splitext(mediafile)[1]
|
||||
if fileExt == '.!sync':
|
||||
continue
|
||||
try:
|
||||
if fileExt in nzbtomedia.AUDIOCONTAINER:
|
||||
f = beets.mediafile.MediaFile(mediafile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue