[videos] Add video to play again media

This commit is contained in:
2025-11-02 23:52:26 -05:00
parent b4dbbb4211
commit d928d266b9
2 changed files with 2 additions and 2 deletions

View File

@ -20,6 +20,7 @@ PLAY_AGAIN_MEDIA = {
"beers": "Beer", "beers": "Beer",
"foods": "Food", "foods": "Food",
"locations": "GeoLocation", "locations": "GeoLocation",
"videos": "Video",
} }
MEDIA_END_PADDING_SECONDS = { MEDIA_END_PADDING_SECONDS = {

View File

@ -604,8 +604,7 @@ def scrobble_start(request, uuid):
"[scrobble_start] media object not found", "[scrobble_start] media object not found",
extra={"uuid": uuid, "user_id": user.id}, extra={"uuid": uuid, "user_id": user.id},
) )
# TODO Log that we couldn't find a media obj to scrobble raise Exception("No media object provided to scrobble")
return
scrobble = None scrobble = None
user_id = request.user.id user_id = request.user.id