Greasy Fork is available in English.

embyLaunchPotplayer

emby launch extetnal player

< Feedback on embyLaunchPotplayer

Question/comment

§
Posted: 10-07-2022

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)}`;

bpkingAuthor
§
Posted: 12-07-2022

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

§
Posted: 02-09-2022

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

§
Posted: 06-09-2022

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)}`;

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

Post reply

Sign in to post a reply.