embyToLocalPlayer

Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。

< Feedback on embyToLocalPlayer

Question/comment

§
Posted: 2024-08-14

安装脚本后,不能进入emby,一卡在标题,請問知道是什么原因吗?

kjtsuneAuthor
§
Posted: 2024-08-14

我无法复现。可以修改油猴脚本220行左右的代码为以下试试看。或者看FAQ加群我发修改后的文件给你测试。

    const originFetch = fetch;
    unsafeWindow.fetch = async (url, request) => {
        let urlType = typeof url;
        if ( urlType != 'string' ) {
            logger.info('url not string')
            logger.error(url, urlType);
            return originFetch(url, request);
        }
        if (serverName === null) {
            serverName = typeof ApiClient === 'undefined' ? null : ApiClient._appName.split(' ')[0].toLowerCase();
        }

Post reply

Sign in to post a reply.