2025-05-01, 07:39 PM
(This post was last modified: 2025-05-01, 08:55 PM by Damocles_. Edited 2 times in total.)
(2025-05-01, 05:57 PM)sideeffect Wrote: Hi Damocles, Thank you for your work on this solution.
I am trying to get it working across my network with jellyfin server running elsewhere. I have made all the URL changes, but when the file goes to start it says file not found. Under more info (in PotPlayer) it shows the file string for example "\movies\folder\movie.mkv". I mapped the network drive movies folder to movies in Windows file explorer, but it doesn't work because of the backslash before movies. If I remove the backslash so it becomes "movies\folder\movie.mkv" and paste into file explorer it does work so it seems it's just the first backslash that I need to get rid of in the output to PotPlayer. Any ideas how to remove it?
Hi, if under more info in PotPlayer it shows the file string, but wrong, only the .ps1 file needs some edits.
Unfortunately I haven't a network drive to test it... I have made some change in this new potplayer.ps1 file, try replacing yours with this one : https://github.com/Damocles-fr/PPJF/blob...player.ps1
If it works, it should work on any network drives, if it doesn't, please PM me and we will try to solve it together.
Alternatively, in the original .ps1, you can try adding this line after line 20 :
$path = $path -replace "\movies\folder", "movies\folder"
It just manually replaces the path for your own folder only, but if this works, it confirms the issue is, as you said, due to the backslash before "movies"
Hope this helps! Let me know

Edit : You may have to open the new potplayer.ps1 file first in Windows, one time with notepad or anything just to allow it