Posts: 71
Joined: May 2012
I am currently in blueprint process for managing multiple xbmc's via a central mysql database located on a server. I am currently designing a webui that manages every xbmc system through the server. my question really regards to how i could get xbmc locally on the server without UI etc just so i can make system calls via json or exec commands from php to update the library and obtain library information aswell as have the thumbs etc stored locally... The server i am currently working with is Ubuntu Server.
Posts: 1,483
Joined: Aug 2010
XBMC from master doesn't support headless mode. However, there is a patch:
https://github.com/xbmc/xbmc/pull/890
So you cn compile XBMC with that patch yourself or use the normal XBMC and use a little more resources.
As for the Webui: Did you check Marachino? It's doing eactly what you want...
Posts: 71
Joined: May 2012
after hours of trying to get Marachino working (mainly due to not realizing my vm was set to nat and not bridged!) it came accross impressive but for some reason it doesnt feel right for me, my webui is half completed and is working very well and uses a library interface like the Eden's default UI, as well as better filters and search functions, i aslo find it a bit compact. So I think my own tailored version would suit me better imo. I will look into both the supplied links tomorrow as its late now and determine the best direction to go... My reason for no X11 is purely to have a server with as minimal applications and purely act as a server and not a UI. But thanks for your help in the mean time.
Posts: 71
Joined: May 2012
All is working good, its a shame it still requires all the dependencies thats not even being used, a server would probably be better if it was a standalone application. Anyways I have 1 issue, I copied a sources.xml from a client xbmc to the server settings and the database was forged after initiating a scan but no movies were added. I have a feeling this is to do with samba authentication. Where can I add this in a settings file?
Posts: 71
Joined: May 2012
LOL nevermind found it, it doesnt help looking for the file in the wrong machine :/
Posts: 71
Joined: May 2012
Im still struggling and event though i have the sources file in place.... I think it wont add because theres no where to define a scraper for them... How do i assign a scraper to a path? I have checked all over the wiki and files and cant seem to figure this one out.
Posts: 71
Joined: May 2012
2012-06-04, 21:46
(This post was last modified: 2012-06-04, 21:48 by edhen.)
OK Never mind, I found it in the database and added it manually and now have successfully scanned videos without any GUI access. This server settings needs alot more improvments and i find it strange not to have these scaper settings specific for paths in the sources.xml file, if so everything would had been alot smoother, but i am hoping this server side off xbmc picks up quickly...
EDIT: I am a bit wary off the recursive field within the paths table and what value it should hold, any insight to this will be appreciated.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
the number of dirs allowed to be recursed under the folder. it is either 0 (no recursion), 1 (when doing directory name based lookups without recursion - need to recurse one level) and a large number (when doing recursion).