2014-02-13, 21:40
I recently added a new media center box to my home network. My current setup now has 3 XBMC media center instances. I figured now was a good time to sync all libraries using mysql, as managing 2 libraries was cumbersome, and now with a 3rd, it would have been too much maintenance.
I followed the guide on the wiki for syncing libraries on ubuntu with mysql. Everything is working ok at this point. Let me generalize the proceedure to show where my question lies.
*All my media files are stored on a NAS and my main XBMC is my MySQL server.
On the server: (I'm only using Movies & TV Shows Libraries; Ubuntu 12.04.3 & XBMC 12.3)
Export library
install mysql and set it up per the guide on the wiki
Create advancedsettings.xml per the guide.
In XBMC set content again, to force scrapping the exported *.nfo files
Check mysql per the guide on the wiki to make sure xbmc is working with the databases
Done, and everything is okay.
On the new client: (Fresh install ubuntu 12.04.3 & XBMC 12.3)
copy the same advancedsettings.xml from the 'server' to the userdata directory.
open xbmc.
At this point, on the 'client' it automatically loaded the libraries, complete with thumb nails, descriptions, and watched statuses... even though i didn't set any sources... And everything is playable... even though i didn't set any sources.
Q.1) Do I need to set sources on the 'client'? It seems to work without setting sources.
Q.2) Where is the data stored; In the MySQL database or in the *.nfo files?
Q.3) What do I do with all the *.nfo files that were created when I exported the library. Do I need to keep them or can I delete them all?
My understanding is now when adding files to my media collection I should only need to 'Update Library' on 1 media center, and the new item should be propagated throughout, is this true? Or do I need to still update library on each media center?
I followed the guide on the wiki for syncing libraries on ubuntu with mysql. Everything is working ok at this point. Let me generalize the proceedure to show where my question lies.
*All my media files are stored on a NAS and my main XBMC is my MySQL server.
On the server: (I'm only using Movies & TV Shows Libraries; Ubuntu 12.04.3 & XBMC 12.3)
Export library
install mysql and set it up per the guide on the wiki
Create advancedsettings.xml per the guide.
In XBMC set content again, to force scrapping the exported *.nfo files
Check mysql per the guide on the wiki to make sure xbmc is working with the databases
Done, and everything is okay.
On the new client: (Fresh install ubuntu 12.04.3 & XBMC 12.3)
copy the same advancedsettings.xml from the 'server' to the userdata directory.
open xbmc.
At this point, on the 'client' it automatically loaded the libraries, complete with thumb nails, descriptions, and watched statuses... even though i didn't set any sources... And everything is playable... even though i didn't set any sources.
Q.1) Do I need to set sources on the 'client'? It seems to work without setting sources.
Q.2) Where is the data stored; In the MySQL database or in the *.nfo files?
Q.3) What do I do with all the *.nfo files that were created when I exported the library. Do I need to keep them or can I delete them all?
My understanding is now when adding files to my media collection I should only need to 'Update Library' on 1 media center, and the new item should be propagated throughout, is this true? Or do I need to still update library on each media center?