[videos] Fix splitting youtube IDs

This commit is contained in:
2025-01-27 00:41:03 -05:00
parent a5c67a7fe1
commit 1d5b91b6e2

View File

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