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

Invalid file path when a remote SMB path set in Jellyfin Library

Open EdiTurn opened this issue 3 years ago • 3 comments

As I need to use Jellyfin Native-mode in kodi, I have set up remote path to the jellyfin library (following this doc: https://jellyfin.org/docs/general/clients/kodi.html#native-mode). After that, the path which Jellyfin-Potplayer sent to Potplayer would be like //SMB-SERVER/path/to/video.file, so Potplayer can't play due to the slash.

EdiTurn avatar Dec 14 '21 04:12 EdiTurn

This issue could be fixed by just adding $path=$path -replace "/" , "\" to the ps1 file. But seems not available for the other two remote type. (NFS & mounted share, also mentioned in that doc. )

EdiTurn avatar Dec 14 '21 04:12 EdiTurn

This solved my problem.

YifeiLu-1 avatar Feb 05 '22 12:02 YifeiLu-1

@EdiTurn I don't use Jellyfin anymore so I don't have too much time working on this script. It will be nice if you can update the Readme file with your discovery and create a pull request. I will be happy to merge them if this can help others. Thank you.

tccoin avatar Feb 06 '22 00:02 tccoin