File metadata not being copied over on Windows, added tagged by comment to mp3s

This commit is contained in:
Remy
2011-08-02 03:24:23 -07:00
parent 5c4641c130
commit e817b14bd7
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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