Sillyname
Posts: 45
Joined: Mon Mar 03, 2014 2:22 pm

XBMC as Raspbian App?

Sat Mar 08, 2014 2:56 pm

That would be the ultimate!

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1442
Joined: Sat Sep 10, 2011 11:43 am

Re: XBMC as Raspbian App?

Sat Mar 08, 2014 3:01 pm

You used to be able to sudo apt-get install xbmc-standalone I think
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: XBMC as Raspbian App?

Sat Mar 08, 2014 3:02 pm

As I understand it, the main purpose behind having separate XBMC OSes like OpenELEC and RaspBMC is to reduce system load and provide a more nippy operating environment. If you want both, why not just dual-boot Raspbian and RaspBMC via NOOBS?
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

Herrminator
Posts: 1
Joined: Sat Mar 16, 2013 10:03 am

Re: XBMC as Raspbian App?

Sat Mar 08, 2014 5:59 pm

I think this is what you want: http://michael.gorven.za.net/raspberrypi/xbmc .
But beware: as expected, the performance is by far not as good as openELECs.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5341
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC as Raspbian App?

Sat Mar 08, 2014 6:41 pm

gsh wrote:You used to be able to sudo apt-get install xbmc-standalone I think
No, there's never been a working version in an official repo. The is an xbmc is raspbian but it uses a code tree from before the Pi was supported so doesn't work.

There are some unofficial .deb files around that can be installed, but they tend to get out of date.

geneworld
Posts: 67
Joined: Sun Jan 19, 2014 11:46 pm

Re: XBMC as Raspbian App?

Fri Mar 14, 2014 3:42 pm

Herrminator wrote:I think this is what you want: http://michael.gorven.za.net/raspberrypi/xbmc .
But beware: as expected, the performance is by far not as good as openELECs.
That's not true...I set mine up this way and while the CPU does run high I have never had any problems when actually playing moves or music...Just a little slower in the menus.

I like it better this way so I can select though my boot menu if I want XBMC or EmulationStation or any of the other programs I have installed.
1 B R1
4B R2 IR
1B+ USB Boot/RetroPie2.6/KODI
1Pi2 USB Boot/Media Server/Torrent Box
1Pi Zero Web-based universal remote control
2Pi Zero Misc.
1Pi3 USB Boot/RetroPie3.6/KODI/pianobar

JWS29
Posts: 1
Joined: Fri Mar 14, 2014 5:16 pm

Re: XBMC as Raspbian App?

Fri Mar 14, 2014 5:21 pm

XBMC has made a OS called rasBMC or RASBMC. When you have your NOOBS SD Card You Choose rasBMC or RASBMC to install. Hope this helps enjoy! :D

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5341
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC as Raspbian App?

Fri Mar 14, 2014 10:08 pm

I thought I'd have a go at getting xbmc installed on a clean raspbian image.

Now miappa makes regular builds of raspbmc here:
http://forum.xbmc.org/showthread.php?tid=176043

Note, these are test gotham builds, including custom (by me) patches. The performance is pretty good, and you get new features early, but no guarantee there won't be new bugs.
It should be possible to install stable builds with the correct URL.

Firstly, there's a number of required libraries. So you will need to do a one off install:

Code: Select all

sudo apt-get install -f libmysqlclient-dev libmicrohttpd-dev libhal-dev libssh-dev libfribidi-dev libyajl-dev libboost-dev libass-dev libmpeg2-4-dev libmad0-dev libjpeg-dev libsamplerate-dev libogg-dev libvorbis-dev libmodplug-dev libflac-dev python-dev libbz2-dev libsqlite3-dev libpng-dev libpcre++-dev libcdio-dev libbluetooth-dev libsmbclient-dev libplist-dev libiso9660-dev libtinyxml-dev liblzo2-dev libhal-storage-dev
Here is a script that installs an xbmc build. Create a file (e.g. with "nano update_xbmc"), paste it in and make it executable (chmod +x update_xbmc)

Code: Select all

# /bin/sh
echo Installing xbmc...
sudo rm -rf /opt/xbmc-13-* && curl -L $1 | sudo tar -xzf - -C /opt
XBMC_DIR=$(ls -1td /opt/xbmc-13* | head -1)
echo $XBMC
echo "sudo XBMC_HOME=$XBMC_DIR/xbmc-bcm/xbmc-bin/share/xbmc LD_LIBRARY_PATH=$XBMC_DIR/xbmc-bcm/xbmc-bin/lib/xbmc/system $XBMC_DIR/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin --standalone --fs" | sudo tee /usr/bin/xbmc.bin
sudo chmod +x /usr/bin/xbmc.bin
Find the newest build here (e.g. the link with Updated Gotham build 20140313 in post #xxx with the largest xxx),
and grab the http url in the wget line. Currently it is http://goo.gl/uq3tuu. Run:

Code: Select all

./update_xbmc http://goo.gl/uq3tuu
Now you can launch xbmc with

Code: Select all

xbmc.bin
If you like to keep up to date, then run the update_xbmc script whenever miappa posts a new build (typically a couple of times a week).

Note: a real openelec or raspbmc install may perform better, have more suitable custom settings and addons and handle launching and exiting better, but if you just want a way of running up to date xbmc in raspian, then this may be useful.

Sillyname
Posts: 45
Joined: Mon Mar 03, 2014 2:22 pm

Re: XBMC as Raspbian App?

Sat Mar 15, 2014 9:42 pm

http://michael.gorven.za.net/raspberrypi/xbmc

This worked! Thank you Hermanator; et al...patience truly is a virtue.

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: XBMC as Raspbian App?

Fri Mar 21, 2014 5:48 pm

Great job men,
dom and Sillyname you helped me a lot.
Boh the sources have CEC support?

Edit:
CEC is ok, but in the shell I run xbmc.bin I have some error messages.

Code: Select all

sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
Where is .xbmc folder with log and settings?
Found: ./root/.xbmc/temp/xbmc.log
How can I use my last .xbmc folder located in my user home? I mean other way than simlink

I also have problem with addOn:
cant delete file </root/.xbmc/addons/packages/script.artwork.downloader-12.0.24.zip>. trying lower case </root/.xbmc/addons/packages/script.artwork.downloader-12.0.24.zip>
comes from xbmc.log
The xbmc-bin runs as root...How can I run it with pi.

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: XBMC as Raspbian App?

Tue Apr 15, 2014 8:13 pm

no answer?

Return to “Beginners”