Browse Source

Fix TSV imports with new run time seconds

Colin Powell 2 năm trước cách đây
mục cha
commit
92b4caa32f
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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 = (