浏览代码

Fix TSV imports with new run time seconds

Colin Powell 2 年之前
父节点
当前提交
92b4caa32f
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      vrobbler/apps/scrobbles/tsv.py

+ 1 - 2
vrobbler/apps/scrobbles/tsv.py

@@ -44,8 +44,7 @@ def process_audioscrobbler_tsv_file(file_path, user_id, user_tz=None):
                 mbid=row[7],
                 artist=artist,
                 album=album,
-                run_time=row[4],
-                run_time_ticks=int(row[4]) * 1000,
+                run_time_seconds=int(row[4]),
             )
 
             timestamp = (