kjtsune / embyToLocalPlayer

etlp - Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。
Apache License 2.0
671 stars 42 forks source link

jellyfin的播放列表支持不好 #45

Closed xibadeyu closed 6 months ago

xibadeyu commented 6 months ago

使用emby时进行随机播放,不论是否开启读取硬盘模式,播放列表均可以正确呈现,使用jellyfin时,在读取硬盘模式下,播放列表显示的是当前影片的原始文件夹下的文件。在非读取硬盘模式下,播放列表则不显示视频文件,而是系统用户的个人文件夹下。 非读取硬盘模式显示: Snipaste_2024-05-18_00-34-07 读取硬盘模式显示: Snipaste_2024-05-18_00-36-08

此外,日志中出现如下错误: [05/18/24 00:33:22.9] 127.0.0.1:8096 match: dev[playing_feedback_host] ['local', '127.0', '192.168'] ..........[05/18/24 00:33:28.0] urllib try_times=1 host='http://127.0.0.1:8096/emby/Sessions/Playing?X-Emby-Token=4230bdc9a8b04d82b99b38b39b88ce36&X-Emby-Device-Id=e8232b78-2233-4276-b19c-361c1c5e9e4f&X-Emby-Device-Name=embyToLocalPlayer' HTTP Error 401: Unauthorized [05/18/24 00:33:28.0] urllib try_times=2 host='http://127.0.0.1:8096/emby/Sessions/Playing?X-Emby-Token=4230bdc9a8b04d82b99b38b39b88ce36&X-Emby-Device-Id=e8232b78-2233-4276-b19c-361c1c5e9e4f&X-Emby-Device-Name=embyToLocalPlayer' HTTP Error 401: Unauthorized [05/18/24 00:33:28.1] urllib try_times=3 host='http://127.0.0.1:8096/emby/Sessions/Playing?X-Emby-Token=4230bdc9a8b04d82b99b38b39b88ce36&X-Emby-Device-Id=e8232b78-2233-4276-b19c-361c1c5e9e4f&X-Emby-Device-Name=embyToLocalPlayer' HTTP Error 401: Unauthorized [05/18/24 00:33:28.1] urllib try_times=4 host='http://127.0.0.1:8096/emby/Sessions/Playing?X-Emby-Token=4230bdc9a8b04d82b99b38b39b88ce36&X-Emby-Device-Id=e8232b78-2233-4276-b19c-361c1c5e9e4f&X-Emby-Device-Name=embyToLocalPlayer' HTTP Error 401: Unauthorized [05/18/24 00:33:28.1] urllib try_times=5 host='http://127.0.0.1:8096/emby/Sessions/Playing?X-Emby-Token=4230bdc9a8b04d82b99b38b39b88ce36&X-Emby-Device-Id=e8232b78-2233-4276-b19c-361c1c5e9e4f&X-Emby-Device-Name=embyToLocalPlayer' HTTP Error 401: Unauthorized

kjtsune commented 6 months ago

反馈前更新到最新版测试。日志提供完整,我才能知道你环境信息。

xibadeyu commented 6 months ago

好的,已更新,日志如下 Python 3.11.7 C:\Users\10475\AppData\Local\Programs\Python\Python311\python.exe press a number 1: run in console 2: run in background and add to startup folder 3: open startup folder 4: path translate helper 5: copy script path to clipboard 6: update to latest version press a number 1 you have pressed one [05/18/24 15:42:37.1] ['Python path: C:\Users\_hideuser\AppData\Local\Programs\Python\Python311\python.exe'] [05/18/24 15:42:37.1] ['ini path: D:\tools\embyToLocalPlayer\embyToLocalPlayer.ini'] [05/18/24 15:42:37.1] Windows-10-10.0.22631-SP0 Python-3.11.7 system proxy: http://127.0.0.1:10809 system proxy: http://127.0.0.1:10809 [05/18/24 15:42:39.1] D:\tools\embyToLocalPlayer\embyToLocalPlayer.py [05/18/24 15:42:39.1] serving at 127.0.0.1:58000 127.0.0.1 - - [18/May/2024 15:42:43] "POST /embyToLocalPlayer/ HTTP/1.1" 200 - system proxy: http://127.0.0.1:10809 [05/18/24 15:42:43.7] PyScript/2024.05.18 UserScript/2024.05.15 Tampermonkey/5.2.6195 [05/18/24 15:42:43.7] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 [05/18/24 15:42:43.7] server=jellyfin/10.9.1 data['mount_disk_mode']=True [05/18/24 15:42:43.7] command line: ['D:\tools\mpv\mpv.exe', 'E:\anime\films\周星驰\唐伯虎点秋香\周星驰-唐伯虎点秋香.mp4'] [05/18/24 15:42:43.7] 127.0.0.1:8096 match: playlist[enable_host] ['local', '127.0', '192.168', '192-168-', 'example.com:8096', '.'] [05/18/24 15:42:43.7] ['D:\tools\mpv\mpv.exe', 'E:\anime\films\周星驰\唐伯虎点秋香\周星驰-唐伯虎点秋香.mp4', '--force-media-title=周星驰-唐伯虎点秋香 (1993) | 周星驰-唐伯虎点秋香.mp4', '--osd-playing-msg=${path}', '--start=0', '--input-ipc-server=\\.\pipe\pipe_nameA', '--script-opts-append=autoload-disabled=yes', '--fullscreen=yes'] [05/18/24 15:42:44.7] 127.0.0.1:8096 match: dev[playing_feedback_host] ['local', '127.0', '192.168'] .[05/18/24 15:42:44.7] playing_feedback support emby only, skip ....[05/18/24 15:42:49.9] mpv exit, return stop sec [05/18/24 15:42:49.9] update progress: 周星驰-唐伯虎点秋香.mp4 _stop_sec=2.368667

xibadeyu commented 6 months ago

更新最新测试情况:

  1. 换用pot,同样无法读取播放列表
  2. 重新安装回emby,发现了同样的问题,清理浏览器缓存、重新安装插件和油猴插件、重启均无效,可能存在卸载残留导致推送播放列表失败
kjtsune commented 6 months ago

修了,更新油猴