Version 3.5 - Final version released
A small preview of the debug functions that I am adding in version 3.5:
http://img75.exs.cx/img75/3043/watchlist6co.png
http://img75.exs.cx/img75/3043/watchlist6co.png
Last edited by antp on 2005-01-02 19:38:57, edited 1 time in total.
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.
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.
-
- Posts: 13
- Joined: 2003-02-07 22:48:02
For the new year, here is the new beta of AMC 3.5
What has been added since beta 2:
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 )
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").
What has been added since beta 2:
About IMDB script:- 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
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 )
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").
bug with rating in 3.5 beta2
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.
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.
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
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
Great, thanks.. now it works just splendidantp 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)
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
IMDB script bug - actors
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.
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.
Re: IMDB script bug - actors
That's my fault ; I modified something without testing it again.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
To correct it, at lines 165/166 remplace this:
Code: Select all
if Value3 <> '' then
FullValue := FullValue + ' (' + Value3 + ')';
Code: Select all
if Value2 <> '' then
FullValue := FullValue + ' (' + Value2 + ')';
I'll reupload the file on the temp/scripts_v350 folder, but the .RAR file will be updated later.
That's exactly what the option 2 should do... when it worksAnonymous 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.
If you want the word "as" to be added, modify the second line by:
Code: Select all
FullValue := FullValue + ' (as ' + Value2 + ')';
Some bugs and thoughts
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
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
Re: Some bugs and thoughts
I did that a little too fastelman wrote: - typo in statistics - general informations - 'Totsl numbers of discs' -> should be 'total'
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: - also total movie length could be interesting
That's a bug in Delphi or Win32 that exists since lots of timeelman 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
Yes. Currently it centers the window on screen, but that would be better to remember the position.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)
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 )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)
Re: Some bugs and thoughts
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:Yes. Currently it centers the window on screen, but that would be better to remember the position.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)
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 )antp wrote: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 )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)
Re: Some bugs and thoughts
Maybe you're right, it may use windows default position, so in cascading style.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.
I think that there is nothing in Delphi for that. Maybe in the latest version (Delphi 2005) but I use Delphi 7.elman wrote: Hmm.. I thought it would be easier to implement. For example PHP has bunch of functions for it.
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).elman wrote: Can't you just use OS's sorting methods?
I'll search in the MSDN for that.
problem with grid display
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.
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.