jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.64k stars 93 forks source link

conf.json editing not working in Windows #311

Open Bestfast opened 1 year ago

Bestfast commented 1 year ago

Describe the bug when editing the conf.json in C:\Users\Bestfast\AppData\Roaming\jellyfin-mpv-shim, I get a "FileExistsError: [WinError 183] Cannot create a file when that file already exists:" error. Deleting the file, creates a conf.json folder, with conf.json, cred.json, input.conf and mpv.conf files.

To Reproduce Steps to reproduce the behavior:

  1. Open mpv shim for the first time

  2. Edit the conf.json (haven't tested it enough, but I changed mpv_ext_path and the mpv_ext flags)

  3. FileExistsError when opening mpv shim

  4. if you delete conf.json, it creates a conf.json folder

  5. Open mpv shim for the first time

  6. delete everything in the jellyfin-mpv-shim folder

  7. re-open mpv shim

both way made that bug for me

Expected behavior conf.json editing should just work (maybe dont create the file twice?)

Desktop (please complete the following information):

iwalton3 commented 1 year ago

Could you send a log or video of this happening? I've never seen this happen and it doesn't make any sense.