|
|
18359f442c
|
Mapped results in tmdb now returns the complete json object so not needed to be created before sent. When getting all requested movies and shows it is now possible to only get one page at a time.
|
2018-03-20 21:17:41 +01:00 |
|
|
|
42b8b5ea0e
|
Removed a )
|
2018-03-20 20:15:28 +01:00 |
|
|
|
9e145f7068
|
When testing we dont have api access so we create cache entries before each request. The cache key changed so this is now updated in the tests and tmdb.
|
2018-03-20 20:12:49 +01:00 |
|
|
|
6a7b427ef3
|
Changed cache TTL to 3 hours.
|
2018-03-08 10:36:13 +01:00 |
|
|
|
1d8a72429d
|
Merge branch 'api' of github.com:KevinMidboe/seasonedShows into api
|
2018-02-07 15:53:52 +01:00 |
|
|
|
528cbed30f
|
Wasn't getting all the items because some elements do not have a media_type
|
2018-02-07 15:53:27 +01:00 |
|
|
|
7ee3ace83b
|
Removed unused semicolon
|
2018-02-07 15:44:24 +01:00 |
|
|
|
ad4fa9d95a
|
Fixed issue with types not being upheld when converting from tmdb objects.
|
2018-02-07 15:40:39 +01:00 |
|
|
|
f0476b2890
|
Merge pull request #80 from KevinMidboe/linting
Linting
|
2018-02-07 14:24:43 +01:00 |
|
|
|
3ca3c06824
|
Removed static tag in tmdb functions.
|
2018-02-07 14:13:50 +01:00 |
|
|
|
81aeed86ef
|
Linted all pirate, git, tmdb and searchHistory scripts.
|
2018-02-07 13:51:42 +01:00 |
|
|
|
6fd65fdb23
|
Refactoring where now we can search lists and lookup movies or shows by using the new tmdbMethod function which takes the api endpoint variable and type to return the appropriate tmdbMethod name for the matching api call to tmdb. Removed a lot of the globally defined variables.
|
2018-02-07 13:42:46 +01:00 |
|
|
|
7e874bbc9d
|
Now our convert scripts use our new plex and tmdb classes. Also compacted and abstracted a lot of the code here.
|
2018-02-07 13:39:45 +01:00 |
|
|
|
d8b2cef18f
|
Removed filtering of items when searching tmdb. Also added total_results object to all return statements.
|
2018-02-05 22:46:10 +01:00 |
|
|
|
bd0c7b8ab5
|
Now also has size of the existing file.
|
2018-02-05 13:41:41 +01:00 |
|
|
|
0c3ad3a95e
|
Fixed a issue where the tmdb type was not being selected correctly. (movie/show)
|
2018-02-02 11:51:13 +01:00 |
|
|
|
f7b772a170
|
Changed the default cache TTL from 7 days to 2 days.
|
2017-12-01 10:46:50 +01:00 |
|
|
|
1bdf89b69f
|
Merge pull request #55 from KevinMidboe/api_tuning
Lowered the tollerance for what objects we choose to look at by tmdb.…
|
2017-10-23 15:39:57 +02:00 |
|
|
|
498bd13a1f
|
Lowered the tollerance for what objects we choose to look at by tmdb. That is we only accept items that have some value of vote or popularity.
|
2017-10-23 15:39:28 +02:00 |
|
|
|
6f12d0ca49
|
Added docstring to new functions in tmdb
|
2017-10-23 15:14:16 +02:00 |
|
|
|
c48db517ac
|
Created one function for searching for different tmdb lists. This replaces 4 endpoints so we have a single way of searching for lists.
|
2017-10-23 14:58:52 +02:00 |
|
|
|
0e3189ff11
|
Added default cache time to be 1 day
|
2017-10-22 18:16:39 +02:00 |
|
|
|
7952e6015a
|
Added caching for all tmdb requests.
|
2017-10-22 17:41:12 +02:00 |
|
|
|
f57878813d
|
Added Cache file for tmdb queries and controller check the cache and returns it if hit. This is to limit our request to a third party library.
|
2017-10-22 14:09:57 +02:00 |
|
|
|
b82efddeba
|
Now tmdb searches also check cache for a matching query request, if so returns it.
|
2017-10-22 14:08:36 +02:00 |
|
|
|
5ceb19f449
|
Merge branch 'update/frontend_logic' of github.com:kevinmidboe/seasonedShows into update/frontend_logic
|
2017-09-27 13:51:07 +02:00 |
|
|
|
8b5b8bb0b7
|
Reduced the filter values to return more results.
|
2017-09-27 13:49:49 +02:00 |
|
|
|
98dafe56c4
|
Merge branch 'master' into update/frontend_logic
|
2017-09-27 00:45:49 +02:00 |
|
|
|
8014f01766
|
Added stricter handling for selecting what mediaType to convert to when searching tmdb and converting to seasoned object.
|
2017-09-27 00:28:41 +02:00 |
|
|
|
d787fba024
|
Changed a smellingerror (reponse -> response). Also now pass the type of the search request when converting to seasoned object. Fixed issue where number_of_items_on_page was not set to the length of the list.
|
2017-09-27 00:22:22 +02:00 |
|
|
|
6b4daf140a
|
Change a grammar error
|
2017-09-21 16:58:44 +02:00 |
|
|
|
e281e73293
|
Now the type is checked and passed to convertTmdbToSeasoned if it is movie or show and not multiwq
|
2017-09-21 16:37:53 +02:00 |
|
|
|
743c132aef
|
If a strict type is passed to convertTmdbToSeasoned than this is now used to set the type of objects to be made.
|
2017-09-21 16:37:10 +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 |
|
|
|
e81f5c8057
|
Added functions for discover, upcoming, nowplaying, popular and similar. Also documented better and some finer error handling with more logical responses.
|
2017-09-03 17:04:59 +02:00 |
|
|
|
789ed77ab6
|
Now the type of object being passed can be set by strictType variable. The type is then set before creating a movie or show object item.
|
2017-09-03 17:03:31 +02:00 |
|
|
|
70b284380f
|
Removed unused console.log
|
2017-09-02 23:16:24 +02:00 |
|
|
|
dacd44a8f5
|
Changed the value of the filter to be vote_count >= 80 or popularity > 18
|
2017-09-02 22:53:04 +02:00 |
|
|
|
84a897da6e
|
Added popularity and vote_count to movie and show object and added a new check for name and title of movie
|
2017-09-02 22:51:49 +02:00 |
|
|
|
8652a0ee0f
|
Rewrote for more general use.
|
2017-09-02 20:49:50 +02:00 |
|
|
|
101dc7d570
|
Changed the filter cutoff to be based on, if the show/movie has popularity over 2, vote_count over 20 and has a defined release_date/first_air_date. Also changed so that it now uses the new convertTmdbToSeaonsed insted of the old (convertTmdbToMovie)
|
2017-09-02 20:49:09 +02:00 |
|
|
|
47aa638fd8
|
Moved eveything related to the api to a seperate folder seasoned_api.
|
2017-08-06 16:45:02 +02:00 |
|