Searching all plugins for EAN

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
User avatar
Rigido
Addicted to Bruji
Addicted to Bruji
Posts: 139
Joined: Mon Dec 03, 2007 8:07 am
Location: Acilia, Rome, Italy

Searching all plugins for EAN

Post by Rigido »

Ciao Conor,
I can't remember if I asked you before but:
1. From the settings I just enabled sites I need and ordered accordingly
2. From the program I tried to add a new movie and set the search panel to use all of the sites listed
3. Entered an EAN number
4. Search downloaded info from DVDweb site (the 6th) even if using just the DVDStore plugin (the first one) and setting it to search for EAN shows the same movie.

Does "All" searches just for Titles?
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Searching all plugins for EAN

Post by Conor »

The plug-ins run the default search when run as "All". I have been improving the plug-ins to detect EANs automatically when their own online search engine will not recognize it. I have updated the DVD Store plug-in to be able to detect EANs as well. It will now search for EANs no matter what the limit is set to, do please give it a try: http://beta.bruji.com/dvdpedia.zip
User avatar
Rigido
Addicted to Bruji
Addicted to Bruji
Posts: 139
Joined: Mon Dec 03, 2007 8:07 am
Location: Acilia, Rome, Italy

Re: Searching all plugins for EAN

Post by Rigido »

Will you send me the source code too? :mrgreen:
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Searching all plugins for EAN

Post by Conor »

A single line addition of || [aString isEAN] to check if the number qualifies as an EAN and set the search accordingly. Line 113 is now:

Code: Select all

    else if (aLimitNumber == MKLimitUPC || [aString isEAN]) {
        stringLimit = @"txtCodiceEAN";
    }
Post Reply