AMC Updater v0.7.3 Now Available! (1 Viewer)

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
Hi again, sorry that I didn;t mention it in previous post. the parser i'm using is: MyFilmsIMDB.xml

Confirmed - it's a bug. With the latest code and with 0.7.3 I get '968/' instead of '1968' - I hadn't noticed! I think the bug is in the Internet grabber so I've asked for help with that. Hopefully it can be fixed with a new IMDB xml file.

Thanks,

Orion.
 

zebons

Portal Pro
January 2, 2006
1,484
114
Hi again, sorry that I didn;t mention it in previous post. the parser i'm using is: MyFilmsIMDB.xml

Confirmed - it's a bug. With the latest code and with 0.7.3 I get '968/' instead of '1968' - I hadn't noticed! I think the bug is in the Internet grabber so I've asked for help with that. Hopefully it can be fixed with a new IMDB xml file.

Thanks,

Orion.
Try with that file.:oops:
 

Attachments

  • MyFilmsIMDB.xml
    30.6 KB

arryo

Portal Pro
July 12, 2008
162
4
Hi again, sorry that I didn;t mention it in previous post. the parser i'm using is: MyFilmsIMDB.xml

Confirmed - it's a bug. With the latest code and with 0.7.3 I get '968/' instead of '1968' - I hadn't noticed! I think the bug is in the Internet grabber so I've asked for help with that. Hopefully it can be fixed with a new IMDB xml file.

Thanks,

Orion.
Try with that file.:oops:


it works great! thanks
 

skullmonkey

New Member
September 1, 2008
4
0
It crushes after the Import is done:

1. When I open AMC while AMC Updater is opened;
2. When I close (or X) AMC Updater;
3. After ~40sec by itself.

I have Vista x64 SP1.

Best regards, Skullmonkey
 

jamieo

Portal Member
June 30, 2007
20
0
Home Country
England England
I've done a fair bit of reading and testing, but there doesn't appear to be a way to do this without a huge amount of changes. I think this is partly because I'm using the .Net cheap-and-cheerful multithreading in the form of the BackgroundWorker class.

Hi, regarding the cross thread stuff, window messaging doesn't care about any of that - it how windows works, whether those windows are in the same thread, app or OS. For instance, I could make a small app that activates the windows in your app so I'm sure your app should be able to do the same with it's own windows. This can be done with any programming language with basic access to the WinAPI, even by something like the AutoHotkey script language.

.Net should have it's own wrapper around SetWindowPos but at the very least you can use PInvoke to invoke the WinAPI directly - I believe one of the properties of a .Net window is it's window handle for use with the WinAPI, if not then you would have to get this by searching for the window title or similar.

All this is independent of thread etc. so it shouldn't matter. However, it's not a big issue - I just know that it is possible to implement as the core WinAPI functionality provides for it.

Btw, for proper cross threaded gui stuff you should look into delegates and control.invoke etc. However, while it would solve this problem there is a steep leaning curve and, as I said before, it's overkill when simple window messaging is all that's required.

Anyway, any chance of an updated exe? It's annoying to have to keep deleting those extra covers!

Jamie
 

z3us

Portal Pro
December 4, 2007
1,047
123
46
Home Country
Spain Spain
Bug?: If I select "FileName" in the "original title hanling" selector, the new files are not processed
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
It crushes after the Import is done:

1. When I open AMC while AMC Updater is opened;
2. When I close (or X) AMC Updater;
3. After ~40sec by itself.

I have Vista x64 SP1.

Best regards, Skullmonkey

Hi Skullmonkey,

I don't have Vista x64 available for testing I'm afraid. If the app crashes when you just run the program and don't do anything else then there's something seriously wrong! Maybe try running it in compatibility mode? I use Vista x86 and have no such problems.


Hi, regarding the cross thread stuff, window messaging doesn't care about any of that - it how windows works, whether those windows are in the same thread, app or OS. For instance, I could make a small app that activates the windows in your app so I'm sure your app should be able to do the same with it's own windows. This can be done with any programming language with basic access to the WinAPI, even by something like the AutoHotkey script language.

Thanks again Jamie. Definitely one for the back-burner though - I consider the WinAPI something for 'proper' programmers :) It also occurs that I'd need to rejig the 'cancel import' system since you wouldn't be able to hit the cancel button if the Internet Lookup box was modal! Maybe at some point.

Bug?: If I select "FileName" in the "original title hanling" selector, the new files are not processed

Hmm - not much info there sir! I can't tell what might be wrong from that, but try the latest exe and see if it works for you. If not then please explain what you were expecting to happen, what actually happened, and what settings you were using.

Attached is the current development version of AMC Updater. As usual, please report any problems in this thread.

Cheers,

Orion.
 

biship

Portal Pro
June 14, 2008
98
39
Using 0.8beta.
Is it supposed to allow me to import img files and dvd folders? I have iso;img in accepted non-media files as well as check for dvd copies in folders. It finds all my avi's fine, but doesnt give my the IMDB popup to allow me to search for and add the iso's/dvd folders.

9/6/2008 3:25:35 PM - File Found - Winsor Pilates.avi
9/6/2008 3:25:35 PM - File Found - Zodiac CD1.avi
9/6/2008 3:25:35 PM - File Found - Zodiac CD2.avi
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - Processing Movie Folder - Done - 110 files found.
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - Finding Orphaned Movies (not in XML file)
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - Orphaned File : Def Leppard - The Sparkle Lounge.iso
9/6/2008 3:25:35 PM - Orphaned File : Lost S2 DVD1.iso
9/6/2008 3:25:35 PM - Orphaned File : Lost S2 DVD2.iso
9/6/2008 3:25:35 PM - Orphaned File : Lost S2 DVD3.iso
9/6/2008 3:25:35 PM - Orphaned File : Lost S2 DVD4.iso
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S2D4\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S2D5\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S2D6\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S3D1.img
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S3D2.img
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S3D3.img
9/6/2008 3:25:35 PM - Orphaned File : Prison Break S3D4.img
9/6/2008 3:25:35 PM - Orphaned File : Rocky Horror Picture Show Bonus Disc\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - Orphaned File : Rocky Horror Picture Show\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - Orphaned File : Stand By Me\VIDEO_TS\VIDEO_TS.IFO
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - Processing Complete - Found 0 Multi Part Files Entries.
9/6/2008 3:25:35 PM - Processing Complete - Found 0 to be Updated Entries.
9/6/2008 3:25:35 PM - Processing Complete - Found 15 Missing Entries.
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - Finding Missing Files (In XML file, not on hard disk)
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - Processing Complete - Found 0 Missing Files.
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - Starting XML update process.
9/6/2008 3:25:35 PM - FilePath : C:\Program Files\Ant Movie Catalog\Catalogs\nicks.xml
9/6/2008 3:25:35 PM - ParserPath : C:\Program Files\AMC Updater\Scripts\MyFilmsIMDB.xml
9/6/2008 3:25:35 PM - ExcludePath : C:\Program Files\AMC Updater\AMCUpdater_Excluded_Files.txt
9/6/2008 3:25:35 PM - MoviePath : D:\Multimedia\HTPC\Movies\
9/6/2008 3:25:35 PM - OverridePath :
9/6/2008 3:25:35 PM - Store Short Names : False
9/6/2008 3:25:35 PM - OverwriteFlag : True
9/6/2008 3:25:35 PM - BackupFlag : True
9/6/2008 3:25:35 PM - MediaType : HDD
9/6/2008 3:25:35 PM - MediaLabel : Server
9/6/2008 3:25:35 PM - SourceField : Source
9/6/2008 3:25:35 PM - PurgeMissing : True
9/6/2008 3:25:35 PM - Import on Internet Lookup Failure : True
9/6/2008 3:25:35 PM - Starting file analysis and import - 15 orphaned files found.
9/6/2008 3:25:35 PM - Backing up xml file.
9/6/2008 3:25:35 PM - Backing up xml file - done.
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - Processing Files.
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - ---------------------------------------------------------------------------------------------------
9/6/2008 3:25:35 PM - File Import Complete - 0 files loaded.
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - Removing Missing Files from Database
9/6/2008 3:25:35 PM - Writing changes to XML file
9/6/2008 3:25:35 PM - ===================================================================================================
9/6/2008 3:25:35 PM - XML update process complete.
9/6/2008 3:25:35 PM - ===================================================================================================
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
Using 0.8beta.
Is it supposed to allow me to import img files and dvd folders? I have iso;img in accepted non-media files as well as check for dvd copies in folders. It finds all my avi's fine, but doesnt give my the IMDB popup to allow me to search for and add the iso's/dvd folders.

Hiya,

I just tested ISO and DVD image import. That bit works for me, though there was a bug in getting the correct movie title for a file such as "Prison Break S2D4\VIDEO_TS\VIDEO_TS.IFO". I'll post a new beta release with that bugfix soon.

Only one thing occurs which might be the problem - what came before the ISO files in your import? Your log shows 15 missing entries, but there's only 13 files listed. If the import failed (internal exception) on the first file, then it would just give up and report 'no files imported'. I admit the error handling there could be improved!

If the two missing files are also .ISO or VIDEO_TS.IFO then I'll have to think again. If however they're .avi or anything else, then it could be that. Could you please check and try the Tests tab to analyse those two other files?

Finally, please confirm what settings you have for "Accepted Media Files" and "Accepted Non-Media Files". Could be nothing, but worth checking.

Thanks,

Orion.
 

Users who are viewing this thread

Top Bottom