Prechádzať zdrojové kódy

Fix really irritating double scrobble bug

Colin Powell 2 rokov pred
rodič
commit
07cfb03eb6
1 zmenil súbory, kde vykonal 0 pridanie a 2 odobranie
  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)