| | #1 (permalink) |
| Portal Member Join Date: Jan 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | I use AMC Updater to scan for new movies and then import the changes to my AMC XML file. It works great. I recently upgraded a hard drive and moved my files to a different drive letter. Now, when I use AMC Updater and point it to the new drive, it wants to bring in all the movies again. In AMC the source of each file is the original drive. Is there a way to change the source drive from the old drive letter to the new one without manually doing it for each movie? That could take hours. I also don't want to delete them and reimport with AMC updater because then I have to import the information from IMDB and that will take much longer. Any ideas? |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Dec 2007
Posts: 288
Thanks: 53
Thanked 8 Times in 8 Posts
Country: | If the filename doesnt change, last version of AMCupdater is able to detect it if a file has been moved and update the path. Observe the log, and if it says "moved file" before each file |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Jan 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Thanks. I did that, but it detected about half my movies as being new and wanted to import from IMDB (my selected source), even though I never changed the movie titles. This is no good because it creates duplicates. Is there a way to import all the files to AMC XML without having to use the internet parser since I've already downloaded the movie info in AMC? All I want to do is update my AMC XML file with some new listings, but since I changed the drive they're located on, it detects a bunch as new listings. I just don't want to have to reimport from IMDB all over again,and the old AMC Updater version doesn't seem to recognize the files as being NOT new. |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Dec 2007
Posts: 28
Thanks: 0
Thanked 3 Times in 3 Posts
Country: | In addition, you can also use the auto tools script for AMC (can't remember the exact name, if it's not in the SHIFT + F6 menu, look for it in the link to scripts from the AMC homepage and download it into your scripts folder). With this tool there is an option to replace text in a field. You could get it to replace all references to your old path with your new path. As z3us pointed out, your filenames would have to be unchanged. Or you could simply swap the drive letters around in disk management so your new drive takes the letter of your old drive but that's not a very professional solution, just easy.I have shared my movies folder, so instead of "D:\movies\filename.avi", it will read "\\HTPC\movies\filename.avi". So if I move to a new drive, I will just change my shared folder so that the name remains the same. |
| | |
| | #6 (permalink) |
| Portal User Join Date: Jul 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Alternatively, you could achieve this in AMC itself using scripting. I did this myself not long ago, here's my script: Code: program FindReplace;
//replace C:\ with E:\ in fieldSource string
const
WholeWord = False;
Search = 'C:\';
Replace = 'E:\';
Field = fieldSource;
var
s: string;
begin
s := GetField(Field);
if WholeWord then
begin
if s = Search then
SetField(Field, Replace);
end
else
SetField(Field, StringReplace(s, Search, Replace));
end.
|
| | |
![]() |
| Bookmarks |
| Tags |
| amc, movie, source, update |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| About: MyFilms - Use an ANT Movie Database (AMC) in MP | zebons | My Films | 22 | 2008-08-25 11:04 |
| Movie database update cannot find several movies on IMDB | Al_Capone | 0.2.3.0 RC2 and SVN Builds | 11 | 2007-10-10 17:27 |
| (original thread) MyFilms v3.1 - Use an ANT Movie Database (AMC) in MP | zebons | My Films | 201 | 2007-02-12 09:27 |
| update movie database | Niclas75 | The old Bugreport Forum | 4 | 2006-06-07 08:47 |
| UI Improvement: Movie DB update in Configuration | samuel337 | The old Bugreport Forum | 0 | 2006-03-04 07:46 |