philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.5k stars 216 forks source link

[Windows] airupnp cannot find config file #272

Closed Philip-Nicolas closed 4 years ago

Philip-Nicolas commented 4 years ago

Found using airupnp-win.exe on Windows 10.0.19041.

after creating config.xml using -i, then restarting, the configuration isn't loaded and the message no config file found, using defaults is still logged.

~~Possibly caused by line 144 in airupnp/src/airupnp.c, using ./ instead of .\ : static char glConfigName[_STR_LEN_] = "./config.xml";~~

philippe44 commented 4 years ago

Normally Windows authorized / in path now. But I'm sorry, you say "found", what did you find?

philippe44 commented 4 years ago

oh, I missed the title - so no, it is not related to that. What are you seeing exactly?

Philip-Nicolas commented 4 years ago

^ i think you're right

after creating config.xml using -i, and running airupnp, the configuration isn't loaded and the message no config file found, using defaults is still logged.

updated initial comment

philippe44 commented 4 years ago

so where is the config.xml file located when you launch airupnp for the 2nd time? Are you sure there is no access right problem (r/w)

Philip-Nicolas commented 4 years ago

same directory as the executable. I can edit & save it just fine.

I've got this working on a macos computer, though, so this (possible) bug isn't much of a problem for me.

philippe44 commented 4 years ago

ok, we'll leave it there then b/c it normally works under Windows