Kodi Community Forum
xbmc minified as a server? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: xbmc minified as a server? (/showthread.php?tid=132919)



RE: xbmc minified as a server? - wsnipex - 2014-05-23

you have to either run /usr/lib/xbmc/xbmc.bin directly or comment out this line in /usr/bin/xbmc:
Code:
python ${datarootdir}/xbmc/FEH.py $SAVED_ARGS



RE: xbmc minified as a server? - marcjero - 2014-05-25

Hello,

I installed xbmc from this ppa https://launchpad.net/~volkris/+archive/xbmc-server/
and ran /usr/lib/xbmc/xbmc.bin&

Seems to work (process doesn't crash) but I still got a "can't open display" message at startup.

Now I would like to enable the webserver. I tried to do this editing ~/.xbmc/userdata/guisettings.xml but didn't work for me.


RE: xbmc minified as a server? - volkris - 2014-05-25

marcjero, did it actually work as upnp server?

I'm still working on a build with echasslau's method, but there's more to figure out with that


RE: xbmc minified as a server? - Solo0815 - 2014-05-25

@volkris
can you please add a version for Debian wheezy? I want to use it on the upcoming OpenMediaVault 1.0
thx


RE: xbmc minified as a server? - marcjero - 2014-05-25

No volkris it seems that zeroconf and event server are started but no trace of upnp or webserver.


RE: xbmc minified as a server? - volkris - 2014-05-25

I'm still trying to roll a package based on the escoand server-makefile branch, but can't quite figure out what's going on. Right now I'm up against the segfault in libxbmc.so.

For example, is wsnipex's libxbmc fix already included in that branch? This discussion thread gave the impression that it was not.

At this point should the escoand server-makefile branch run without further modification? And should it ALSO run with upstream Gotham branch pulled into it as per echasslau's directions?


RE: xbmc minified as a server? - echasslau - 2014-05-25

No the fix is not included. I was waiting till somebody says it's working correctly. The branch is nearly the same as upstream Gotham. Only the Configure/Makefile and the 2 headless files were changed/added.


RE: xbmc minified as a server? - volkris - 2014-05-25

I'm still doing something wrong here since wsnipex's patch seems already included. I've done:

git clone https://github.com/escoand/xbmc-server.git
git fetch origin
git checkout server-makefile

I then look at https://github.com/wsnipex/xbmc/commit/ede443716d0f3e5174674ddad8c5678691143b1b but the changes there don't apply to this Makefile.in.

Can someone clarify what needs to be done?

The segfault I run into is "in CGUIInfoManager::GetLabel(int, int, CStdStr<char>*) () from ./libxbmc.so" and this is on Ubuntu 14.04


RE: xbmc minified as a server? - volkris - 2014-05-28

Another important question is, Can XBMC's server really be managed without the UI at all?

The web interface gives a few commands, but to have a real UPNP server requires a lot more like the ability to set TV vs Movies scrapers.


RE: xbmc minified as a server? - XBL. - 2014-05-28

(2014-05-28, 09:10)volkris Wrote: Another important question is, Can XBMC's server really be managed without the UI at all?

The web interface gives a few commands, but to have a real UPNP server requires a lot more like the ability to set TV vs Movies scrapers.

You can set everything manually in the database and config files.

Easiest is to set up your sources with an XBMC client that has a GUI and then make your headless install talk to that same database (disable any scanning on your clients, so everything is centralized on the headless install).


RE: xbmc minified as a server? - echasslau - 2014-05-28

I've heard the Gotham UPNP interface supports changing all settings. The problem is obviously the webgui. You could try using it manually.


RE: xbmc minified as a server? - jjd-uk - 2014-05-28

(2014-05-28, 16:22)echasslau Wrote: I've heard the Gotham UPNP interface supports changing all settings. The problem is obviously the webgui. You could try using it manually.

I think all settings can now be changed via the JSON-RPC.

At the moment I believe the Official iOS Remote is the only remote gui to take advantage of this, but my understanding is that it's perfectly possible to create a web interface to change settings however no one has gotten round to doing so.


RE: xbmc minified as a server? - echasslau - 2014-05-28

Of course JSON...


RE: xbmc minified as a server? - volkris - 2014-05-28

Which is to say, no Smile

Or more accurately, that's to say programs to remotely manage a headless XBMC install have not yet been written except for the iOS.

I'll have to look into the Gotham UPNP interface for changing settings... I didn't know UPNP could do such a thing.


RE: xbmc minified as a server? - echasslau - 2014-05-28

No UPNP can't do this, it was my fault. I meant JSON.