Commit Graph

533 Commits

Author SHA1 Message Date
86df508a7f Displays image if the episode is verified 2017-05-13 13:21:54 +02:00
c4a1fb5c78 In readall, the verified status is also sent. 2017-05-13 13:21:17 +02:00
9f67354bd4 Controllers for routing tmdb requests to correct functions is tmdbRepo and returns approp status messgaes on errors 2017-05-10 20:19:37 -06:00
9424de9037 Classes for holding info from different parts of a plex stream 2017-05-10 20:18:38 -06:00
dfb8c40a29 Routes request to correct function in plexRepo and if error, returns correct error. 2017-05-10 20:16:35 -06:00
a5ecaff00e Routes request to correct function in plexRepo and if error, returns correct error. 2017-05-10 20:16:05 -06:00
98d30257f0 Routes plex webhook to handler. 2017-05-10 20:14:55 -06:00
4bdffad9fb Similar to tmdb and plex search and lookup. This uses both at same time to check if a searched tmdb item is in plex and adds matchedInPlex tag to the item. 2017-05-10 20:13:45 -06:00
8d16a4952f Just console logs the request from plex webhook. This was created just to test webhooks for plex and will later handle input 2017-05-10 20:00:51 -06:00
3a83b98df0 Function that converts json object about stream from plex format to wanted custom format. 2017-05-10 19:59:25 -06:00
baa8515bd4 Creates a stream object that converts the plex now_playing json format to contain only the wanted information about the palyer, user, transcode, and whats playing 2017-05-10 19:57:49 -06:00
f6a77660db Added config file that should be autogenerated on startup 2017-05-10 19:49:45 -06:00
5464837682 Removed unused import 2017-05-10 19:46:59 -06:00
81b41c0d39 Added new endpoints to api. All for plex and tmdb. 2017-05-10 19:45:52 -06:00
53ab8cd002 Changed search funciton to use the correct default multi_search type. The search function now also filters the items by popularity so movies that are pretty unknown are not returned, this will maybe be set manually later. New lookup function that gets movie info from tmdb by id. Tmdb function now also uses items from new methodType object. 2017-05-10 19:44:28 -06:00
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
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
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
77addaaa23 Changed the location of movie from movie folder to media_classes 2017-05-10 19:18:19 -06:00
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
dc97e906c5 Added node-cache to package.json 2017-05-10 19:15:07 -06:00
8e4506e320 Now searching in tmdb handles type for filtering media type 2017-04-21 17:01:35 +02:00
76d39416a1 Now can handle type selector aswell 2017-04-21 16:59:07 +02:00
cbe06abf88 Now does multisearch instead of just moviesearch 2017-04-21 16:57:17 +02:00
98161f0616 Now handles movies and tv shows 2017-04-21 16:56:50 +02:00
5a6111c865 Now saves plex poster and background images 2017-04-21 16:56:02 +02:00
55be31b3db Removed unused function 2017-04-20 22:50:12 +02:00
ba8536e1e5 Added changes to the webpage to reflect the changes done to the endpoints and return data of the endponits. 2017-04-20 22:41:37 +02:00
8719d91abd Added todo for errorhandling 2017-04-20 22:40:26 +02:00
74004533e9 The function that interfaces calls search function for tmdb and responds the http request correctly. 2017-04-20 22:31:51 +02:00
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
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
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
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
c662525988 Added page parameter to plex search function 2017-04-20 22:20:42 +02:00
0743e40757 Added router endpoint for searching tmdb. 2017-04-20 22:19:52 +02:00
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
e2968121b9 Added moviedb to package.json 2017-04-20 22:13:05 +02:00
16c89ab6e7 Added endpoints for plex searching 2017-04-14 18:54:30 +02:00
c6fa89f0fa Added node package request 2017-04-14 18:53:39 +02:00
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
8535bb4f19 Moved the queries dict to the object and not have it as a function. Prevents the list from being built every function call 2017-04-14 17:03:19 +02:00
Kevin Midboe
f3f4efc6a9 Rewrote the notify function and twitter object so that the class does more of the work 2017-04-14 17:01:36 +02:00
Kevin Midboe
351ffd777b Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-04-13 13:27:22 +02:00
Kevin Midboe
d73597d7f1 Changes so the lists are printed out more nicely. 2017-04-13 13:27:14 +02:00
Kevin Midboe
4971433c18 Formatting issue 2017-04-13 13:22:11 +02:00
846787ab7a Now waits 30 secs between checking for new files. 2017-04-13 13:21:24 +02:00
Kevin Midboe
a31c0062f3 Script takes id as input at moves its content to veried place. 2017-04-13 12:34:16 +02:00