Automatically updating AMC database when new files are added... (1 Viewer)

Ramshackles

Portal Pro
December 10, 2007
51
0
Home Country
Denmark Denmark
Hey,

I've used your tool for a bit now, it's excellent except for the part about multi-part files. It doesn't recognize them sadly, could you have a look at it?

For example:
lotr 1of2.img
lotr 2of2.img

and the default regex: [0-9]of[0-9]

It still adds both files to the xml, bug? :)
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
Hey,

I've used your tool for a bit now, it's excellent except for the part about multi-part files. It doesn't recognize them sadly, could you have a look at it?

For example:
lotr 1of2.img
lotr 2of2.img

and the default regex: [0-9]of[0-9]

It still adds both files to the xml, bug? :)

Hiya,

Glad you like it - and yeah, sounds like a bug to me! I haven't looked at the code for this in a while, but I suspect that I didn't test the multi-part function with non-media filetypes. The processing for video files vs image files is quite different, so I guess I didn't hook the multi-part bit in there.

I'm pretty snowed under at the moment but I'll try and get it sorted for you.

Cheers,

Oliver.
 

runarius

Portal Pro
February 1, 2007
100
2
Home Country
Norway Norway
I'm getting an error message every time I try to write the xml-file.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
I'm getting an error message every time I try to write the xml-file.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)

Hi,

Hmm - that's a first. Can you please post your logfile, or just the bit after 'Starting XML update process' where it shows the parameters used? Can you confirm that you have write access to that file - i.e. can you open it directly and save it back again (in Notepad or something)?

Cheers,

OrionHall.
 

runarius

Portal Pro
February 1, 2007
100
2
Home Country
Norway Norway
Thats odd... Today it works... I must be having a virus or something. I noticed another problem the other day with file-permissions. It seems to work at random times. So most likely not a problem with this software since it occurs with other programs too. It really is strange though, this installation is pretty fresh.
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
Thats odd... Today it works... I must be having a virus or something. I noticed another problem the other day with file-permissions. It seems to work at random times. So most likely not a problem with this software since it occurs with other programs too. It really is strange though, this installation is pretty fresh.

That's great news - it wasn't my fault :D

But seriously - glad it's working and best of luck sorting out your network. If you're on a workgroup or using wifi links then I've found you can get intermittent permissions issues. On media PCs in the past I've just used a 'net use \\servername (or \\domain name) /user:blah (or domainname\username) YourPasswordHere' in a batch file on login. It ensures that you're authenticated against the remote machine and can access shares to which your account has access. The password is optional - it should prompt you for the password the first time and cache it for future use.

Cheers,

OrionHall.
 

runarius

Portal Pro
February 1, 2007
100
2
Home Country
Norway Norway
hmm... it only occurs now when there are multipart files. I tried changing the regex to something else(which won't react to any of the movies) and then it saved everything as it should. Changed it back so that some multipart files were treated as multipart files, using the standard regex, and the problem occurs. Why?
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
hmm... it only occurs now when there are multipart files. I tried changing the regex to something else(which won't react to any of the movies) and then it saved everything as it should. Changed it back so that some multipart files were treated as multipart files, using the standard regex, and the problem occurs. Why?

Hi Runarius,

I need a bit more detail to see if I can find out what's going wrong here. Can you please confirm...

- What types of files you're trying to scan.
- What extensions you've got listed in the Options dialog.
- What types of files are in multi-parts. As I think has been pointed out already, the multi-part function doesn't seem to work with non-multimedia filetypes at present.

Cheers,

OrionHall.
 

Users who are viewing this thread

Top Bottom