- Moderator
- #1
I noticed that when multiple matches are compared in the action name="search" section of the scraper, the last match seems to be auto-approved. The web site I'm grabbing from already does a good job of placing the correct movie first so I'd like this logic to be reversed.
Example scanning for "Jabberwocky" the scraper builds the match list:
and auto-approves the last 0 result:
Is there a way to change this logic to instead prefer the first result 0 (movie[0], Stackars Dennis)?
I'm using Moving Pictures 0.7.5.
Example scanning for "Jabberwocky" the scraper builds the match list:
Code:
movie[0].title = Stackars Dennis
movie[0].alternate_titles = Jabberwocky
movie[0].year = 1977
movie[1].title = Jabberwocky
movie[1].alternate_titles = Zvahlav aneb Saticky Slameného Huberta
movie[1].year = 1971
movie[2].title = ?vahlav
movie[2].year = 2006
movie[2].alternate_titles = |Jabberwocky
Code:
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: 'stackars dennis', Result: 13
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: 'jabberwocky', Result: 0
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: 'jabberwocky', Result: 0
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: 'zvahlav aneb saticky slameneho huberta', Result: 33
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: '?vahlav', Result: 11
10-Oct-2009 15:41:17 Debug [ MovieSignature]: Compare: 'jabberwocky', With: 'jabberwocky', Result: 0
10-Oct-2009 15:41:17 Info [ MovieImporter]: Auto-approved Jabberwocky.avi as ?vahlav
Is there a way to change this logic to instead prefer the first result 0 (movie[0], Stackars Dennis)?
I'm using Moving Pictures 0.7.5.