View Single Post
Old 06-04-2014, 03:59 AM   #1
Ramblurr
Member
Ramblurr began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2010
Device: Kindle
Avoiding metadata identify results merge

My metadata source plugin is creating identical results that differ only on the publisher field (so title, authors, id, are the same). But the ISBNMerge algorithm in identify.py is merging them all into one result with only the first publisher added getting chosen.

Can I affect this algorithm somehow? Is there some hijinx I can play with my Metadata object to get this algorithm not to perform the merge? It seems changing the title, author, or identifiers field would work, but, naturally, I want these to remain the same, correct, values.

This is because the webservice I'm writing a metadata source plugin for unfortunately conflates the various publishers for all editions of an item.

Example:
See this entry: http://rpggeek.com/rpgitem/44383/trail-of-cthulhu (XML)

The primary publisher is Pelgrane Press, and the two other publishers are responsible for other language translations.

In my metadata source plugin I'm adding three results, one for each publisher. The idea is the user can choose which publisher matches the version they have.

Any advice?
Ramblurr is offline   Reply With Quote