Posts Tagged ‘xbmc’

XBMC + Windows + MySQL db backend

04/17/2011

Have been planning for quite a while to change my xbmc-setup at home
to use a MySQL-database as backend for it’s library. This makes it so
that everything is in sync between several xbmc-instances you might
have at home, like which episodes you have watched and so on.

Easy as pie to setup (hint: add a section to advancedsettings.xml –
take a look at the wiki on xbmc.org).

However, there is a bug that really messed it up for me:
http://trac.xbmc.org/ticket/9022

Amazing that this has been there for over a year, and it’s still not
fixed… In short, the way xbmc saves the path in the database doesn’t
work when it contains backslashes like it would in Windows. So, if
you map your network folder with all media content as v: and have the
tv-show 24 in v:tv24 it would not work when this was saved to the
database. The trick is to not use v: but go directly to the
server-share through smb. This rules out using NFS, but oh well…

So in short: don’t use “normal” path’s in your sources in windows, use
smb://… instead. And everything will work 🙂

Wouldn’t it be nice if this was at least documented in the wiki? Or
maybe fix the bug? Took me quite a while of googling and debug-logging
and reinitializing databases and so on before I figured out what was
the problem…

XBMC on an Asrock 330HT BD

12/03/2010

Xbox

I have been using XBMC for quite some years on my classic Xbox, and was extremely satisfied with it.  However, the hardware was getting a bit outdated, and it couldn’t play HD f.ex..  So after a lot of research I bought an Asrock 330HT BD, which is quite nice.

Asrock

I have been testing it for a while using Linux with XBMC, but I have to say it’s a lot of hassle to get everything to work.  Most importantly, the remote control drivers for Linux from Asrock sucks, they only work for specific linux kernels, so you’re screwed over every time you update…

So, I went back to Windows 7 with XBMC, and this is a small Howto on what I did to get it to work as I wanted it to.

1) Install and update Windows (duh)
2) Install the remote control drivers from Asrock: http://www.asrock.com/Nettop/download.asp?Model=ION%20330HT-BD&o=Win7
3) Install XBMC (duh): http://xbmc.org/.  After installation, your settings on Windows are in %AppData%Xbmc.
4) The windows remote control that comes with the Asrock is by default setup to use Windows Media Center.  To switch some keys around to work better with XBMC, do as follows:
 a) Download MSRemote.reg and merge it into your registry: http://mortencb.cx/posterous_files/MSRemote.reg  – If you ever want to go back to the original setup for the remote, download MSDefault.reg and merge it into your registry and reboot: http://mortencb.cx/posterous_files/MSDefault.reg
 b) Download keyboard.xml to %AppData%XbmcUserdata: http://mortencb.cx/posterous_files/keyboard.xml
 c) Right click on the icon for XBMC on the start-meny, click on properties and click in the Shortcut Key box.  Then click on the keys ctrl-shift-w. Then click ok.
 d) Reboot
 e) Thanks to the folks on http://forum.xbmc.org/ and http://xbmcmce.sourceforge.net/ for these files and tips.
5) If you want Windows to start, login to your passwordprotected useraccount (xbmc f.ex), and start up XBMC automatically when you turn on the Asrock, do the following:
 a) Start regedit as admin
 b) Browse to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonAutoAdminLogon
 c) Change it from 0 to 1
 d) Windows-r (run) and type “control userpasswords2”
 e) Check/Uncheck “Users must enter a password…” a few times until you get asked for your password.
 f) Copy the XBMC shortcut on the start menu to the startup folder
 g) Thanks to Sarah Perez on the MSDN blog for this tip.
6) I recommend setting up XBMC to go to sleep after 10 minutes of idle time, and that the off button sends the machine to sleep.  This will make the top right button on the remote make the machine go to sleep or wake up.  Only takes a few seconds.

BlueRay playback will come in a later post.

Good luck with your XBMC on the Asrock 🙂

Xbmc


%d bloggers like this: