Browse Source

[videos] Fix splitting youtube IDs

Colin Powell 3 months ago
parent
commit
1d5b91b6e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vrobbler/apps/scrobbles/scrobblers.py

+ 1 - 1
vrobbler/apps/scrobbles/scrobblers.py

@@ -300,7 +300,7 @@ def manual_scrobble_from_url(url: str, user_id: int) -> Scrobble:
         except IndexError:
         except IndexError:
             pass
             pass
 
 
-    if content_key == "-i" and not item_id:
+    if content_key == "-i":
         item_id = url.split("v=")[1].split("&")[0]
         item_id = url.split("v=")[1].split("&")[0]
 
 
     scrobble_fn = MANUAL_SCROBBLE_FNS[content_key]
     scrobble_fn = MANUAL_SCROBBLE_FNS[content_key]