Category Archives: XBMC

Crimps

Well the crimps arrived from Hong Kong yesterday. Pretty good delivery time as I ordered them on the 28th January.

image

Still have to finish a bit of woodworking, paint it, order the iPac 2 interface and wire it all up.

After all that its software time.  Already been looking at options and the first I think is the xbmc ROM browser after that it would be a custom build probably on linux although I still have a xp disk knocking about so could use that as there is more software available. 

Progress

Finally managed to compile the xbmc server. It seems the default package taglib in debian doesnt play nicely with the compile.

In fact , even if you download and compile a newer verson the xbmc build fails. Took several hours of build, fail,  change, build, fail , change before I found that gem.

Not near my pc at the moment so can’t provide the package name (libtag01?) but a quick

Sudo apt-cache search taglib

Will find it. 

I now have an issue connecting to the mysql db, can do it through myphpadmin but not from shell. Got a few ideas which will try tonight.

On a positive note…

Sickbeard
Sabnzbd
Headphones
Couch Potato
Maraschino

All installed correctly and are up and running plus they start at boot, each one has a init.d script that you copy to /etc/init.d/ although I suggest making a link instead. Then if the file gets updated from git nothing will need changing.

Sabnzbd is the only one you have to copy the script from the wiki.

Also the majority use /etc/defaults/ to store the service config files.

Only got the virtual hosts to create for nnplus and partkeepr and a few back up / update from jobs to write.

Been using a generic user to run all of these services but noticed in the headphones config it suggests creating a new user with no home directory and I think that’s the way to go when I move to the production build. 

In the end I should have ….

OMV as system admin
Maraschino as user control panel
Sickbeard, Sabnzbd, headphones, couchpotato running
Nnplus indexing usenet
Partkeepr as my electronics db.

Only have 2 gig of ram in the server at the moment so going to double that next time I get paid.

Virtual Box – OMV on Debian Squeeze

As I mentioned in my previous post been playing round with a few things and I’d like to have a headless XBMC ‘server’ installed on top OMV. Previously I didn;t see the point of installing XBMC over OMV but when you plan to connect the two mini Zotac boxes with OpenElec to a central MYSQL db it kinda makes sense to have one version of XBMC doing all the scrapping and updating.

As usual I like to test these thing in a virtual box before I rebuild the live server.

So following the guide on the xbox forums – http://forum.xbmc.org/showthread.php?tid=132919&page=30

to create the headless XBMC but before that I need a working OMV ontop of Debian Squeeze, as suggested by this post http://forums.openmediavault.org/viewtopic.php?f=3&t=1151&start=10

Downloaded the Boot Image and a version of Debian Squeeze

Ran into a few problems creating the virtual machine, the ISO could be mounted but not the IMG file. So after a quick google, found out that you can convert them both to VDI files and then mount those.

vboxmanage convertfromraw -format VDI boot.img omv.vdi
vboxmanage convertfromraw -format VDI squeeze-custom-i386-0315.iso squeeze.vdi

Then set up the drives in the following order

  • SATA 00 – OMV
  • SATA 01 – Squeeze
  • SATA 02 – OMV Squeeze

Once the installation has finished you’ll be asked to write GRUB to the MBR remember that OMV and Squeeze will be removed so Select No and then type /dev/sdc when it askes for the Boot Loader Installation

Once the installation has finished change the SATA port for OMV Squeeze back to SATA 00 then you should be good to go.

OMV Set Up

After following these steps from the OMV Forum post

1)install your debian iso
2) create omv repo files (openmediavault.list, openmediavault-local.list, omv-plugins-org-fedaykin.list)
3) apt-get update
4) apt-get install postfix
5) apt-get install openmediavault-keyring
6) apt-get update
7) apt-get install xmlstarlet
8) apt-get install openmediavault

I answered the questions as follows

  • MD Arrays : All
  • scponly: yes
  • proftpd: from inetd
  • tftpd-hpa: /srv/tftp
  • SAMBA: {YOUR WORKGROUP}
  • openmediavault-local-list: Y

9) service apache2 restart
10) ifconfig to find ip of omv

Then used  OVM-First Aid: to reset Web Password

OMV Plug Ins

As I was already logged in via SSH, it was easier to download the plugins deb and then install from there

We now have a full list of plugins

Thanks to cracklestick and tekkbebe on the Open Media Vault forums for give me a started on this post – http://forums.openmediavault.org/viewtopic.php?f=3&t=1151&start=10

This has created a platform for the installation of Percona MYSQL and a headless XBMC, which I am having issues with taglib so can’t post at the moment.

Open Media Vault

Well I’ve been really busy with some other projects recently and some involve Open Media Vault in one way or another, so time to share.

Partkeepr

Partkeepr is an electronics database which keeps track of all those components you have laying about and if your like me since I started playing with the raspberry pi that’s quite a few. Partkeepr needs and web server and a msyql database both or which are available on OMV!

Website;  http://partkeepr.org/
Forums;  http://forum.partkeepr.org/
Download: http://partkeepr.org/download/

Installation is pretty straight forward, just download the package and extract into your web directory then run the installer

 

Newsnab

Usenet indexers that need MYSQL and web server again.

Website: http://www.newznab.com/

Install is a little bit more complicated as there are two versions available, a free version then a paid for service.

 

Virtual Box

I’ve used this a lot on OMV to test the installations of the above. Highly recommended it.

Website https://www.virtualbox.org/

 

MusicBrainz Server

I look at this for Headphones and it’s pretty straight forward if you already have the virtual box plug installed.

Website: http://musicbrainz.org/doc/MusicBrainz_Server

Download the package 6 gig then install appliance with in the OMV plug in

 

Other Open Media Vault tutorials are available here - http://forums.openmediavault.org/viewtopic.php?f=13&t=1289

 

At the moment I am following this guide for a headless XBMC install http://forum.xbmc.org/showthread.php?tid=132919&page=30 which I will use with the excellent front end Maraschino - http://www.maraschinoproject.com/

 

 

All of this should let the server handle everything I’ve been playing with over the last six months!

Once I am happy with the installs I write a few more guides and update my old ones

 

 

Frodo Feature Freeze! – And the October Cycle

http://xbmc.org/natethomas/2012/11/03/frodo-feature-freeze-and-the-october-cycle/?utm_source=rss&utm_medium=rss&utm_campaign=frodo-feature-freeze-and-the-october-cycle

http://feeds.gawker.com/~r/lifehacker/full/~3/eKSy56B2Sbw/openelec-adds-pvr-support-to-its-easy+setup-version-of-xbmc

Disaster cubed

After a very productive weekend in the garden I’ve had a major disappointment in trying to recover the data from the server…

Looks like one bad sector on the 2TB drive brought the server to its knees. 

My biggest mistake was powering down and not backing up.

I had back ups of my photos , documents and music but not TV and Films.

As I have tried various option and they have been unsuccessful I have two options. 

Give Up – not likely.
Step back and think – this is the way.

So I’m going to buy a new bigger HDD for the OS as the Compact Flash was ok but the logs files,  sickbeard , minDLNA and Subsonic databases filled the drive up but hey you got to try these things. 

Also purchase a couple new large capacity drives and investigate a RAID array and external storage.

If I rebuild the server I will most probably update the installation guide as well.

I get paid on Wednesday so will be able to get the hardware by next weekend. It’s going to be hard watching TV on Sky’s term and not mine via XBMC.

Pesky Zero Length Files

I’ve been having a problem with XBMC updating the library half was through the process the following message pops up – ‘Can’t connect to remote server’  which to say the least is annoying. It dawned on me that the files might be there but have a zero length.

Ran this code ….

find -name "*" -size 0

… and found 79 files with zero length, quick delete and the problem has disappeared!

XBMC Eden Released

XBMC have released Eden!

Get it here

Downloading now. Athough as it’s a nice day in Leeds I’m off out to play in the sandpit with my son so it will have to wait till these evening. I’ll be using NFS for this installation and will hopefully finish the guide in the next couple of days.

XBMC Eden Beta 3 – xbmcbuntu

Finished installing the XBMCbuntu Eden Beta 3 release on a 8 gig SanDisk Cruzer Blade  the installation seemed to take ages but the boot time is similar to the SSD. Might do some timings later today – after the kids have gone to sleep.

Using the NEON skin and it’s still very responsive so quite pleased and look forward to official release.

As this version has the option to boot into a desktop environment it should be really easy for me to set up Unison to sync the thumbnails as I’ve not really been happy with the NFS share – feels like it slowing down the skin. Not sure if that’s true but it feels like that.

 

Follow

Get every new post delivered to your Inbox.

Join 52 other followers