Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



7895 posts

Uber Geek
+1 received by user: 668

Trusted
Subscriber

Topic # 112228 1-Dec-2012 10:35 Send private message

I haven't used my R Pi for a while, I had to reinstall to update to the latest beta. Somehow on the old install I had it looking at a folder on my PC for configuration, things like the advancedsettings.xml file, the thumbnail/art/info cache (500MB), that sort of thing. Media also came from the PC, and the library's stored in a MySQL database.

I can't for the life of my remember how to set this up again, and my google queries aren't helping. Can anyone point me in the right direction?




Amazon & TOGAF certified solution architect
Professional photographer

Create new topic


7895 posts

Uber Geek
+1 received by user: 668

Trusted
Subscriber

  Reply # 726797 4-Dec-2012 13:21 Send private message

Anyone? I managed this but I really can't remember how. It'd be handy to not have to reconfigure XBMC every time I do an upgrade.




Amazon & TOGAF certified solution architect
Professional photographer

257 posts

Ultimate Geek
+1 received by user: 8

Technical Solutions Aust
Subscriber

  Reply # 726805 4-Dec-2012 13:30 Send private message

can't really help you, but I would ask this question on the raspbmc.com forums.....

1920 posts

Uber Geek
+1 received by user: 154

Trusted

  Reply # 726811 4-Dec-2012 13:46 Send private message

ftp into the pi

username: pi
password: raspberry

in the home directory there is a hidden directory called ".xbmc"

in that directory there is a directory called "userdata"

place your advancedsettings.xml in the userdata directory. all your media info should be there once its pointing to the mysql db again. your advancedsettings.xml should look like

<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
</advancedsettings>
 



where ***.***.***.*** is the host/ip address of the mysql server



7895 posts

Uber Geek
+1 received by user: 668

Trusted
Subscriber

  Reply # 726814 4-Dec-2012 13:48 Send private message

Thanks Raven, I've done that. Connecting to MySQL is easy.

I found a way so that things like the cd covers, information about TV programs, caches, etc, aren't stored on the R Pi, they're store on a remote file server. I put it on an SSD across the 100Mbps network. It's about 500MB of data, so I didn't want to download it multiple times, as RaspbMC needs to be reinstalled regularly while it's still in beta.




Amazon & TOGAF certified solution architect
Professional photographer

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Why does Lightbox have a suicide wish?
Created by dafman, last reply by Wade on 4-Mar-2015 21:45 (109 replies)
Pages... 6 7 8


Galaxy s6 announcement and owners thread
Created by Shoes2468, last reply by jeffnz on 5-Mar-2015 18:33 (102 replies)
Pages... 5 6 7


Considering Snap - do you rate them?
Created by gsmithnz, last reply by deadlyllama on 5-Mar-2015 22:15 (38 replies)
Pages... 2 3


Whats your USB charging solution?
Created by macuser, last reply by Journeyman on 4-Mar-2015 17:52 (37 replies)
Pages... 2 3


Recommendations for store bought gaming hard drive for $1500
Created by DebP, last reply by DebP on 5-Mar-2015 21:54 (17 replies)
Pages... 2


Privacy concerns on returning faulty microSDXC
Created by dpw, last reply by andrewbnz on 3-Mar-2015 22:41 (34 replies)
Pages... 2 3


In New Zealand: external tuner which can get EPG?
Created by kingdragonfly, last reply by freitasm on 5-Mar-2015 18:51 (16 replies)
Pages... 2


HTC One M9 (2015) Announcement and Discussion
Created by Dingbatt, last reply by Dingbatt on 3-Mar-2015 22:25 (48 replies)
Pages... 2 3 4



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.