Hi!
I have been making a few requests to both the website and API and it seems like there's an issue with apostrophes; let me explain: If i search any movie title and suppress apostrophe, themoviedb doesn't return any result: ex: L'Ecume des jours -> returns a result L ecume des jours -> doesn't
De battre mon coeur s'est arrete -> return a result De battre mon coeur s'est arrete -> doesn't
La vie d'Adele -> returns a result La vie d Adele -> doesn't
Is that an expected behavior? Thanks for your answer!
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2014 年 05 月 01 日 12:21下午
Hey celestianx,
I happened to be in looking at a few other little search issues and was able to look at this one. These following queries are now working:
The API results won't start showing up until the API cache has expired (~6 hours or so).
Cheers.
celestianx 的回复
于 2014 年 05 月 02 日 2:21上午
Hi Travis! Thanks for the quick fix. Now, results are showing up perfectly!
Following you response, I would only add a comment: I can see you added support for 'lecume des jours'. From a linguistic perspective, its like you're being permissive and expect some results to be returned if someone were searching "thedark knight".
Maybe you do have some reasons for that case to be supported or maybe it comes with the support of others but just wanted to let you know because since it's only 1 letter in french, it might means another word in some rare cases. Just to let you know! Thanks again for the support.
Cheers.
Travis Bell 的回复
于 2014 年 05 月 02 日 8:53上午
Hi celestianx,
No problem.
I didn't actually "add" this per-say. This one always worked, I was just pointing it out. Solr (our search server) automatically tokenizes strings with common delimiters like commas, dashes and apostrophes. It's always been this way. :D
celestianx 的回复
于 2014 年 05 月 02 日 11:32上午
Ok! You may start finding me annoying but I don't know if it may be related or not: yesterday, it seemed like if I was searching for da vincis demons, greys anatomy, it would work. Today, it isn't. It does make sense anyway but was wondering...
Travis Bell 的回复
于 2014 年 05 月 02 日 6:43下午
Hi celestianx,
It should be working now.
Christophe 的回复
于 2016 年 10 月 17 日 9:46上午
Hi!
it seems that it does not work. French titles and apostrophee does not work, especially "L Ecume des jours" and other french titles like "Le secret d'Elise" -> "Le secret d Elise". Do you change anything?
Thanks for your answer!
Samara 的回复
于 2016 年 10 月 17 日 10:10上午
Do you mean searching for french titles? Try to leave the apostrophees this works for me
Christophe 的回复
于 2016 年 10 月 17 日 10:14上午
Try to search in the search bar (same with api) "Le secret d elise" without the apostrophe of course and there is no results. Then try "Le secret d'Elise" with the apostrophe and find one result.
Travis Bell 的回复
于 2016 年 10 月 17 日 10:35上午
Hi @killerangel
Yes, there was a change. I'll make sure these French versions are accounted for.
Christophe 的回复
于 2016 年 10 月 18 日 9:11上午
Hi Travis, Thanks for your answer. Do you know when are the french versions accounted ?
Travis Bell 的回复
于 2016 年 10 月 24 日 11:23上午
Hi Christophe,
The fix for this is live. Thanks for your patience.
docjl74 的回复
于 2016 年 10 月 26 日 9:20上午
Question for Travis, if you look at this thread: http://forum.kodi.tv/showthread.php?tid=108954 do you have any insight if the sorting issue discussed over there could actually originate from tmdb at all?
Travis Bell 的回复
于 2016 年 10 月 26 日 11:52上午
Hi @docjl74,
My only insight is that sorting by alphabet can be a surprisingly complex problem, especially when you're dealing with multiple languages and the entire unicode range. I'm sure Kodi is just sorting by the Unicode value but that doesn't necessarily correspond to what the proper "human order" would be. Based on that post, it's a 100% client side issue, so it has nothing to do with TMDb. scott967 is pretty much bang on, if I was to guess.
docjl74 的回复
于 2016 年 10 月 26 日 11:56上午
Thanks, and since the issue is over 5 years old, I guess we need to "live with it".