mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-05 04:29:25 +01:00
Don't append a [1] to the destination dir if album names aren't being used
This commit is contained in:
@@ -344,7 +344,7 @@ def moveFiles(albumpath, release, tracks):
|
||||
|
||||
destination_path = os.path.normpath(os.path.join(headphones.DESTINATION_DIR, folder)).encode(headphones.SYS_ENCODING)
|
||||
|
||||
if os.path.exists(destination_path):
|
||||
if os.path.exists(destination_path) and 'album' in headphones.FOLDER_FORMAT:
|
||||
i = 1
|
||||
while True:
|
||||
newfolder = folder + '[%i]' % i
|
||||
|
||||
Reference in New Issue
Block a user