소스 검색

Pull client name from Jellyfin if provided

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

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

@@ -119,7 +119,7 @@ def create_jellyfin_scrobble_dict(data_dict: dict, user_id: int) -> dict:
         "timestamp": parse(data_dict.get("UtcTimestamp")),
         "playback_position_ticks": playback_position_ticks,
         "playback_position": playback_position,
-        "source": "Jellyfin",
+        "source": data_dict.get("ClientName", "Jellyfin"),
         "source_id": data_dict.get('MediaSourceId'),
         "jellyfin_status": jellyfin_status,
     }