// ==UserScript== // @name embyToLocalPlayer // @name:zh-CN embyToLocalPlayer // @name:en embyToLocalPlayer // @namespace https://github.com/kjtsune/embyToLocalPlayer // @version 2025.11.04 // @description Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。 // @description:zh-CN Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。 // @description:en Play in an external player. Update watch history to Emby/Jellyfin server. Support Plex. // @author Kjtsune // @match *://*/web/index.html* // @match *://*/*/web/index.html* // @match *://*/web/ // @match *://*/*/web/ // @match https://app.emby.media/* // @match https://app.plex.tv/* // @grant unsafeWindow // @grant GM_info // @grant GM_xmlhttpRequest // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @run-at document-start // @connect 127.0.0.1 // @license MIT // ==/UserScript==