My metadataSource plugin return 1 book when 2 exist
Hi,
I'm trying to create a metadataSource plugin.
I've successfully been able to retreive all information from webserver.
but when 2 editions of a book exist, (same title, author, no ISBN), only one is displayed at choice time.
according to log, this seems to come from something out of my plugin :
****************************** myPlugin ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')]
Found 2 results
Downloading from myPlugin took 1.85700011253
....... I remove myPlugin logs ...........
************************************************** ******************************
The identify phase took 2.03 seconds
The longest time (1.857000) was taken by: myPlugin
Merging results from different sources and finding earliest publication dates from the xisbn service
We have 1 merged results, merging took: 0.00 seconds
Can someone help me to fix this last issue?
Thanks
Kulgan
Last edited by kulgan; 04-22-2012 at 01:16 AM.
|