Commit Graph

20 Commits

Author SHA1 Message Date
455bf565b2 Moved the ? marker in the sql query to the end of the statement. 2017-10-03 16:19:55 +02:00
f50e0b2a59 Added user_agent to be passed to and saved in db when a request is made. 2017-10-03 16:10:27 +02:00
9d2c7c4c2f Added variable for status for database request query. 2017-10-03 16:01:28 +02:00
509759bca8 Added a function in requestRepo to fetch out all the requested items. And a sql statement to do so. 2017-09-27 17:54:01 +02:00
d47f2bf757 Added support for database operations. Now when requesting a item, it is saved to a database and sends a email from pi.midboe account. 2017-09-26 20:42:49 +02:00
6f54a61223 Removed a extra / that was in the posterURL 2017-09-26 20:41:25 +02:00
2d465d841e Before when doing a request search we had a lot of promisses and loops within one-another, now it's more split so easier to read and better error handling if something goes wrong when looking up either in plex or tmdb api. 2017-09-20 10:23:36 +02:00
eb2de340a3 Added variables for audioProfile, videoProfile, duration and container for a playback. 2017-09-07 23:52:05 +02:00
0370f051bc Changed the error message returned if something goes wrong when fetching playing 2017-09-07 23:51:22 +02:00
3eb2bbe54e Removed a console log 2017-09-07 23:49:21 +02:00
cd52d295b0 Now both Media and Media.Part in the JSON object about a stream is a list and need to index the first element of the stream to get this info. 2017-09-07 23:47:11 +02:00
9eb31ea433 Added type input to the sendRequest function. 2017-09-03 18:16:26 +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
17dd66e9ac Fixed a bug where if a seach query did not pass anything back when checking existance in plex, then you would get a 404 message. 2017-09-02 21:12:38 +02:00
3bf646483d Renamed file. Now converts to both movie and show. Also added more data that is saved to the object. 2017-09-02 18:13:51 +02:00
622e89ea50 Changed import name from convertPlexToMovie -> convertPlexToSeasoned and changed from map function to reduce to be able to filter only movies and shows to be parsed. 2017-09-02 18:13:08 +02:00
b4a005da42 Changed the name of convertPlexToMovie -> convertPlexToSeasoned 2017-09-02 18:11:59 +02:00
a82dc1ae78 Added requestRep again 2017-09-02 16:36:54 +02:00
e33840f1db Commented out unused elements. 2017-09-02 16:03:43 +02:00
47aa638fd8 Moved eveything related to the api to a seperate folder seasoned_api. 2017-08-06 16:45:02 +02:00