diff --git a/src/main/java/com/yutou/nas/utils/JellyfinAPIManager.java b/src/main/java/com/yutou/nas/utils/JellyfinAPIManager.java index 584872d..07379ec 100644 --- a/src/main/java/com/yutou/nas/utils/JellyfinAPIManager.java +++ b/src/main/java/com/yutou/nas/utils/JellyfinAPIManager.java @@ -19,6 +19,7 @@ import java.util.*; public class JellyfinAPIManager { private List mediaItem = new ArrayList<>(); private static final String userId="389438aeda0a4972ac66a23cbe5c289c"; + private static final String token="7f8efec6c950415cbaa8a0b54b3a832b"; public JellyfinAPIManager() { mediaItem = getAllItem(); @@ -203,7 +204,7 @@ public class JellyfinAPIManager { public HashMap getHeader() { HashMap header = new HashMap<>(); - header.put("X-Emby-Authorization", "MediaBrowser Client=\"Jellyfin CLI\", Device=\"Jellyfin-CLI\", DeviceId=\"None\", Version=\"10.7.6\", Token=\"81be0169523e463a8c36a7b752d60ab2\""); + header.put("X-Emby-Authorization", "MediaBrowser Client=\"Jellyfin CLI\", Device=\"Jellyfin-CLI\", DeviceId=\"None\", Version=\"10.7.6\", Token=\""+token+"\""); return header; }