xbmc/xbmc — pull request #542 by blades (2011-11-21 14:04:24+00:00)
Title: xbmc server code

this is a series of small changes to the codebase that allows xbmc to run without a gui, and without the *requirement* of a gui, either. it still provides the jsonrpc interface as well as the web server interface, thereby allowing the querying of the library and (theoretically - i haven't tested this yet) library updates, too.

in essence, the code provides a new command line switch (--server) which is used to set a flag variable, and that flag variable is used to disable the gui code from running. without this, the code continues to run as it does normally, so it's a very low-impact switch.