CC-2612 : Upgrade: Push DB metadata into the file before upgrade

This commit is contained in:
Naomi Aro 2011-08-01 13:27:58 +02:00
parent d606b4b173
commit 0fba75b9ad
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ for line in f.readlines():
#file is recorded
#format 1 title year month day hour min
if db_md[0]:
if int(db_md[0]):
file_md["MDATA_KEY_TITLE"] = db_md[2]
match = re.search('^.*(?=\-\d{4}\-\d{2}\-\d{2}\-\d{2}:\d{2}:\d{2}\.(mp3|ogg))', file_md["MDATA_KEY_TITLE"])