[REL] Gracenote, FreeDB, Amazon

New scripts, templates and translation files that allows to use Ant Movie Catalog to manage other things than movies
Post Reply
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

[REL] Gracenote, FreeDB, Amazon

Post by Patko »

This is time of exams, so i had plenty of time to do something else ;)
Here are two scripts, one for gracenote and other for freedb, both with amazon support for pictures. If you find them useful..well..great :)
CDDB
FreeDB
Amazon support: Amazon
Oh, layout used here is for Eyael's mod, but you can of course change it if you want to.

Regards
Last edited by Patko on 2005-07-08 13:18:40, edited 1 time in total.
showmen

picture

Post by showmen »

i make prove with this script but the cover is not working

sorry for my english
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

Changes:
- moved Amazon functions to separate unit
- now using StringUtils1, which comes with amc
- cover search first searches with string from the result from cddb/freedb but if nothing is found it tries with search string the user entered.

I hope this also solves your problem, showmen, but if not could you please tell me title of the cd for which covers are not working.

Regards
makeijan

Amazing script

Post by makeijan »

I've finally found the right way to sort my cds.

Thank you.
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

@makeijan: u r welcome :)

If there are any suggestions or problems, let me know.
makeijan

Maybe a suggestion ;-)

Post by makeijan »

I'm working on my cd database, right now. I have an old PC, so it's going to take a long time to checke them all :/

There are a few of them without cover, and a few less that doesn't appear at FreeDB. Two things then (if possible):

1.- It would be nice, to check both freedb and cddb, when there's no entry in one of them. So if an album is not on freedb, it will automatically check cddb.

2.- The same with the covers, but I don't know another big shop where to find them.

My english isn't too good, so I hope you understand what I mean.

Thank you
darts501
Posts: 21
Joined: 2005-05-29 20:47:19

Images was not imported

Post by darts501 »

could you check this script cddb and freedb andto import cove

uses
StringUtils1, Amazon; error in this line

thank you
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

check that you have stringutils1.pas and amazon.pas in your scripts folder
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

After a long time I found some time and reworked all scripts. Now you have the option to use each module independently or together, whichever you prefer. The files are here:
amazon.ifs: Amazon plugin
cddb.ifs: CDDB plugin
freedb.ifs: FreeDB plugin
cddb_freedb.ifs: CDDB & FreeDB plugin together
UAmazon.pas: Amazon core module
UCDDB.pas: CDDB core module
UFreeDB.pas: FreeDB core module
UMusicCommon.pas: Common module
You also need StringUtils1.pas, which is part of the AMC install, I think.
EDIT: Or you can just download this zip file which includes all previous files.

All .pas files are mandatory, .ifs files are plugins and you can install all of them or just one, as you like.
Please note that these scripts aren't thoroughly tested and there may (and probably are) still be bugs, so please inform me if you find one.

If you will use combined CDDB and FreeDB script then results from each will be displayed in one pick tree, each under different root. I don't think there is a way to collapse the pick tree, so you must collapse it yourself or scroll all the way down to see results from FreeDB.

Regards
Last edited by Patko on 2005-11-22 00:39:03, edited 1 time in total.
makeijan
Posts: 4
Joined: 2005-11-21 19:12:33

Post by makeijan »

Amazing work, thank you.

Anyway I found a bug, with amazon picture capturing, I always get an amazon logo as image.

Do you have any ideas?
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

Well, I hope it's fixed now. Just redownload UAmazon.pas.
makeijan
Posts: 4
Joined: 2005-11-21 19:12:33

It works like a charm!

Post by makeijan »

Thank you.

Nice job.
darts501
Posts: 21
Joined: 2005-05-29 20:47:19

error get pictures

Post by darts501 »

there was an error getting pictures from the amazon site.

i reloades de amanon.pas and dont work
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

Apparently they have changed image links. I'll try to fix it during the weekend.
darts501
Posts: 21
Joined: 2005-05-29 20:47:19

somebody to check this script

Post by darts501 »

somebody to check this script

thanks
Patko
Posts: 7
Joined: 2005-06-22 17:37:22
Location: Slovenia

Post by Patko »

Um, I'm a bit late, sorry:)
Should work now. Just get UAmazon.pas (link above) and replace the old version.
There is of course a possibility it won't work for all albums. In that case please tell me for which album it doesn't work.
makeijan
Posts: 4
Joined: 2005-11-21 19:12:33

Thanks again.

Post by makeijan »

I've had lots of discs to catalogue, and today was the day. Fortunaltely, you've fixed the Amazon problem.

Thank you.
frenchfrog_2
Posts: 14
Joined: 2006-03-01 12:44:46

Post by frenchfrog_2 »

Hello,
The Amazon and the Freedb scripts do not work anymore, could you help me ?
Post Reply