From e94deba47ad40eec75231c96130247529876ae03 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 4 Dec 2017 10:43:44 +0100 Subject: [PATCH] Updated TODO (markdown) --- TODO.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 41eb50b..e68b2a7 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,10 @@ ## Api - [ ] Remove our filtering of results from tmdb and add total page count. - [ ] Check if matches with plex for lists as well as for search. +- [ ] When a item is sent to download, update the status of the element. + +## Ideas +When we check with plex we need to make a api call and iterate over all the results from our api search request. This is great when matching two queries, but when we have a tmdb list we want to compare we don't want to make a request pr element. What we could do to solve this problem is to cache all the elements of plex. When a plexrepository class is initialized it will check the cache, if TTL has expired update the cache with plex content. This would make it a simple manner of checking a db for matching with plex content. - - - - -## Ideas -When we check with plex we need to make a api call and iterate over all the results from our api search request. This is great when matching two queries, but when we have a tmdb list we want to compare we don't want to make a request pr element. What we could do to solve this problem is to cache all the elements of plex. When a plexrepository class is initialized it will check the cache, if TTL has expired update the cache with plex content. This would make it a simple manner of checking a db for matching with plex content. \ No newline at end of file +