Posts: 22
Joined: Dec 2010
Reputation:
0
Just a quick Q i hope!
If I use a mysql db located on my server, then carry out an update in EMM, what do I need to do to get my sql db updated to reflect the new additions? - or do I need to ask xbmc to auto-update my library?
I'm just trying to think about getting the bulk of the db either real time, or overnight, so when xbmc boots all it has to do is a quick scrape and cache the images locally.
Is there a way for xbmc to be configured to not search a website during scrape, as all my thumbnails, fanart, covers, other detail is handled already ... i.e. can xbmc 'scrape' the media files and use the mysql db.
apologies if this is the wrong place to ask this.
jt
Posts: 156
Joined: Jan 2011
Reputation:
1
If you use MySQL as the database backend, any updates on any XBMC configured to use it automatically add/remove/edit data directly in the database: ie every time you press "TV Shows" it logs on to the (potentially remote) database, performs a query to return the list of shows and then shows them on your XBMC session.
So I don't really get what you're saying about getting the bulk of the db in real time? It is always real-time. If you update the library with a new movie on one machine, and then access your Movie listing on another, it will be instantly present on the second machine.
If you have .nfo files for your media already, it should use by default when adding to the library, instead of using the Internet. If you don't already have .nfo files for your media, but have all the fanart etc for them in your current XBMC library, then export the data before you start.
Posts: 22
Joined: Dec 2010
Reputation:
0
I guess where I draw a bit of a blank is the correlation/relationship between my media, all with .no's, and that SQL DB which would contain the reference to my media.
So, I have a film called TRON, which is scraped in Ember and has all relevant data, coverart, fanart, nfo etc, and on that same server is mysql with the xbmc DB - how does that SQL DB receive it's update with the new film listing?
Do I have to switch on my appletv/xbmc for that to run it's update/scrape for that film to appear in the DB? Or is the DB updated already and when I switch on my appletv just the artwork is cached?
Thanks for the info and taking your time to reply! I didn't know about the .nfo being used over a web connection.
Cheers,
Jt
Posts: 449
Joined: Oct 2010
Reputation:
4
I think that you are getting confused about what happens when you change information in your nfo's.
Think of the nfo's as really no more then a backup copy of what the db uses for a movie. If you make changes to them, the only way that XBMC will use the changes is to "refresh" a movie, or remove source and re add and scrape. Make sure that you set content to have XBMC use local info.
Until then, you will not see any changes to your db.