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.




7712 posts

Uber Geek
+1 received by user: 637

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


7712 posts

Uber Geek
+1 received by user: 637

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

1830 posts

Uber Geek
+1 received by user: 141

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



7712 posts

Uber Geek
+1 received by user: 637

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:

Am I going down? App for the fearful of flying.
Created by networkn, last reply by Sideface on 29-Jan-2015 23:07 (47 replies)
Pages... 2 3 4


Police Speed Campaign - Summer 2014/2015
Created by nzkiwiman, last reply by scuwp on 31-Jan-2015 22:18 (179 replies)
Pages... 10 11 12


Post your Boat
Created by TimA, last reply by Beccara on 31-Jan-2015 20:40 (38 replies)
Pages... 2 3


Which canon flash?
Created by esawers, last reply by timmmay on 30-Jan-2015 16:15 (19 replies)
Pages... 2


Bad lower back.
Created by TimA, last reply by jimbob79 on 30-Jan-2015 16:01 (77 replies)
Pages... 4 5 6


New to VDSL and wondering if I can change where the modem connects in the house
Created by Valcor, last reply by quickymart on 29-Jan-2015 20:59 (17 replies)
Pages... 2


AdBlockers on Geekzone
Created by freitasm, last reply by wally22 on 29-Jan-2015 09:55 (69 replies)
Pages... 3 4 5


Help recognize big black spider nope
Created by solival, last reply by heylinb4nz on 30-Jan-2015 13:34 (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.