Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Midbøe
2c97803d82 Added a sendRequest function for handliing the post of a movie request 2017-07-16 11:03:30 +02:00
76b8c46197 Test if bitrate exists 2017-06-02 08:49:20 +02:00
9424de9037 Classes for holding info from different parts of a plex stream 2017-05-10 20:18:38 -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
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
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
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
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
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
16c89ab6e7 Added endpoints for plex searching 2017-04-14 18:54:30 +02:00