瀏覽代碼

Fix really irritating double scrobble bug

Colin Powell 2 年之前
父節點
當前提交
07cfb03eb6
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      vrobbler/apps/scrobbles/models.py

+ 0 - 2
vrobbler/apps/scrobbles/models.py

@@ -246,8 +246,6 @@ class Scrobble(TimeStampedModel):
         scrobble_status = scrobble_data.pop('mopidy_status', None)
         if not scrobble_status:
             scrobble_status = scrobble_data.pop('jellyfin_status', None)
-        if not scrobble_status:
-            scrobble_status = 'resumed'
 
         logger.debug(f"Scrobbling to {scrobble} with status {scrobble_status}")
         scrobble.update_ticks(scrobble_data)