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)



xbmc minified as a server? - Steini - 2013-03-26

I went back to 12.0 and the idle cpu usage is around 1% vs the 30-40% in 12.1

Maybe I built 12.1 differently from 12.0 but it does not matter since the db version is the same.


RE: xbmc minified as a server? - fizze - 2013-04-04

I've tried to build the latest git on Debian Squeeze amd64, but my build fails.
I use the configure options from KRavEN here.

This is the error I get:

Code:
xbmc/cores/DllLoader/exports/exports.a(emu_msvcrt.o): In function `dll_dlopen':
emu_msvcrt.cpp:(.text+0x2dc1): undefined reference to `dlopen'
xbmc/cores/DllLoader/exports/exports.a(wrapper.o): In function `__wrap_dlopen':
wrapper.c:(.text+0x581): undefined reference to `dlopen'
xbmc/cores/DllLoader/dllloader.a(SoLoader.o): In function `SoLoader::ResolveExport(char const*, void**, bool)':
SoLoader.cpp:(.text+0x62): undefined reference to `dlsym'
SoLoader.cpp:(.text+0xe1): undefined reference to `dlerror'
xbmc/cores/DllLoader/dllloader.a(SoLoader.o): In function `SoLoader::Unload()':
SoLoader.cpp:(.text+0x14b): undefined reference to `dlclose'
SoLoader.cpp:(.text+0x171): undefined reference to `dlerror'
xbmc/cores/DllLoader/dllloader.a(SoLoader.o): In function `SoLoader::Load()':
SoLoader.cpp:(.text+0x688): undefined reference to `dlopen'
SoLoader.cpp:(.text+0x69a): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [libxbmc.so] Error 1

Obviously I have libc6-dev installed.

edit:
specifying CFLAGS and CXXFLAGS="-ldl" does the trick.


RE: xbmc minified as a server? - lunarok - 2013-04-07

Sorry, I will correct myself. I have forget to copy again libxbmc again in /lib. I have done a first compilation where I see I was missing nfs and at secon pass I forget this lib.
No error message anymore. But no gui launched (whatever the log says yes) and the process seems to disappear but I see things still in logs after daemon is dead ...

Hi,

I was happy to find this post as I was expecting such a backend for XBMC. Nowadays, we can have XBMC on every TV with Raspberry and all smartphones + tablets. So last year when still Eden : 1 XBMC. Now with Frodo : 7 ...
And for Raspberry, happy if it can help a little this hardware for scanning (don't know if it's the fact)

But I get an issue, I have xbmc-server complaining in the logs about unsupported nfs protocol. When I run the ./configure, I add the --enable-nfs and no complain, so for main xbmc compilation it's ok.
Is you xbmc-server able to use nfs ?
I need it because with the Raspberry we have only 100Mb ethernet card, and with CIFS protocol, there is a lot of unusable data, so it's impossible to get for exemple a good streaming of 10GB movie (common now) but working well in NFS (see the XBMC wiki, same advice)

Thanks


RE: xbmc minified as a server? - fma965 - 2013-04-23

How would i go about compiling this on archlinux... specifically archlinuxarm.

Thanks.


RE: xbmc minified as a server? - vicbitter - 2013-04-23

(2013-04-23, 11:55)fma965 Wrote: How would i go about compiling this on archlinux... specifically archlinuxarm.

Thanks.

This post is a good starting point...


RE: xbmc minified as a server? - fma965 - 2013-04-23

(2013-04-23, 13:05)vicbitter Wrote:
(2013-04-23, 11:55)fma965 Wrote: How would i go about compiling this on archlinux... specifically archlinuxarm.

Thanks.

This post is a good starting point...

Thanks, But how is it? archlinux doesn't use apt-get, Also is that even ARM?


RE: xbmc minified as a server? - vicbitter - 2013-04-23

(2013-04-23, 19:27)fma965 Wrote:
(2013-04-23, 13:05)vicbitter Wrote:
(2013-04-23, 11:55)fma965 Wrote: How would i go about compiling this on archlinux... specifically archlinuxarm.

Thanks.

This post is a good starting point...

Thanks, But how is it? archlinux doesn't use apt-get, Also is that even ARM?

For starters, it tells you the packages you need installed to compile xbmc along with the build instructions...

On archlinux you use pacman instead of apt-get... So if you are unable to adapt the instructions for archlinux then this is probably not the thread for you...


RE: xbmc minified as a server? - dhead - 2013-04-24

I'm no developer but I would start in trying to build on Arch Linux x86-64 prior to Arm, have a look in the PKGBUILD
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/xbmc

If you succeed then move to Arm, you should be aware that there are some changes in the PKGBUILD on Arm so it would be wise to have a peek at
https://github.com/archlinuxarm/PKGBUILDs/tree/master/community/xbmc


RE: xbmc minified as a server? - bobbintb - 2013-04-29

i see a couple people asking about unraid but has anyone attempted this on unraid yet?


xbmc minified as a server? - Steini - 2013-04-29

Yeah I ran it in unraid via virtualbox, but I ditched that for a esxi setup. Running in a Ubuntu vm in both setups.


RE: xbmc minified as a server? - bobbintb - 2013-04-29

(2013-04-29, 23:44)Steini Wrote: Yeah I ran it in unraid via virtualbox, but I ditched that for a esxi setup. Running in a Ubuntu vm in both setups.

you know of anyone that has done it natively and not in a vm?


xbmc minified as a server? - Steini - 2013-04-29

Way too many dependencies I guess. Also I think most would not want to clutter unraid too much. But I would recommend trying virtualbox, with the plugin it's really easy to try.


RE: xbmc minified as a server? - bobbintb - 2013-05-02

(2013-01-07, 20:36)excyle Wrote:
(2013-01-07, 18:30)Solo0815 Wrote: BTT: I tried to follow KRavENs port here on OMV, but the two files (make_xbmc-server and abmc_server.cpp) are missing on (KRavENs?) server. Can anyone fix it please? Thx

source files :
http://excyle.nl/xbmc-server/make_xbmc-server
http://excyle.nl/xbmc-server/xbmc-server.cpp

init.d file :
http://excyle.nl/xbmc-server/xbmc-server

missing again. saved by google cache.


RE: xbmc minified as a server? - Bootlegninja - 2013-05-03

I've had them saved here for a while.

http://bootlegninja.awardspace.com/xbmc-server/


RE: xbmc minified as a server? - leechguy - 2013-05-03

Unfortunately, the links on your page are all missing the /xbmc-server part in the URL resulting in a 404 Not found. So here are the corrected links.

Notes (note that Ubuntu 12.10 and later already include the correct libtag version in the distribution so you can skip compiling the libtag library)
headless xbmc

Files to compile
make_xbmc-server
make_xbmcVideoLibraryScan
xbmc-server.cpp
xbmcVideoLibraryScan.cpp

For xbmc-server launch at boot
xbmc_init