...rk.startservices. This fixes the problem that json-rpc is not available during the login dialog in multi user environments.
@Montellese ftw :)
[json] - move the initialisation of json-rpc from loadprofile into ne…
…twork.startservices. This fixes the problem that json-rpc is not available during the login dialog in multi user environments
The problem with making JSON-RPC available this early is that the behaviour on calls like VideoLibrary and AudioLibrary methods might be undefined because some profile might not have access to the video and/or audio library. Same problem with accessing sources through Files.GetDirectory and Files.GetFileDetails as some sources might be locked in one profile but not in another. I don't really know much about all this profile stuff as I've never ever used it so I don't know what exactly will happen.
Ok we consider this a known design problem for frodo imo (fixing it the way i proposed would introduce a lot of problems and support hassle). closed.