|
|
072f0cca93
|
Forgot to append the tmdb endpoint to the baseurl in searchRequest
|
2017-09-20 10:46:10 +02:00 |
|
|
|
acd0a1782d
|
Changed the links from localhost to the correct global url
|
2017-09-20 10:38:10 +02:00 |
|
|
|
d9dd7ec153
|
It is now expected to get a JSON object were the items we want to display are listed in results object within, this is now reflected in the client by iterating over data.results not just data.
|
2017-09-20 10:26:30 +02:00 |
|
|
|
ae66e9a684
|
Changed variable name from movie to searchResult and now checks if the result list in the return JSON object is empty before sending a result back to client.
|
2017-09-20 10:25:01 +02:00 |
|
|
|
2d465d841e
|
Before when doing a request search we had a lot of promisses and loops within one-another, now it's more split so easier to read and better error handling if something goes wrong when looking up either in plex or tmdb api.
|
2017-09-20 10:23:36 +02:00 |
|
|
|
72d50209a5
|
Rewrote the search function in tmdb to now return a JSON object with results: (all movie/show objects), number_of_items: (count of result objects), page and total page. Split up the filtering and converting of the result from tmdb api to finished seasoned objects for better readability.
|
2017-09-20 10:21:57 +02:00 |
|