Bug 338389 - tellico does not grab all the informations from allocine
Summary: tellico does not grab all the informations from allocine
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 2.3.10
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 20:48 UTC by Olivier Delaune
Modified: 2015-02-27 01:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.3.11
Sentry Crash Report:


Attachments
Karate Kid (112.39 KB, image/png)
2015-02-25 01:31 UTC, Robby Stephenson
Details
Street Dancer (119.50 KB, image/png)
2015-02-25 01:32 UTC, Robby Stephenson
Details
How I get informations from allocine.fr (59.94 KB, image/png)
2015-02-25 06:31 UTC, Olivier Delaune
Details
First result from allocine.fr (120.17 KB, image/png)
2015-02-25 06:32 UTC, Olivier Delaune
Details
Second result from allocine.fr (75.63 KB, image/png)
2015-02-25 06:33 UTC, Olivier Delaune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Delaune 2014-08-19 20:48:16 UTC
Htllo, I have this problem with only one movie up to now: "Romeo + Juliette". I create a new entry and I type the title. Then I ask to allocine to fill me automaticaly the entry. Allocine finds the movie but tellico grabs only few informations from it. Only cover and the prouction year are filled. Also the movie duration is set to 0. Yet, more informations are available on allocine: casting, director ans so on (http://www.allocine.fr/film/fichefilm_gen_cfilm=12687.html).
Comment 1 Olivier Delaune 2014-08-22 20:03:01 UTC
Same problem with "Street Dancer", Allocine entry: http://www.allocine.fr/film/fichefilm_gen_cfilm=193822.html
Comment 2 Robby Stephenson 2014-10-11 23:56:21 UTC

*** This bug has been marked as a duplicate of bug 337432 ***
Comment 3 Olivier Delaune 2015-02-23 07:04:27 UTC
I am not sure it is really a duplicate. Indeed, bug 337432 is solved here but I still continue to grab only a few of the informations present on allocine.fr.
For example, I still grab only the cover and the year of "Street Dancer" whereas there are more information on allocine.fr (http://www.allocine.fr/film/fichefilm_gen_cfilm=193822.html) : director, starring, ...

I have the same problem with "Karaté Kid" (http://www.allocine.fr/film/fichefilm_gen_cfilm=47352.html)
Comment 4 Olivier Delaune 2015-02-23 07:04:50 UTC
I forgot to mention that I use the lastest release : 2.3.10
Comment 5 Robby Stephenson 2015-02-25 01:31:11 UTC
(In reply to Olivier Delaune from comment #3)
> I am not sure it is really a duplicate. Indeed, bug 337432 is solved here
> but I still continue to grab only a few of the informations present on
> allocine.fr.
> For example, I still grab only the cover and the year of "Street Dancer"
> whereas there are more information on allocine.fr
> (http://www.allocine.fr/film/fichefilm_gen_cfilm=193822.html) : director,
> starring, ...
> 
> I have the same problem with "Karaté Kid"
> (http://www.allocine.fr/film/fichefilm_gen_cfilm=47352.html)

I don't have a problem with either of your examples. It could be issues with the Allocine API returning different data perhaps. I'll upload screenshots from 2.3.10.
Comment 6 Robby Stephenson 2015-02-25 01:31:35 UTC
Created attachment 91283 [details]
Karate Kid
Comment 7 Robby Stephenson 2015-02-25 01:32:07 UTC
Created attachment 91284 [details]
Street Dancer
Comment 8 Robby Stephenson 2015-02-25 01:57:14 UTC
Ah, I think I discovered what you're referring to. If the order of the results from the update job is different, the link between the result and the entry to update doesn't work. I think I can fix that...thanks for updating me. I initially thought you were still writing about the actual search results.
Comment 9 Olivier Delaune 2015-02-25 06:31:05 UTC
Created attachment 91285 [details]
How I get informations from allocine.fr

Hmm, I do not think I understand what you mean. I attach some screenshot to illustrate my point. Here is how I try to grab the informations from allocine.fr. It is not the way you use (I did not know yours).
Comment 10 Olivier Delaune 2015-02-25 06:32:20 UTC
Created attachment 91286 [details]
First result from allocine.fr

Here you see that the first result works fine (all the information are there)
Comment 11 Olivier Delaune 2015-02-25 06:33:51 UTC
Created attachment 91287 [details]
Second result from allocine.fr

Here you see that the second result does not work fine (only the cover, the year are there; the film duration is wrong).
Comment 12 Robby Stephenson 2015-02-27 01:41:57 UTC
(In reply to Olivier Delaune from comment #9)
> Hmm, I do not think I understand what you mean. I attach some screenshot to
> illustrate my point. Here is how I try to grab the informations from
> allocine.fr. It is not the way you use (I did not know yours).

You're using the updater rather than the search dialog. Try the "Chercher" button in the toolbar. Your way works, it just needs more user input.
Comment 13 Robby Stephenson 2015-02-27 01:42:39 UTC
Git commit 214c855bfa6460d4dfc9603e8f73f79d5a103e79 by Robby Stephenson.
Committed on 27/02/2015 at 01:37.
Pushed by rstephenson into branch '2.3'.

Fix a bug with returning multiple allocine results and removing code

Duplicate the collection itself so that when the Allocine code field
is removed for one entry, it doesn't affect other entries.
FIXED-IN: 2.3.11

M  +27   -20   src/fetch/allocinefetcher.cpp
M  +1    -0    src/fetch/allocinefetcher.h

http://commits.kde.org/tellico/214c855bfa6460d4dfc9603e8f73f79d5a103e79