ochurlaud / macaw-movies

Movie collection manager, for movie lovers. Qt/C++/Sqlite |
GNU General Public License v3.0
26 stars 4 forks source link

OMDb is unusable #68

Closed ochurlaud closed 9 years ago

ochurlaud commented 9 years ago

I was trying to design the requests to send to OMDb with a practical example:

I have

1962- The Man who shoot Liberty Valance part2

STEP 1 - Remove all words not matching #^[À-Ÿà-ÿA-Za-z]*$#, we get :

The Man who shoot Liberty Valance

STEP 2 - Try it. If it doesn't work try without word#1, if doesn't without word#2....

Here the problem is that the real title is

The man who shot Liberty Valance

with preterit. So I expected

The Man who Liberty Valance

to work.

It 's not the case, because you need the title with the good words at the good place.

Therefore I think we need another database or to build one (it doesn't seem difficult to do)

SebastienTouze commented 9 years ago

Well, I've made a few tests. It's a bit more complex. You can use "" as a wild card and search for example : The man who (with no space after the who) In this case you get something (but no the right movie).

The main issue I think here is that we only get only one movie. Moreover, the search in the DB is nvery slow.

I think this DB can be of some use (and as I don't feel like building a new move database from scratch) but we need a better API. The website says it's cc-by but I don't see where you can access API code to improve it.

Didn't you try and contact the admin of the site ?

ochurlaud commented 9 years ago

Yep, he doesn't care.... And it's not opensource.

A friend of mine told me about TMDb. I tried it, it's really better, multilanguage, opensource... Whatever you dream of, it does (except cafe, but...) http://www.themoviedb.org/

ochurlaud commented 9 years ago

Done... To be improved, but the base is there