embyLaunchPotplayer

emby launch extetnal player

< Обсуждения embyLaunchPotplayer

Вопрос/комментарий

potplayer 跳转时,如果文件名有空格则无法正常播放。即使进行了 url 编码。
所以需要对标题去除空格。
155 行应修改为:
let poturl = `potplayer://${encodeURI(mediaInfo.streamUrl)} /sub=${encodeURI(mediaInfo.subUrl)} /current /title=${encodeURI(intent.title.replace(/\s*/g,""))} /seek=${getSeek(intent.position)}`;

bpkingАвтор
§
Создано: 12.07.2022

感谢分享,这应该是potplayer 220706 版的bug,我在 220420版上没能复现问题,更新到220706也有这个问题

感谢分享,有用。刚才百度了半天没有找到解决办法。

potplayer 跳转时,如果文件名有空格则无法正常播放。即使进行了 url 编码。
所以需要对标题去除空格。
155 行应修改为:
let poturl = `potplayer://${encodeURI(mediaInfo.streamUrl)} /sub=${encodeURI(mediaInfo.subUrl)} /current /title=${encodeURI(intent.title.replace(/\s*/g,""))} /seek=${getSeek(intent.position)}`;

刚刚遇到这个问题了,这条有效解决问题

Ответить

Войдите, чтобы ответить.