Commit Graph

207 Commits

Author SHA1 Message Date
KevinMidboe 6c062f5fc1 Changed gitmodules config file and moved the submodule from app to a new directory inculde. Also changed default search site to jackett. 2018-03-08 13:48:52 +01:00
KevinMidboe 1d8a72429d Merge branch 'api' of github.com:KevinMidboe/seasonedShows into api 2018-02-07 15:53:52 +01:00
KevinMidboe 528cbed30f Wasn't getting all the items because some elements do not have a media_type 2018-02-07 15:53:27 +01:00
KevinMidboe 7ee3ace83b Removed unused semicolon 2018-02-07 15:44:24 +01:00
KevinMidboe ba69893e21 Removed static function. 2018-02-07 15:44:04 +01:00
KevinMidboe ad4fa9d95a Fixed issue with types not being upheld when converting from tmdb objects. 2018-02-07 15:40:39 +01:00
KevinMidboe bd1e3c4455 Added test for checking popular shows list in tmdb. 2018-02-07 14:35:36 +01:00
KevinMidboe f0476b2890 Merge pull request #80 from KevinMidboe/linting
Linting
2018-02-07 14:24:43 +01:00
KevinMidboe 30b494e356 The id used for searching was somehow not a movies id and returned false. 2018-02-07 14:20:34 +01:00
KevinMidboe b037cb23a2 Updated test to reflect new tmdb response. 2018-02-07 14:16:45 +01:00
KevinMidboe 98b10aa693 Changed the api endpoint to one that requires to be logged in. 2018-02-07 14:15:10 +01:00
KevinMidboe 3ca3c06824 Removed static tag in tmdb functions. 2018-02-07 14:13:50 +01:00
KevinMidboe f6c504223a Now yarn lint lints all files in src not only webserver. 2018-02-07 13:53:15 +01:00
KevinMidboe 93e1ef6d99 Linted app and server.js files. 2018-02-07 13:52:39 +01:00
KevinMidboe 58449fc753 Linted all middleware. 2018-02-07 13:52:08 +01:00
KevinMidboe 34982c14fe Linted all controllers 2018-02-07 13:51:57 +01:00
KevinMidboe 81aeed86ef Linted all pirate, git, tmdb and searchHistory scripts. 2018-02-07 13:51:42 +01:00
KevinMidboe a8ec7acff5 Linted all seasoned scripts. 2018-02-07 13:51:02 +01:00
KevinMidboe 74d143775b Linted all user files. 2018-02-07 13:50:16 +01:00
KevinMidboe dda1db6c5f Linted all plex scripts. 2018-02-07 13:50:05 +01:00
KevinMidboe 97217a2826 Linted all media_classes 2018-02-07 13:49:37 +01:00
KevinMidboe 272300249e Linted all database files. 2018-02-07 13:49:22 +01:00
KevinMidboe fe1ad2b1ad Linted all config files. 2018-02-07 13:49:11 +01:00
KevinMidboe 444295d5d1 Updated our eslint config file. Still extends airbnb, but have changed indent rule and dropped some other rules. 2018-02-07 13:47:11 +01:00
KevinMidboe a40d4f7cd5 Removed movie and show in replacement with a common media.js and tmdb and plex that extend this media class. 2018-02-07 13:44:26 +01:00
KevinMidboe 6fd65fdb23 Refactoring where now we can search lists and lookup movies or shows by using the new tmdbMethod function which takes the api endpoint variable and type to return the appropriate tmdbMethod name for the matching api call to tmdb. Removed a lot of the globally defined variables. 2018-02-07 13:42:46 +01:00
KevinMidboe 7e874bbc9d Now our convert scripts use our new plex and tmdb classes. Also compacted and abstracted a lot of the code here. 2018-02-07 13:39:45 +01:00
KevinMidboe 6564948af8 Split up our plex and tmdb classes into more logical files with a common media class that it extends off of. 2018-02-07 13:38:25 +01:00
KevinMidboe af64a4e28a Removed and clean up function and formatting. 2018-02-05 22:48:41 +01:00
KevinMidboe 3c263a1ae7 Now we have brand spanking new functions for lookup and searching. The idea here is to match tmdb items to plex counterparts. 2018-02-05 22:48:00 +01:00
KevinMidboe d8b2cef18f Removed filtering of items when searching tmdb. Also added total_results object to all return statements. 2018-02-05 22:46:10 +01:00
KevinMidboe 6f626d410d Rewrote most of this class. Now we have helper functions for getting info about items in plex. Used function is inPlex where we can input a tmdb item and it append if the item exsists in plex. 2018-02-05 22:44:57 +01:00
KevinMidboe cfb878fa64 Fixed issue where a item would not be returned when nothing was found matching query in plex. Also moved checkId up in the request. 2018-02-05 14:55:49 +01:00
KevinMidboe 44878a295c Merge branch 'api_fixes' of github.com:kevinmidboe/seasonedShows into api_fixes 2018-02-05 14:25:25 +01:00
KevinMidboe 9b0fa88a72 Changed docstring and removed the unused port variable. 2018-02-05 14:25:13 +01:00
KevinMidboe 80582f0022 Changed so that tmdb now gets its own type, tmdbtype 2018-02-05 14:23:40 +01:00
KevinMidboe 77d7167fcb Changed so that one must not be auth to get requested elements. This might change. 2018-02-05 14:22:44 +01:00
KevinMidboe eedfe4cf3f Changed schema to reflect changes movie title from name to title. 2018-02-05 13:48:16 +01:00
KevinMidboe cfedd4e9c8 Added ability to check if a element is previously been requested. Also changed the schema of db to store movies poster as poster_path and background as background_path. 2018-02-05 13:47:10 +01:00
KevinMidboe cefbb5e41c Added length of elements in return statement as total_results in api response. 2018-02-05 13:44:13 +01:00
KevinMidboe 89ec9d496b Changed the ip addres of plex server 2018-02-05 13:42:35 +01:00
KevinMidboe bd0c7b8ab5 Now also has size of the existing file. 2018-02-05 13:41:41 +01:00
KevinMidboe 0c3ad3a95e Fixed a issue where the tmdb type was not being selected correctly. (movie/show) 2018-02-02 11:51:13 +01:00
KevinMidboe 8285f14bfa Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2018-01-09 22:51:26 +01:00
KevinMidboe 9d2b904260 Changed the app search site from jackett to piratebay and added some better handling of errors, now the server does not instantly crash on a error. 2018-01-09 22:47:59 +01:00
KevinMidboe aa1866bbd9 Fixed merge conflict regarding version of express 2018-01-09 17:05:02 +01:00
KevinMidboe bc0211e34f Moved eslint to devDep and updated express to 4.11 2018-01-09 17:02:03 +01:00
KevinMidboe 34a0c7f958 Merge pull request #72 from KevinMidboe/testing
Testing
2018-01-09 16:56:45 +01:00
KevinMidboe f6bd547701 Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2018-01-09 16:55:09 +01:00
KevinMidboe e9f6f3a656 We added a new python app for fetching torrents. The api is now changed to use the new project. IMPORTANT that a check for if jackett is set up is done, if else this is will not run correctly. 2018-01-09 16:44:10 +01:00