Hi all;
Searching for movie info using tmdb addon in XBMC returns empty results, even though the movie does exist. Here the search URL generated:
http://api.themoviedb.org/3/search/movie?api_key=API_KEY&query=%D8%A7%D8%A8%D9%86%20%D8%A7%D9%84%D9%82%D9%86%D8%B5%D9%84&year=&language=ar
Thank you; any assistance will be greatly appreciated.
Note that this was working fine until Thursday April 18, 2013.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on April 22, 2013 at 9:40 AM
Hi Ezzedin,
Thanks for letting me know. I have a good idea about this, and will look into it.
Reply by Ezzedin
on April 22, 2013 at 2:26 PM
Hi Travis;
Thank you. Please let me know.
Reply by balder
on April 25, 2013 at 7:01 AM
Seems like I have the same issue with any cyrillic-named movies. For instance:
http://api.themoviedb.org/3/search/movie?api_key=API_KEY&query=Стиляги&include_adult=true&language=ru
Reply by Travis Bell
on April 25, 2013 at 11:02 AM
Yup, it's the same underlying issue. All will be addressed shortly with the revamped search.
Reply by Travis Bell
on May 8, 2013 at 3:34 PM
Can you give this a try now? Should be working as expected.
Reply by derbyshire
on May 8, 2013 at 5:27 PM
Hi Travis, I have movie collections stored with the year as part of the filename (eg 1979 - alien.mp4 and 1986 - aliens.mp4) in XBMC. Scanning used to work fine until today. Now some movies are not found when searching with the year. A search for 1979 - Alien will give a result, but a search for 1986 - aliens will not. Is it possible the change you made today has affected searching with a year in the filename ?
Reply by Travis Bell
on May 8, 2013 at 5:36 PM
Indeed, I'll be pushing a fix for this year issue shortly.
Reply by Travis Bell
on May 8, 2013 at 5:49 PM
Try now, should be working.
*** Edit ***
Actually, what version of XBMC are you using?
This call here works like it should:
But I am not sure if XBMC is using the discrete
?year
param or not.Reply by derbyshire
on May 8, 2013 at 5:57 PM
Sorry, still not working (1986 - aliens is not found either from XBMC or by manual search on homepage of themoviedb.org)
Reply by Travis Bell
on May 8, 2013 at 6:00 PM
We don't support adding the year to the actual search string anymore that's why I was asking about the discrete year param. For the API it has to be present. This is the way v3 has always worked since we deployed it over a year ago, I was fairly certain XBMC is using it, at least in the latest TMDb scraper.
On the website, try searching like this:
https://www.themoviedb.org/search?query=aliens+y%3A1986
What version of XBMC are you running?
Reply by derbyshire
on May 9, 2013 at 1:44 PM
I'm using XBMC 3.7.6. and haven't changed anything in XBMC. It all worked ok until yesterday. I now have an entire library that wont scan correctly and I can't go and add y: to the file/folder names as windows doesn't support a colon in the file or folder name. What is strange is that If adding the year to the search string is not supported, how is it that https://www.themoviedb.org/search?query=1979+-+alien works, but https://www.themoviedb.org/search?query=1986+-+aliens doesn't work? Reading other posts, it seems that the change made to search function yesterday addressed a number of issues, but unfortunately caused the issue I am now facing. Is there anything you can do to help ?
Reply by Travis Bell
on May 9, 2013 at 1:55 PM
XBMC must not use the
?year=
parameter then. There is nothing we can do as this was something that had to be done deliberately in order to pave the way for a new, better search.And just clarification sake, supporting the year at the end of your search string was never something we specifically supported in v3. The only reason XBMC ever had it like this was because they migrated from our old 2.1 API where it was supported. The very first day v3 went live, we changed this in our documentation to only support a proper `?year=' parameter. And the only reason it ever worked at all was because v3 used the same search as 2.1. That was 18 months ago though, so we've given everyone ample time to update to v3 and it was time to put some of those old hacks to bed.
If you contact XBMC, they'll be able to update the scraper (usually very quickly) and get this issue sorted on their end.
Reply by Squeaky Jetpack
on May 9, 2013 at 2:31 PM
I'm using the Archos video player on my android device and it has been indexing the movies on my media server correctly up until recently, too. All my files and folders are of the form "Title (YEAR)". I noticed the non-api web search also fails to find results when using the same query format. Please fix this. Thanks!
Reply by Travis Bell
on May 9, 2013 at 2:50 PM
Hi Squeaky Jetpack ,
Please get Archos to contact us, I have no knowledge of how they are using our API (2.1 or 3). If they are using v3 this is not something we can fix, they will have to on their end.
Reply by Ezzedin
on May 14, 2013 at 12:55 PM
Thank you Travis, just tried it and it's working fine.