opendb
opendb copied to clipboard
Problems with amazon
I installed a new copy of the opendb 1.6.0beta4. I also installed the amazonde site plugin (even tried it with amazon). Whe i create a new item, i can search for it and it's found. But if i choose one of the found items, the input form for the film is empty. So only the title is filled in, with the term, which i searched. With imdb, it works. Do i need to do more setup or sth like that or is it out of order?
Most likely the format has changed. Please provide some sample searches which fail and I will take a look
Ok. So for Example: The Titles were correctly added
Searching for "Men in Black" 3 : http://www.amazon.de/exec/obidos/ASIN/B0085J9KWC
"Hilfe Dinosaurier": http://www.amazon.de/exec/obidos/ASIN/B00KDFLZWO
Der "Hobbit": Smaugs Einöde: http://www.amazon.de/exec/obidos/ASIN/B00HCEP2Y6
Are these the things, you needed to know?
Perfect I will take a look and see if I can fix the plugin
I'm having trouble when doing a search with ISBN13 UPC (e.g. 9780553564938) I get "No Matches Found", This seems to always happen currently.
I'm unsure: if the problem get's fixed, you'll post it here, right?
I will. I have a 8 week old son and a 4yo son so time is a commodity I don't have a lot of. I will try to look at this this week
No problem, i have a 18 month old son, too. I just saw there some changes in the repository with this issue number, so i was unsure if i get a message if it's fixed :-)
The pull request submitted by Utopiabound which I merged, does not actually deal specifically with your bug. I am not sure why he referenced this bug number, probably a typo.
Ok - so they have completely revamped the amazon web site since this plugin was last written. It's no wonder it does not return any info anymore. I will work on the amazon.com and amazon.co.uk site, but I am not multilingual so I am not sure how well I will do for the non english sites.
Actually I was mistaken, it seems that we are taken to the Instant video result page by default now. The original DVD page still is there. So the search results return results for instant video as well, which is probably the titles you clicked on. I will see about excluding them from the results.
Hm... are you sure? The upper links seem to me to be the normal links of the DVDs... but maybe i'm wrong...
Do you know something new?
No the problem is actually that the search results return links for streaming media as well which has completely different format. The layout of DVD bluray etc remains same. I don't know how to filter out the streaming results and have not had chance to get back to it
Hm... what format do you expect? I tried the links above and i got this (http://www.amazon.de/exec/obidos/ASIN/B00HCEP2Y6):
and i think, this should be the required information:
I don't have much time for fixing site plugins at the moment.
Ok. If i can help anyway, just tell me :-) i have a little experience in php-development.
I added code to ignore the amazon streaming video options from search. Give it a go.
I replaced the file amazon.class.php and i also tried to reinstall the plugin. But it doesn't work. Do i need to do anything more?
That should be all you need. I had only tested USA site.
Oh I only dealt with search results. Not exact matches. I will take another look
Ah, ok. Thank you!
Hi, i searched a little bit and i think i found the problem or one of it: In line 585 of the amazon.class.php is the following: $this->addItemAttribute('actors', parse_amazon_video_people("Actors", $pageBuffer)); So, this works only for the english site, because in germany (or amazon.de) it's not "Actors" but "Darsteller". So if i change it this way: $this->addItemAttribute('actors', parse_amazon_video_people("Darsteller", $pageBuffer)); i have the Actors filled by the plugin.
I did a quick and dirty fix, so i just replaced the english-lines with german ones. If you want, i can send it to you, or create a table or so, with the english and german fieldnames.
that would be great.
On Wed, Dec 10, 2014 at 12:17 AM, selfarian [email protected] wrote:
I did a quick and dirty fix, so i just replaced the english-lines with german ones. If you want, i can send it to you, or create a table or so, with the english and german fieldnames.
— Reply to this email directly or view it on GitHub https://github.com/pellcorp/opendb/issues/67#issuecomment-66280737.
Ok, here it is: Genres - n/a (i think it's not longer available on .com and .de) Actors - Darsteller Directors - Reggisseur(e) Region - Region (it's the same, but Blu-rays have "Alle Regionen" = "all regions" Aspect Ratio - Bildseitenformat Number of Discs - Anzahl Disks Rated - FSK Studio - Studio DVD Release Date - Erscheinungstermin Run Time - Spieldauer anamorphic - n/a THX Certified - n/a Language - Sprache (i think here's some more modification needed) Subtitles - Untertitel DVD Features - n/a
IMBD ID is not available maybe there's another way to get it...
Another Question i have: Is it possible to get the android app? Or is it stopped? I didn't find a link or a way to join the google group.
Thank you very much!
The android app is on a break I don't have much time to devote to it. Two kids can do that including a 5 month old baby :-)
Ok. I know what you mean, mine is 21 month :-)
I'm unsure if i should open another bug or to post it here. It regards the amazon plugin, too. If i try to search for an asin (barcode) i get an "unknown error" when i click on search. Here's a example of a german asin: 888430489899