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.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




7325 posts

Uber Geek
+1 received by user: 566

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


7325 posts

Uber Geek
+1 received by user: 566

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

1775 posts

Uber Geek
+1 received by user: 131

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



7325 posts

Uber Geek
+1 received by user: 566

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:

Has Spark (Telecom) locked their iphone 6 ?
Created by anewguy2014, last reply by michaelmurfy on 17-Dec-2014 14:32 (25 replies)
Pages... 2


Police Camera Van Disguise
Created by Reanalyse, last reply by scuwp on 21-Dec-2014 12:16 (71 replies)
Pages... 3 4 5


In defence of cats
Created by Rikkitic, last reply by DarthKermit on 17-Dec-2014 15:40 (68 replies)
Pages... 3 4 5


Do I have the right to return this?
Created by corksta, last reply by Dairyxox on 21-Dec-2014 10:29 (43 replies)
Pages... 2 3


Slaughter of Innocents
Created by networkn, last reply by networkn on 19-Dec-2014 17:46 (64 replies)
Pages... 3 4 5


Spray Foam Insulation
Created by AACTech, last reply by timbosan on 19-Dec-2014 16:58 (36 replies)
Pages... 2 3


How to upload 150GB of photos to iCloud?
Created by josephhinvest, last reply by timbosan on 17-Dec-2014 15:05 (35 replies)
Pages... 2 3


Crew Drinking on Flights - Why!?
Created by networkn, last reply by freitasm on 21-Dec-2014 12:32 (16 replies)
Pages... 2



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.