Greasy Fork is available in English.
Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。
4. 修改播放器路径,以及修改播放器选择 `embyToLocalPlayer_config.ini`
[emby]
# 选择播放器
player = mpv
大佬,现在可以弹出potplayer播放窗口了,但是会卡死,也没有画面(黑屏),拖动进度条也没有反应
2. 换播放器及换视频文件测试是否复现。
3. 截图或复制 `.bat` 窗口中的日志(选中后回车即复制)。
大佬,我的plex用不起呀,不知道哪里出错了,下面是日志,帮忙看下!!太感谢了!
Python 3.12.0
C:\Users\Yu\AppData\Local\Programs\Python\Python312\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
[11/16/23 00:19:52] ['Python path: C:\\Users\\_hide_user_\\AppData\\Local\\Programs\\Python\\Python312\\python.exe']
[11/16/23 00:19:52] ['ini path: C:\\Users\\_hide_user_\\Desktop\\123\\embyToLocalPlayer\\embyToLocalPlayer_config.ini']
[11/16/23 00:19:52] Windows-11-10.0.22635-SP0 Python-3.12.0
[11/16/23 00:19:54] C:\Users\_hide_user_\Desktop\123\embyToLocalPlayer\embyToLocalPlayer.py
[11/16/23 00:19:54] serving at 127.0.0.1:58000
127.0.0.1 - - [16/Nov/2023 00:19:59] "POST /plexToLocalPlayer/ HTTP/1.1" 200 -
[11/16/23 00:19:59] server=plex mount_disk_mode=False
[11/16/23 00:19:59] ['127._mix_host_:32400 not match: gui[except_host] []']
Exception in thread Thread-4 (start_play):
Traceback (most recent call last):
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1052, in _bootstrap_inner
self.run()
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 989, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\_hide_user_\Desktop\123\embyToLocalPlayer\embyToLocalPlayer.py", line 87, in start_play
cmd = get_player_cmd(media_path=data['media_path'], file_path=file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\_hide_user_\Desktop\123\embyToLocalPlayer\utils\tools.py", line 201, in get_player_cmd
exe = config['exe'][player]
~~~~~~~~~~~~~^^^^^^^^
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 1222, in __getitem__
raise KeyError(key)
KeyError: 'mpv'