Commit Graph

27 Commits

Author SHA1 Message Date
KevinMidboe b7f229ac77 Now have player, movie, mediaInfo and user. These are small classes that holds vars for the specific type. The movie class is the same as the one prev in src/movie/movie.js 2017-05-10 19:40:29 -06:00
KevinMidboe 3f043a2a11 Changed so that movieClass from tmdb checks if it is a movie by checking media_type and if releasedate is set and tv show by if first_air_date is set. NB, object is called movie, but could also be ep. 2017-05-10 19:38:45 -06:00
KevinMidboe b72e291c1e Added a nowPlaying function that reads, maps to custom stream object and returns in stuborn promise way 2017-05-10 19:19:53 -06:00
KevinMidboe 77addaaa23 Changed the location of movie from movie folder to media_classes 2017-05-10 19:18:19 -06:00
KevinMidboe 8f43f1f878 Changed to import location for movie to reflect changes. Added a if statement to check if item is tv show episode and set varaibles respectively. 2017-05-10 19:17:36 -06:00
KevinMidboe 8e4506e320 Now searching in tmdb handles type for filtering media type 2017-04-21 17:01:35 +02:00
KevinMidboe 76d39416a1 Now can handle type selector aswell 2017-04-21 16:59:07 +02:00
KevinMidboe cbe06abf88 Now does multisearch instead of just moviesearch 2017-04-21 16:57:17 +02:00
KevinMidboe 98161f0616 Now handles movies and tv shows 2017-04-21 16:56:50 +02:00
KevinMidboe 5a6111c865 Now saves plex poster and background images 2017-04-21 16:56:02 +02:00
KevinMidboe 55be31b3db Removed unused function 2017-04-20 22:50:12 +02:00
KevinMidboe 8719d91abd Added todo for errorhandling 2017-04-20 22:40:26 +02:00
KevinMidboe 74004533e9 The function that interfaces calls search function for tmdb and responds the http request correctly. 2017-04-20 22:31:51 +02:00
KevinMidboe 3a3799340a Converts all the info you get per media item from tmdb to the universal movie class 2017-04-20 22:30:20 +02:00
KevinMidboe ddda6a3003 Funciton for what calling and sending data from tmdb to right places. It sends to be converted to the universal movie class 2017-04-20 22:30:04 +02:00
KevinMidboe 98d8e3dd7d Converts all the info you get per media item from plex to the universal movie class 2017-04-20 22:28:11 +02:00
KevinMidboe df90cc1037 Added a movie class so that different movie types (plex vs tmdb) can be converted into a universal movie class 2017-04-20 22:27:24 +02:00
KevinMidboe c662525988 Added page parameter to plex search function 2017-04-20 22:20:42 +02:00
KevinMidboe 0743e40757 Added router endpoint for searching tmdb. 2017-04-20 22:19:52 +02:00
KevinMidboe b9683e7b25 Added function for searching through media on plex with its api endpoint. The returned data is then passed to a convert function so a movie class only holds information we want. 2017-04-20 22:18:38 +02:00
KevinMidboe 16c89ab6e7 Added endpoints for plex searching 2017-04-14 18:54:30 +02:00
KevinMidboe f49d7eaeb4 Added a controller and handler for dumping JSON data from git webhooks 2017-04-14 18:09:32 +02:00
Kevin Midboe 59e56b970e Added endpoint for github webhooks 2017-04-14 17:14:11 +02:00
Kevin Midboe 36d1f4473f Removed unused endpoint. 2017-04-14 17:04:04 +02:00
Kevin Midboe 4c385d1dc1 Added function for verifing a stray, this also calls the py script for moving the files to correct place. 2017-04-13 12:33:31 +02:00
KevinMidboe 416d0a5a54 Fixed a lot of naming errors. 2017-04-12 22:37:24 +02:00
Kevin Midboe 6c29e59b2b src holds all controllers, config and api 2017-04-12 22:20:31 +02:00