- Thread starter
- #21
Just wondering - is there any way to perform path\file updates for an existing title in the database?
Eg. I have a file \\server\share\filename.avi with the the full path&filename stored in AMC. I then move the file to \\server\share2\filename.avi (filename.avi remains the same, only the share changes). Could I then perform an automatic update and update the path&filename for the existing entry in AMC?
At the moment when I use the interactive part of AMCUpdater, it will add a new entry with the new path&filename. This is not desirable, as I don't want to have to perform new internet look-ups if I move a large group of files. It would be nice if there was some way of using the existing titles and data already in the database. Can anyone think of a alternative or trick to make this work?
Ben
EDIT: Just had a thought - if I change all my existing entries so that files are stored with name only (no path) and add multiple paths to search in the MyFilms plugin configuration, this should work, yes? Is anyone already doing this?
Hi there,
This is another one of those 'I thought it already did that' moments! One of the new features in this version is the ability to recognise when a file has been relocated and update the file path without doing anything else. Basically, for each file in the scanned folder it will check to see if that file is referenced in the XML file (swapping the path for the override path if given). If it can't find an entry for that file it will then scan the XML file for just the filename to see if it has been moved. Only then if it can't find a match should it consider it a 'new' file and import it as a new entry in the Ant database file.
I just did a very simple test of this - I scanned c:\movies which contains one file and let it load that into a blank Ant file. Then I moved the file to c:\movies2\ and ran it again. It correctly found that the file had moved and updated the record in the ant file.
So please give it another go and get back to us! If it's not behaving as I described then please post logs so we can look into it.
Cheers,
OrionHall.
p.s. And yes - if you store files without the path, and configure MyFilms so it knows all the possible movie folders, then that should work too. Check the 'Discard path data' box in AMCUpdater to stop it storing the full path in the database.