[LINUX] xbmc server: possible quick implementation?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #81
how is this coming along? anyone have this working as a centralized server?

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
Basje Offline
Skilled Python Coder
Posts: 984
Joined: Jul 2005
Reputation: 4
Post: #82
I am also curious. This 'headless' version would be very nice. Will try out some stuff today.

find quote
Odon Offline
Member
Posts: 68
Joined: Apr 2010
Reputation: 0
Post: #83
I have vajonam version running 24/24 7/7 on my home server to periodically update library.

Be careful, if you try the web interface, launching a video through it crashes XBMC.

Edit: As written by vajonam, server version is not in the master branch of his repo, so don't forget to branch to Eden-Server before compiling.
(This post was last modified: 2012-04-17 21:28 by Odon.)
find quote
vajonam Offline
Member+
Posts: 347
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #84
finally got around to updating this for Eden final.

https://github.com/vajonam/xbmc/tree/Eden-Server

should have the code compiling, I have been running this quite successfully.
find quote
Basje Offline
Skilled Python Coder
Posts: 984
Joined: Jul 2005
Reputation: 4
Post: #85
(2012-04-17 21:27)Odon Wrote:  I have vajonam version running 24/24 7/7 on my home server to periodically update library.

Be careful, if you try the web interface, launching a video through it crashes XBMC.

Edit: As written by vajonam, server version is not in the master branch of his repo, so don't forget to branch to Eden-Server before compiling.

Damn, just a bit too late reading this. Checking out the branch right now. Sad

Would this work on a Windows compile too?

EDIT: build is broken for windows: http://pastebin.com/YAmG9thv

(This post was last modified: 2012-04-17 22:55 by Basje.)
find quote
vajonam Offline
Member+
Posts: 347
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #86
sorry I dont have a windows environment seems like its a pretty generic error.

FC: cannot open ..\..\XBMC\WIN32\GIT_REV.H - No such file or folder

not sure how to fix this or why this is missing on the eden, if you mange to fix let me know can I can include this.
find quote
vajonam Offline
Member+
Posts: 347
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #87
I am not sure this problem is specific to my fork, there is git_rev.tmpl that needs to get converted to git_rev.h, on Linux there is ./bootstrap and ./configure that sets all those up, is there an equivalent in Win32?
find quote
Basje Offline
Skilled Python Coder
Posts: 984
Joined: Jul 2005
Reputation: 4
Post: #88
Nope, there was a typoo in a file: "\xbmc\Application.cpp"

Code:
void CApplication::Process()
{
  MEASURE_FUNCTION;
  if (g_application.IsServerMode())
  {
    Sleep(1);
  }

Has Sleep(1) without the capital S. Changed it to the code above and now it compiles.

I do wonder what the easiest way is to configure this? The sources and mysql DB should not be an issue via sources.xml and advancedsettings.xml but the scraper settings (TVDB, TMDB (specifically the 'Get rarting from IMDB')). I guess I can configure it on a normal XBMC and then copy the profile?

(This post was last modified: 2012-04-18 22:31 by Basje.)
find quote
Robotica Offline
Posting Freak
Posts: 928
Joined: Aug 2010
Reputation: 3
Post: #89
(2012-02-03 01:18)Robotica Wrote:  
Odon Wrote:Regarding configuration, from my own experience:
- configure somewhere a Eden Beta XBMC in portable mode, with GUI
- sources
- Install Addon Service LibraryAutoUpdate
- Activate/Configure WebServer
- copy userdata and addon folder to your headless XBMC install configuration folder (linux: <user>/.xbmc/)

To lower cpu usage:
Use a profile and turn everything of you don't need: RSS, upnp, etc.

Maybe using a very simple skin can also help since XBMC is started and maybe still lot's of gui-code is still executed...

Maybe you can post some cpu usage (compared to full xbmc)?
(This post was last modified: 2012-04-18 23:05 by Robotica.)
find quote
Odon Offline
Member
Posts: 68
Joined: Apr 2010
Reputation: 0
Post: #90
I should give it a look, but it is pretty low.

My Linux VM which hosts the XBMC server also hosts:
- SickBeard
- CouchPotato
- HeadPhone
- few other services

ESXi give a mean CPU usage of less than 100MHz (from one i5-2400 core)

Without server implementation (with desktop added to VM), i was nearly at 100% usage on the single vCPU.
find quote
Post Reply