Skip to content

path name with spaces causes jellyfin rpc service to break when started (windows) #195

@liuj-42

Description

@liuj-42

Is there an existing issue for this?

  • I have searched the existing issues

Have you ran the program with debug logging?

  • I used --log-level=debug when running the program

What went wrong?

looks like the path to the executable and the config files are not surrounded by quotes
installer.py lines 293 and 294:

    <executable>{path}jellyfin-rpc.exe</executable>
    <arguments>-c {path}main.json -i {path}urls.json</arguments>

Terminal output

winsw.err.log:

For more information, try '--help'.
error: unexpected argument 'Last\AppData\Roaming\jellyfin-rpc\main.json' found

Usage: jellyfin-rpc.exe [OPTIONS]

Jellyfin-RPC version

1.3.3

What OS are you using?

Windows 11

What version is the Jellyfin server on?

10.10.7

Anything else?

as a workaround I just added quotes around the paths and reran the installer script

    <executable>"{path}jellyfin-rpc.exe"</executable>
    <arguments>-c "{path}main.json" -i "{path}urls.json"</arguments>

manually running the executable (cd %APPDATA%/jellyfin-rpc; ./jellyfin-rpc.exe) also works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions