Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarth-Mai authored Feb 24, 2024
1 parent c0afbf0 commit 5d5d5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ede.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Jellyfin弹幕插件
// @namespace https://github.com/RyoLee
// @author RyoLee
// @version 1.31
// @version 1.32
// @copyright 2022, RyoLee (https://github.com/RyoLee)
// @license MIT; https://raw.githubusercontent.com/Izumiko/jellyfin-danmaku/jellyfin/LICENSE
// @icon https://github.githubassets.com/pinned-octocat.svg
Expand All @@ -21,7 +21,6 @@
if (document.querySelector('meta[name="application-name"]').content == 'Jellyfin') {
// ------ configs start------
let deviceId = localStorage.getItem('_deviceId2');
const serversInfo = JSON.parse(localStorage.getItem('jellyfin_credentials')).Servers;
let authorization = '';
let userId = '';
let isInTampermonkey = true;
Expand Down Expand Up @@ -839,6 +838,7 @@

async function initConfig() {
showDebugInfo('获取服务器信息&Token');
const serversInfo = JSON.parse(localStorage.getItem('jellyfin_credentials')).Servers;
let token = serversInfo[0].AccessToken;
userId = serversInfo[0].UserId;

Expand Down

0 comments on commit 5d5d5fd

Please sign in to comment.