diff --git a/vrobbler/apps/scrobbles/constants.py b/vrobbler/apps/scrobbles/constants.py index 984f1b7..1c9ce49 100644 --- a/vrobbler/apps/scrobbles/constants.py +++ b/vrobbler/apps/scrobbles/constants.py @@ -23,7 +23,7 @@ MEDIA_END_PADDING_SECONDS = { } SCROBBLE_CONTENT_URLS = { - "-v": "https://www.imdb.com/title/", + "-i": "https://www.imdb.com/title/", "-s": "https://www.thesportsdb.com/event/", "-g": "https://boardgamegeek.com/boardgame/", "-b": "https://www.amazon.com/", diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.py index 7c7d505..dfa9eb3 100644 --- a/vrobbler/apps/scrobbles/scrobblers.py +++ b/vrobbler/apps/scrobbles/scrobblers.py @@ -142,6 +142,9 @@ def jellyfin_scrobble_media( def manual_scrobble_video(imdb_id: str, user_id: int): + if "tt" not in imdb_id: + imdb_id = "tt" + imdb_id + video = Video.find_or_create({JELLYFIN_POST_KEYS.get("IMDB_ID"): imdb_id}) # When manually scrobbling, try finding a source from the series