[json] - move the initialisation of json-rpc from loadprofile into netwo... #1846

Closed
wants to merge 1 commit into from

2 participants

@Memphiz
Team Kodi member

...rk.startservices. This fixes the problem that json-rpc is not available during the login dialog in multi user environments.

@Montellese ftw :)

@Memphiz Memphiz [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
8af78e0
@Montellese
Team Kodi member

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.

@Memphiz
Team Kodi member

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.

@Memphiz Memphiz closed this Nov 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment