S Pittaway wrote:I think that some of you are misunderstanding me, Stimpson J. Cat knows what i mean, not sure the rest of you do
All i want is the same as refresh, but DONT DO THE FILE SEARCH....
Let me rephrase your request to see if I understand it:
You would like to be able to change music.xml/movies.xml etc. file; save changes and have XL reload it WITHOUT re-scanning your HD for any changes in actual files (mp3, mpg, etc.). If that’s not it, then I am wasting my time typing it
, but if it is, then it is possible.
dalanik wrote: So IMHO, the thing is NOT to create new db while old still exists but overwrite old DB...
There may be some timing issues with access, but I think we can agree that the point is to make XL think that it’s dealing with a new file.
On the coding side you can create a new file and overwrite the old one, or
you can modify existing, save it and change file attributes (created, modified, accessed), in the past I had to do it with EPG file to force XL to rebuild EPG…
dgemily wrote:ok, I understand what you mean, but I think (not sure) when you execute a command category:refresh on category using a database with template, xlobby do a litle scan on repertories configurated in the template, and if there is not file to add it will reload the xml, but if there are some, it will add items in database and reload the xml. ( you can chek this using the "basic" section of the set up for movies or musics)
Don’t use setup to refresh db (XL will re-scan your HD), use a button on the skin with category>refresh command and it won’t (or SendCommand from the plug-in).
In my example I have about 70 movies, and if I create small db with just one movie in it (including reference to the path to my movie folder and template name etc.) and overwrite existing one (the one with 70 movies) XL will not re-scan my HD for other 69, it will load my small new file and show only that one movie.
I’m probably not making myself clear again, but the above does work.
And by the way I would too like to see it as a separate command …. so bump