Jellyfin-Potplayer icon indicating copy to clipboard operation
Jellyfin-Potplayer copied to clipboard

how to setting {path = path.replace('/', 'v:');}

Open kitkw opened this issue 3 years ago • 5 comments

Screenshot 2022-02-26 061648 061244 061433 Screenshot 2022-02-25 214748

kitkw avatar Feb 25 '22 22:02 kitkw

In this case, you may want to try path = 'V:'+path.replace(/\//g,'\\'). Let me know if you any other questions.

tccoin avatar Feb 25 '22 23:02 tccoin

Can you open F12 developer tool in the Jellyfin and then check the output in the console? You can adjust the script according to how the output looks like.

tccoin avatar Feb 26 '22 18:02 tccoin

In this case, you may want to try path = 'V:'+path.replace(/\//g,'\\'). Let me know if you any other questions.

It's works. but " file not found"

Screenshot 2022-02-27 071204

Screenshot 2022-02-27 061417

kitkw avatar Feb 26 '22 22:02 kitkw

Did you modify other scrips? I am not sure where does the additional backslash come from...

tccoin avatar Feb 27 '22 00:02 tccoin

Did you modify other scrips? I am not sure where does the additional backslash come from...

I did not modify other scripts. Screenshot 2022-02-27 085133

155861901-8813fb7a-9193-4918-a072-2d52e6b98298 155860864-7613eef8-7930-41b2-8d53-0cc140a98fb3

kitkw avatar Feb 27 '22 00:02 kitkw

你好,我看到你系统是中文的就直接回复中文咯,这位朋友第二条里提到了解决的办法:https://github.com/tccoin/Jellyfin-Potplayer/issues/11

tccoin avatar Jan 24 '23 21:01 tccoin