Logo
Explore Help
Sign In
KevinMidboe/seasonedShows
1
0
Fork 0
You've already forked seasonedShows
Code Issues 20 Pull Requests 2 Packages Projects Releases 8 Wiki Activity

Search request #29

Merged
KevinMidboe merged 6 commits from searchRequest into master 2017-09-20 08:49:29 +00:00
Conversation 0 Commits 6 Files Changed 4 +190 -50

6 Commits

Author SHA1 Message Date
KevinMidboe
072f0cca93 Forgot to append the tmdb endpoint to the baseurl in searchRequest 2017-09-20 10:46:10 +02:00
KevinMidboe
acd0a1782d Changed the links from localhost to the correct global url 2017-09-20 10:38:10 +02:00
KevinMidboe
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
KevinMidboe
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
KevinMidboe
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
KevinMidboe
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
Powered by Gitea Version: 1.25.3 Page: 39ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API