[Solved] UMS.config keeps doubling \s
Posted: Wed May 27, 2020 2:30 pm
Version 9.5.0
In adding a path in UMS.config, when I initially hit save and restart the server, it works perfectly.
However, if I quit and restart the program, suddenly nothing encoded by the encoder in that path will play. I look at the UMS.config file and see that the path keeps adding an extra \ for every one that exists.
For example, if I enter:
vlc_path = C:\Program Files\VideoLAN\VLC\vlc.exe
The next time I quit/reopen UMS, it has changed to
vlc_path = C:\\Program Files\\VideoLAN\\VLC\\vlc.exe
It does this consistently, every time I reboot UMS to test it. It does not happen when clicking "restart server."
In adding a path in UMS.config, when I initially hit save and restart the server, it works perfectly.
However, if I quit and restart the program, suddenly nothing encoded by the encoder in that path will play. I look at the UMS.config file and see that the path keeps adding an extra \ for every one that exists.
For example, if I enter:
vlc_path = C:\Program Files\VideoLAN\VLC\vlc.exe
The next time I quit/reopen UMS, it has changed to
vlc_path = C:\\Program Files\\VideoLAN\\VLC\\vlc.exe
It does this consistently, every time I reboot UMS to test it. It does not happen when clicking "restart server."