소스 검색

Add source id message for manuals

Colin Powell 2 년 전
부모
커밋
ecc26138a7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      vrobbler/apps/scrobbles/scrobblers.py

+ 2 - 0
vrobbler/apps/scrobbles/scrobblers.py

@@ -176,6 +176,7 @@ def manual_scrobble_video(imdb_id: str, user_id: int):
         "timestamp": timezone.now(),
         "playback_position_seconds": 0,
         "source": source,
+        "source_id": "Manually scrobbled from Vrobbler and looked up via IMDB",
     }
 
     return Scrobble.create_or_update(video, user_id, scrobble_dict)
@@ -197,6 +198,7 @@ def manual_scrobble_video_game(data_dict: dict, user_id: Optional[int]):
         "timestamp": timezone.now(),
         "playback_position_seconds": 0,
         "source": "Vrobbler",
+        "source_id": "Manually scrobbled from Vrobbler and looked up via HLTB.com",
         "long_play_complete": False,
     }