Version 3.5 - Final version released

Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Here is it:
http://http2.antp.be/antp/temp/convert350to343.exe

Simply drag & drop the ".amc" file on it, it will make a backupt to a ".old" file and save the ".amc" file in 3.3/3.4 format.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

A small preview of the debug functions that I am adding in version 3.5:

http://img75.exs.cx/img75/3043/watchlist6co.png
Last edited by antp on 2005-01-02 19:38:57, edited 1 time in total.
joly
Posts: 12
Joined: 2004-12-29 11:45:03

Post by joly »

edited by Joly
Last edited by joly on 2004-12-30 23:12:32, edited 1 time in total.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Sorry I do not understand your question :??:
joly
Posts: 12
Joined: 2004-12-29 11:45:03

Post by joly »

I have a list of > 1000 movies
So i'm looking for a way to find duplicates, and i was wondering why i couldnt group it on the link/url i got from imdb.

Or perhabs there is another way of finding duplicates i havent discovered yet.

edit: Perhabs it could be added to the program. So it was first ment as a Suggestion

I now adjusted the find duplicate script in 3.43 so it searches for duplicate urls, but perhabs this could simply be added.
Last edited by joly on 2004-12-30 23:38:54, edited 2 times in total.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I did not include in grouping the fields that were not interesting to group.
For finding duplicates there isn't really anything in the current program.

Why did you post this question in this topic actually ?
UPollaehne
Posts: 13
Joined: 2003-02-07 22:48:02

Post by UPollaehne »

antp wrote:A small preview of the debug functions that I am adding in version 3.5:
Yeah, yeah, this looks really good. :)

A happy new year to all of you.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

For the new year, here is the new beta of AMC 3.5 :D

What has been added since beta 2:
- Debug system for scripts : step by step, step over, variable evaluation & watch list, etc.
- Scripting engine can now use external files : when you put a unit name in the "uses" of a script (.ifs file) it will search for a file named like this unit and having a .pas or .ifs extension. See the IMDB script for sample.
- .AMC to .XML conversion : now the picture filename depends of your choices in Preferences, like for image importations
- Stats: number of disks
- Minor bug fixes
About IMDB script:
I completely rewrote the IMDB script to use the new features of AMC 3.5 and correct lots of problems.
Tomorrow I will try to convert it to version 3.4.3
I added a possibility for searching the large picture on IMDB itself, since it is sometimes possible to find it. The picture search on Amazon does not work all the time (well, like before :D)
If you find problems with the script OTHER THAN PROBLEMS RELATED TO LARGE PICTURES you can report them (e.g. no "the IMDB script does not find large picture for movie XYZ").
elman

bug with rating in 3.5 beta2

Post by elman »

Hi, I tried new AMC 3.5b2 and found a problem with rating. When I opened my collection all movies had rating of 10,0. I changed it so that I would only get integers, but still all movies had rating of 10. Then I saved .xml to have version 3.5, and when I reopened the file, still all movies had rating of 10. When I looked into .xml, movies had various ratings eg (10, 20, 30...), so I guess it was all right. Any thoughts?

I haven't done any further testing, since I was waiting for 3.5 IMDb script. So I'm installing beta 3 right now :)

Anyway great work with scripting, it would be now so easy to update all movies when new fields arrive. :grinking:
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,

Thanks, you are right: there is a bug.
It happens when you open a .xml file of version previous to 3.5, it converts the rating two times so it was 10 times too big (internally now it uses a rating 0-100, stored like that in the .amc file, but stored as 0-10 in the .xml file)

I re-uploaded a corrected version ;)
elman
Posts: 226
Joined: 2005-01-03 09:05:35

Post by elman »

antp wrote: Thanks, you are right: there is a bug.
It happens when you open a .xml file of version previous to 3.5, it converts the rating two times so it was 10 times too big (internally now it uses a rating 0-100, stored like that in the .amc file, but stored as 0-10 in the .xml file)
Great, thanks.. now it works just splendid :)
And all ratings are now saved as integers 0-10. Before I also noticed that newly added movies had correct ratings, so I was gonna post a note about that, but you outran me ;)
Guest

IMDB script bug - actors

Post by Guest »

The 2 options below don't work for me:
2=Actors names with character names between parenthesis separated by commas
3=Actors names with character names between parenthesis separated by linebreaks

Only the actors names are imported from the imdb (without character names between parenthesis).
Also it would be nice to have other option:
actor name (as character name)
Earlier versions of IMDB script had it so my database was created using such actors pattern.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: IMDB script bug - actors

Post by antp »

Anonymous wrote:The 2 options below don't work for me:
2=Actors names with character names between parenthesis separated by commas
3=Actors names with character names between parenthesis separated by linebreaks
That's my fault ; I modified something without testing it again.
To correct it, at lines 165/166 remplace this:

Code: Select all

            if Value3 <> '' then
              FullValue := FullValue + ' (' + Value3 + ')';
by this:

Code: Select all

            if Value2 <> '' then
              FullValue := FullValue + ' (' + Value2 + ')';
(it was taking the wrong variable so of course the character name was never found :D)
I'll reupload the file on the temp/scripts_v350 folder, but the .RAR file will be updated later.
Anonymous wrote: Also it would be nice to have other option:
actor name (as character name)
Earlier versions of IMDB script had it so my database was created using such actors pattern.
That's exactly what the option 2 should do... when it works ;)
If you want the word "as" to be added, modify the second line by:

Code: Select all

              FullValue := FullValue + ' (as ' + Value2 + ')';
Guest

Re: IMDB script bug - actors

Post by Guest »

Thx. It's working now :)
elman
Posts: 226
Joined: 2005-01-03 09:05:35

Some bugs and thoughts

Post by elman »

Hi,

yesterday I looked at v3.5 b3 and found some stuff:

- typo in statistics - general informations - 'Totsl numbers of discs' -> should be 'total' ;)
- also total movie length could be interesting
- when I resize main window, fields 'Source', 'Audio Format' and 'Languages' change colors as if selected, but they are not, since they don't have focus
- could it be possible to remember window positions? I don't use AMC in fullscreen, so I have to move window every time I launch Ant Catalog (and that's really often)
- is it possible to use 'natural sort algorithm' for text fields (like 'Media Label', so that 'DVD 14' comes after 'DVD 2') and numeric sort for numeric fields ( like 'Length' or 'File sizes' so that size 6300 Mb comes after 670 Mb and not before)

Keep up great work, Elman
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: Some bugs and thoughts

Post by antp »

elman wrote: - typo in statistics - general informations - 'Totsl numbers of discs' -> should be 'total' ;)
I did that a little too fast :D
elman wrote: - also total movie length could be interesting
Really ? I can add it but I did not know it would interest somebody (well, it can be funny to see for how many days of movies you have)
elman wrote: - when I resize main window, fields 'Source', 'Audio Format' and 'Languages' change colors as if selected, but they are not, since they don't have focus
That's a bug in Delphi or Win32 that exists since lots of time
elman wrote: - could it be possible to remember window positions? I don't use AMC in fullscreen, so I have to move window every time I launch Ant Catalog (and that's really often)
Yes. Currently it centers the window on screen, but that would be better to remember the position.
elman wrote: - is it possible to use 'natural sort algorithm' for text fields (like 'Media Label', so that 'DVD 14' comes after 'DVD 2') and numeric sort for numeric fields ( like 'Length' or 'File sizes' so that size 6300 Mb comes after 670 Mb and not before)
I know that Windows XP uses that for listing files, but I would have to search Delphi code that does that (or write it myself, but I do not really know how I should do that :D)
elman
Posts: 226
Joined: 2005-01-03 09:05:35

Re: Some bugs and thoughts

Post by elman »

antp wrote:
elman wrote: - could it be possible to remember window positions? I don't use AMC in fullscreen, so I have to move window every time I launch Ant Catalog (and that's really often)
Yes. Currently it centers the window on screen, but that would be better to remember the position.
Centers? Really? Because sometimes window opens partly off the screen. If it would be centered, it would be ok with me. On my computer window opens just like modal windows do. In that cascading style.
antp wrote:
elman wrote: - is it possible to use 'natural sort algorithm' for text fields (like 'Media Label', so that 'DVD 14' comes after 'DVD 2') and numeric sort for numeric fields ( like 'Length' or 'File sizes' so that size 6300 Mb comes after 670 Mb and not before)
I know that Windows XP uses that for listing files, but I would have to search Delphi code that does that (or write it myself, but I do not really know how I should do that :D)
Hmm.. I thought it would be easier to implement. For example PHP has bunch of functions for it. Can't you just use OS's sorting methods? (You know, I only program in scripting languages like perl, php, asp, so I have no idea what can be done with Deplhi or such ) :D
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: Some bugs and thoughts

Post by antp »

elman wrote: Centers? Really? Because sometimes window opens partly off the screen. If it would be centered, it would be ok with me. On my computer window opens just like modal windows do. In that cascading style.
Maybe you're right, it may use windows default position, so in cascading style.
elman wrote: Hmm.. I thought it would be easier to implement. For example PHP has bunch of functions for it.
I think that there is nothing in Delphi for that. Maybe in the latest version (Delphi 2005) but I use Delphi 7.
elman wrote: Can't you just use OS's sorting methods?
As I said, it was introduced by Windows XP so if methods exist it will only work on XP. But it may be interesting anyway to use them, since there are more and more people that have XP, they could use this function (the others still have the classic sort).
I'll search in the MSDN for that.
xavierd

problem with grid display

Post by xavierd »

I tested the 3.5b3, i love it.
You're still doing a great job !
I'm using amv every day to deal with my +1000 film collection.

I encounter a problem with the beta :
When using the grid display, the column titles are out of line with the content.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

you are right : I modified some columns but I forgot to make the same change to the headers :D
Post Reply