mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-11 06:09:29 +01:00
File metadata not being copied over on Windows, added tagged by comment to mp3s
This commit is contained in:
@@ -293,7 +293,7 @@ def renameFiles(albumpath, downloaded_track_list, release):
|
||||
|
||||
logger.debug('Renaming %s ---> %s' % (downloaded_track, new_file_name))
|
||||
try:
|
||||
shutil.move(downloaded_track, new_file)
|
||||
os.rename(downloaded_track, new_file)
|
||||
except Exception, e:
|
||||
logger.error('Error renaming file: %s. Error: %s' % (downloaded_track, e))
|
||||
continue
|
||||
|
||||
@@ -378,6 +378,7 @@ def apply_metadata(items, info):
|
||||
|
||||
# Compilation flag.
|
||||
item.comp = info['va']
|
||||
item.comments = 'tagged by headphones/beets'
|
||||
|
||||
def match_by_id(items):
|
||||
"""If the items are tagged with a MusicBrainz album ID, returns an
|
||||
|
||||
Reference in New Issue
Block a user