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.




7679 posts

Uber Geek
+1 received by user: 631

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


7679 posts

Uber Geek
+1 received by user: 631

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

1828 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



7679 posts

Uber Geek
+1 received by user: 631

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 jpoc on 28-Jan-2015 22:40 (41 replies)
Pages... 2 3


Bad lower back.
Created by TimA, last reply by jpoc on 28-Jan-2015 23:03 (68 replies)
Pages... 3 4 5


I have had enough of Vodafone Customer Service... which ISP is for me?
Created by andrewinwlg, last reply by michaelmurfy on 28-Jan-2015 20:10 (23 replies)
Pages... 2


AdBlockers on Geekzone
Created by freitasm, last reply by PhantomNVD on 28-Jan-2015 23:56 (65 replies)
Pages... 3 4 5


Police Speed Campaign - Summer 2014/2015
Created by nzkiwiman, last reply by Geektastic on 28-Jan-2015 23:44 (127 replies)
Pages... 7 8 9


Windows 10 News - 22 Jan
Created by Regs, last reply by Brumfondl on 28-Jan-2015 21:17 (130 replies)
Pages... 7 8 9


Spark customers get Lightbox free for 12 months
Created by freitasm, last reply by ARK on 27-Jan-2015 16:35 (137 replies)
Pages... 8 9 10


How (not) to run a hotel
Created by MikeAqua, last reply by BTR on 26-Jan-2015 16:06 (68 replies)
Pages... 3 4 5



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.