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.



7894 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


7894 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

253 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.....

1916 posts

Uber Geek
+1 received by user: 152

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



7894 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:

Smoke billows from Auckland mall after "explosion" - Westfield West City
Created by freitasm, last reply by hio77 on 27-Feb-2015 19:33 (41 replies)
Pages... 2 3


So, what made you join geekzone?
Created by DarthKermit, last reply by TLD on 28-Feb-2015 23:40 (68 replies)
Pages... 3 4 5


Leonard Nimoy, Mr Spock dies at 83
Created by freitasm, last reply by freitasm on 28-Feb-2015 22:20 (20 replies)
Pages... 2


Has my desktop got Wi-Fi?
Created by beenz, last reply by dclegg on 26-Feb-2015 15:43 (19 replies)
Pages... 2


Why does Lightbox have a suicide wish?
Created by dafman, last reply by trig42 on 2-Mar-2015 09:11 (56 replies)
Pages... 2 3 4


Uber Taxi Rides - $10 off first ride.
Created by kiwijunglist, last reply by gzt on 1-Mar-2015 23:38 (18 replies)
Pages... 2


The Evil that is ISIS
Created by networkn, last reply by joker97 on 28-Feb-2015 22:47 (201 replies)
Pages... 12 13 14


Spark Open Term Plan Changes? (27/2)
Created by taneb1, last reply by funnyfela on 28-Feb-2015 15:03 (37 replies)
Pages... 2 3



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.