Posts: 38
Joined: Jan 2011
Reputation:
0
Use hippojay's PleXBMC for an easy central library
Posts: 15
Joined: Jan 2011
Reputation:
0
Ive got PMS on my server as is but not a big fan of it. Misses alot of movies and is slow as hell updating.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
Within XBMC, export your current library to .xml/.nfo. That option is under Settings>Video. Then once you switch to the new db, import from that file. You may want to include
<importwatchedstate>true</importwatchedstate>
in the advancedsettings.xml so that it will reatin your watched status for everything.
Posts: 327
Joined: Feb 2011
Reputation:
3
as long as u make sure the advancedsettings.xml and sources.xml match up on all your XMBC instances.
i.e. you can't make your PC using E:\movies as a source if your ATV (for example) points at smb://192.168.0.1/movies
the sources.xml must have the same sources
QNAP TS670 NAS - 4x4TB Raided with NFS Support & Central MySQL DB
Pi 3 [Xbian] - Samsung 46" ES7000 Smart TV & HT-E5550 3D BD Sound System
Pi 3 [Xbian] + Hyperion Ambilight- Samsung 48" Curved UE48JS9000 4k
PowerEthernet T1502 Powerline adapters
Posts: 45
Joined: Jun 2011
Reputation:
0
Hyram
Junior Member
Posts: 45
Is there an option to force XBMC to not use its internal library, and keep all of its metadata alongside the media instead?
If not, there should be. It'd simplify things no end!
Posts: 45
Joined: Jun 2011
Reputation:
0
Hyram
Junior Member
Posts: 45
No, you haven't misunderstood. I feel that with most rendering duties being shunted off to the GPU (meaning there is CPU clock-cycles to spare by the metric tonne) and the prevalence of gigabit ethernet in the home LAN, any performance hit incurred by reading metadata directly instead of a database would be negligible.
Posts: 1,012
Joined: Jan 2007
Reputation:
32
I too have tried to setup the SQL database method, and my lack of knowledge of Linux made me give up, the XBMC settings were trivial, but I had to rely on me setting up SQL on my Linux server, and I just wasn't devoted enough to solve my SQL issues to finish it.
Why can't XBMC continue to work the way it does, using the local *.db file, but have a setting that when turned on and pointed to a .xml file on a SMB share, it will compare it's local .db to the remote .xml, and then sync their content together. Obviously XBMC should make sure the remote file is not locked (in use by another XBMC) and if so cue the sync for later (each entry in the XML would need a timestamp for the changes made, so one XBMC doesn't undo the others). For that matter, the remote .xml could contain the path to where the remote thumbnail repository is located, and when the local database is syncing with it's remote .xml, it could pull/push the artwork too.
Having an non-local database is slow, so this seems like a "best of both worlds" solution, and makes each branch responsible for it's implementation. It would just be a new task that runs, after a reboot (after the initial "Update"), and before a proper shutdown (and maybe check to see if it's changed at various random times).
It would just require a share with read/write to put the .xml and artwork folder in from the end user, and two settings changes in the XBMC GUI. Hell I could even set it up if it was like that.
The way I imagine it is when a XBMC came online, it would have to scan the .xml for differences between it and it's local .db, then add the changes to it's local .db, then scan the media shares for changes, then update it's .db with those, then update the .xml to match.
Now because I have close to no programming experience, and no idea how the database updates work in XBMC, I'm sure there are about 50 reasons why this can't work.
Thanks for all the work you Devs do, I know enough to know that you guys are awesome.
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Posts: 41
Joined: Aug 2008
Reputation:
0
Even just having it as an option in the interface somewhere where on a specific main XBMC machine you can enable a mode like "Library Sharing" as something you can enable similar to allowing remote controlling of XBMC and can enable that machine as the "Host" which controls the main library.
Then, you could have another option for the "Client" machines where you can just enter the IP (Or network name) of the Host machine for it to sync with.
Behind the scenes it can just sync up the database between the two.
What I was thinking of trying on my system was actually mounting the folders where the database is stored as an NFS share in linux (since I have Ubuntu machines, and XBMC Live is based off Ubuntu) and then just have other machines mount the same NFS shared folder.
Does anyone know the specifics of this and if it would work? Would I be able to just mount the library folder of my main Host machine on a Client machine? Does anyone know where this library folder would be?
I want to avoid doing all config since different machines would have different video and audio settings etc.
Mini-ITX HTPC: Zotac IONITX-A (GF9400), Mini-Box M350, 2x512MB DDR2-533, 160GB 2.5" HD, XBMC Live 10.1, 20W/30W (Idle/Max)
Media Server: 2x2GB DDR2-800, 6x2TB WD20EARS, FreeNAS 8.0.1-RC1