I have a shared MySQL database library for the various XBMC installs I have. One of the reasons I purchased an Ouya was as a cheap replacement to an older XBMC box I had. Things got interesting when I tried to edit my advancedsettings.xml file on the Ouya. How to do it? There isn’t a text editor or SSH access. I had to copy the file from the Ouya to another PC, edit it with what I needed, and then copy it back.

Keep in mind that what I’m going to describe below will install XBMC version 13 on the Ouya. If the other installs around your house are not using version 13 this may mess up your database. I had version 12 installs and my DB was fine, good luck!

  1. Backup your XBMC database.
  2. Install XBMC for Ouya. This is a dead simple tutorial that worked for me.
  3. If you don’t have one already, create a shared folder on your PC. This is where we will put the advancedsettings.xml for editing.
  4. On the Ouya, launch XBMC. Go to Settings->Appearance->File Lists and pock mark ‘Show hidden files and directories’.
  5. Go back to the main XBMC menu, go to Settings and then File Manager
  6. Add two sources, one should be the shared folder on your PC, the other should the userdata XBMC folder on the Ouya.
  7. The XBMC folder on the Ouya is /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata
  8. In the shared folder on your PC, make an advancedsettings.xml file. I just copied one from another XBMC install.
  9. Back on the Ouya, copy the advancedsettings.xml file into the userdata folder. Do this by highlighting the file, then pressing the Ouya button on the controller, then select copy from the menu that pops up.
  10. Exit and then restart the Ouya. You’re done.
Getting to the built in file manager

Getting to the built in file manager

Showing all files

Showing all files

Copying Files

Copying Files

 

 

From time to time, while browsing your XBMC library of files you may get the prompt, “Need to unpack a big file, continue?” This means XBMC has a large rar file it needs to open, so large that it may take a while/affect your system’s performance. Typically you can just answer yes and not have to worry about it again.

In my experience though you get this error when you have a corrupt or password protected rar. Answering yes gets you an endless loop of prompts, answering no will result in the prompt going away only to come back the next time you open your library.

What to do?

Via what ever method you have, go to your <xbmc_dir>/temp directory. In there will be the offending rar file, possibly in a directory called rartemp. Delete any rar files and any directory with rar in the name. Restart XBMC.

The next time you open your library you should be all good.

I use an SQL server for my library, sometimes I have to go an extra step and delete the file’s reference in my xbmc data. Look in myvideos->files and find the recent entry with rar:// in the strFilename column.

 

 

Here’s an XBMC problem I ran into; there is a show I watch and until a few days ago XBMC would add new episodes into my library as Sickbeard downloaded them. This arrangement has worked well for several years with no issue. For seemingly no reason XBMC stopped adding new episodes for this show only to the library. Sickbeard was still downloading them and moving/renaming them to the appropriate place, XBMC just wasn’t picking them up and putting them into the library.

I poked around a bit and saw this entry in my temp/xbmc.log file:

“ERROR: VideoInfoScanner: Asked to lookup episode SOMEVIDEOFILE.avi online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.”

Googling the error didn’t help. Other people have had this problem but there wasn’t a solution posted anywhere I could find.

I looked at the tvshow.nfo for the show and sure enough, there wasn’t an <episodeguide> tag. I understand through some voodoo you can add the tag yourself, but I didn’t want to get into that. I already had a copy of Media Center Master, so I deleted the tvshow.nfo file, opened Media Center Master, and had it fetch all of the metadata for the show again. After that was done I had XBMC update the library. My missing episodes then appeared in the library as they should.

I have no clue what made it stop working in the first place, but I am happy that having Media Center Master rebuild the metadata solved the problem.

Torrents are not safe. Your IP address is visible to all. Eventually you will be caught and copyright infringement notices will be sent to your ISP. Using an Usenet Provider will not only protect you but allow you to download faster. I recommend NewsgroupDirect.