Commit Graph

  • 29e575cbf1 Start of fire script to move bulk files to wanted dir, while creating the respected folder names. Kevin Midbøe 2017-07-12 00:11:05 +02:00
  • b2848e6a7e Merge pull request #13 from KevinMidboe/api Kevin 2017-07-01 08:47:19 +02:00
  • 1663f5931d Verify that respond has content, if so send the content back. If no content was found, send 404 status and error message #13 KevinMidboe 2017-07-01 08:46:37 +02:00
  • 5b8394c5a0 Merge pull request #12 from KevinMidboe/api Kevin 2017-07-01 08:37:53 +02:00
  • ba3a1fa028 If search request returns empty array from tmdb, then send a 404 reponse with error message back to client. #12 KevinMidboe 2017-07-01 08:37:29 +02:00
  • b358c61efb Had a bug that when searched and empty return it tried to map the empty array. Now we check for the contents of the response before we map the items. KevinMidboe 2017-07-01 08:29:49 +02:00
  • 71130e66f3 Merge pull request #11 from KevinMidboe/rename_and_move Kevin 2017-06-28 00:03:13 +02:00
  • 82d2e439fe Merge branch 'master' into rename_and_move #11 Kevin 2017-06-28 00:03:04 +02:00
  • be839ba2dd Trying to fix bug with os.join, now has a two args, not list KevinMidboe 2017-06-27 15:58:40 -06:00
  • f884406c06 Missed a syntax errro KevinMidboe 2017-06-27 15:56:47 -06:00
  • 04066b8da4 Now the full path is sent to fix ownership, not just the file path KevinMidboe 2017-06-27 15:56:06 -06:00
  • 34ab8be097 Fix_ownership got a list of files, now it iterates through this list and sends each item to the function KevinMidboe 2017-06-27 15:53:52 -06:00
  • 31e16e2784 Now the for loop actually goes through dir not just the string of file name. *facepalm* KevinMidboe 2017-06-27 15:52:17 -06:00
  • 7cda4accdb Added print for debugging purposes KevinMidboe 2017-06-27 15:49:34 -06:00
  • 7023b135b4 Now all subfiles also have their permission chagned. KevinMidboe 2017-06-27 15:48:25 -06:00
  • 979a95a468 Added a try except to remove and a todo to remind of need improvements. KevinMidboe 2017-06-27 15:37:55 -06:00
  • c1cd821d8a Changed group id to the wanted value. KevinMidboe 2017-06-27 15:33:50 -06:00
  • 4b54339b72 Opps, changed to use the int value of uid and gid, not looking up the int value and then converting to int. Does not make sense. KevinMidboe 2017-06-27 15:30:34 -06:00
  • 3d8dc80bb9 Merge pull request #10 from KevinMidboe/subtitles Kevin 2017-06-27 23:27:07 +02:00
  • 8a53cc4765 Added todo for fix_ownership KevinMidboe 2017-06-27 15:25:19 -06:00
  • 3bc539323a Changed user and group id to the wanted value. KevinMidboe 2017-06-27 15:24:49 -06:00
  • 80746252c0 Added excepts to all move and delete, so it can be run mulitple times and see no downside to having it run and logging it if not found. Also think I fixed a bug that renamed the folder that would be deleted, not the new folder KevinMidboe 2017-06-27 15:22:02 -06:00
  • d5ea7a6bbb Error with function call #10 KevinMidboe 2017-06-18 21:49:58 -06:00
  • 17b89748e1 Added todo to analyseSubtitles function KevinMidboe 2017-06-18 21:48:08 -06:00
  • 5a45856699 Pulled variable for subtitles path out of open() and retunes subfile without analysis on typeError. KevinMidboe 2017-06-18 21:47:15 -06:00
  • 90384e4ebc Calls fix_ownership after creating new directory Kevin Midboe 2017-06-13 05:17:40 +02:00
  • 7f14f64762 Set gid and uid to static vars Kevin Midboe 2017-06-13 05:11:50 +02:00
  • 2333559477 Merge branch 'master' of github.com:KevinMidboe/seasonedShows Kevin Midboe 2017-06-12 20:32:14 +02:00
  • a6d21ed181 Added fix_ownership for setting the new folder to user, not root. KevinMidboe 2017-06-12 20:28:58 +02:00
  • 1eb46a41e0 Merge branch 'master' of github.com:KevinMidboe/seasonedShows Kevin Midboe 2017-06-04 12:42:01 +02:00
  • 3b5d6fbb6c Merge pull request #9 from KevinMidboe/revert-8-api Kevin 2017-06-04 00:16:29 +02:00
  • 0022f656bd Revert "Api" #9 Kevin 2017-06-04 00:16:16 +02:00
  • 9a02130124 Merge pull request #8 from KevinMidboe/api Kevin 2017-06-04 00:16:04 +02:00
  • 3bb43f08f2 Controller for handling submits of item requests. #8 KevinMidboe 2017-06-04 00:13:35 +02:00
  • 703e3d3785 Added a api endpoint for submitting a movie request. KevinMidboe 2017-06-04 00:13:02 +02:00
  • 6496988e51 Changed variable names to better reflect their purpose KevinMidboe 2017-06-04 00:12:38 +02:00
  • 069d984c39 Added for handling input of movie request, but still need to work on the way the python script is run. KevinMidboe 2017-06-04 00:10:35 +02:00
  • 27edd29bd2 Started adding features for submitting a request to server KevinMidboe 2017-06-04 00:07:23 +02:00
  • 531900744e Merge branch 'master' of github.com:KevinMidboe/seasonedShows Kevin Midboe 2017-06-03 13:13:23 +02:00
  • d9cb5b97c7 Merge pull request #7 from KevinMidboe/api Kevin 2017-06-03 13:12:32 +02:00
  • 9d29482857 Added overview of requested movie to be printed. KevinMidboe 2017-06-03 13:12:10 +02:00
  • 907bc73a7f Added overview (description) from tmdb movie to movieObject. #7 KevinMidboe 2017-06-03 13:07:49 +02:00
  • 6f8a7bc06c Merge branch 'master' of github.com:KevinMidboe/seasonedShows Kevin Midboe 2017-06-03 11:21:15 +02:00
  • 25e4cb1870 Merge pull request #6 from KevinMidboe/api Kevin 2017-06-03 11:19:39 +02:00
  • b695d1aaf0 Merge pull request #5 from KevinMidboe/client_feature Kevin 2017-06-03 11:19:01 +02:00
  • d05aa13c39 Changes to more strict origin policy. #6 KevinMidboe 2017-06-03 11:17:09 +02:00
  • 21c40e9b34 Created a function that can be called for updating the mediaList, saving lines! #5 KevinMidboe 2017-06-03 11:13:57 +02:00
  • 244f606133 Changed the way html for the object is created, but need to do this with React native functions. Also added a few functions that will be for requesting items. KevinMidboe 2017-06-03 11:12:28 +02:00
  • 7152c987b7 Linting changes KevinMidboe 2017-06-02 19:39:06 +02:00
  • 47269ebc70 Class for creating a object that can easily be called for the html implicit to the object type KevinMidboe 2017-06-02 19:37:58 +02:00
  • 30dd05ebf3 Now the search request updates based on the input in the text field. Super simple, need better handling and styling. KevinMidboe 2017-06-02 19:37:08 +02:00
  • 4f2a69f32d Removed a unused log KevinMidboe 2017-06-02 19:36:18 +02:00
  • 545152c888 Start of request, now just prints what is written in text field and reads keypress enter KevinMidboe 2017-06-02 14:35:43 +02:00
  • bd3ceb7b6d Added component for getting input for requestSearch. KevinMidboe 2017-06-02 14:29:19 +02:00
  • 7c055bd9d1 Created a function for deciding what to return based on the object it computes. KevinMidboe 2017-06-02 13:50:42 +02:00
  • afe0a698f0 Added morgan 1.8.2 to packages logging KevinMidboe 2017-06-02 12:15:14 +02:00
  • 9d11798133 Removed test logging functions KevinMidboe 2017-06-02 12:14:19 +02:00
  • b9851aee3f Merge pull request #3 from KevinMidboe/react_setup Kevin 2017-06-02 12:08:07 +02:00
  • d9721555dd Babelrc now has presets. #3 KevinMidboe 2017-06-02 12:06:48 +02:00
  • f548dba7e1 Setup of yarn and package.json. Also added first page which queries api for info KevinMidboe 2017-06-02 12:04:43 +02:00
  • 53a60de38b Removed the exit status Kevin Midboe 2017-06-02 08:54:40 +02:00
  • 74c6ed02a8 Changed debug level and removed a unused exit Kevin Midboe 2017-06-02 08:52:54 +02:00
  • 76b8c46197 Test if bitrate exists KevinMidboe 2017-06-02 08:49:20 +02:00
  • 5ab71d9ed8 Added morgan for logging purposes KevinMidboe 2017-06-02 08:49:00 +02:00
  • b16d2ab60d Setup of react environment KevinMidboe 2017-06-01 19:04:31 +02:00
  • 89e506cf6e Now when it tries to tweet without a name it sends the it as a dm, this should fix alot of the crashes. Also added a couple of TODOs KevinMidboe 2017-06-01 19:03:09 +02:00
  • 8e5dd60495 This is just for documenting ideas and future implementations. KevinMidboe 2017-05-24 22:12:24 +02:00
  • dd1145111a Added package request-promise to package.json KevinMidboe 2017-05-24 22:04:50 +02:00
  • 24d250fe09 Chagned to use os.path.join for better accuraccy. KevinMidboe 2017-05-21 23:39:40 +02:00
  • 197a41bfd8 Changed confirmation text when successfull response from api. KevinMidboe 2017-05-19 10:49:15 +02:00
  • c8090dfb96 Added option for filtering in verified and page number when searching through all stray episodes. KevinMidboe 2017-05-15 12:30:18 +02:00
  • 48188f859e Added conf/classedOutput.log KevinMidboe 2017-05-15 11:59:44 +02:00
  • 713aa0629d Blank logfile KevinMidboe 2017-05-15 11:59:07 +02:00
  • 7ec4165f23 Added logging where previous prints, also checks if logfile exists and is prevented to run if not found KevinMidboe 2017-05-15 11:58:43 +02:00
  • a5f8a2adce Linting, added newline at eos KevinMidboe 2017-05-14 08:19:24 +02:00
  • 1e47d1c599 Changed the strictness of name matching, and now sets name to something if not found. KevinMidboe 2017-05-14 08:18:12 +02:00
  • 411f4029c7 Added style, image and div for verified image if the episode is already verified. KevinMidboe 2017-05-13 13:23:00 +02:00
  • 86df508a7f Displays image if the episode is verified KevinMidboe 2017-05-13 13:21:54 +02:00
  • c4a1fb5c78 In readall, the verified status is also sent. KevinMidboe 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 KevinMidboe 2017-05-10 20:19:37 -06:00
  • 9424de9037 Classes for holding info from different parts of a plex stream KevinMidboe 2017-05-10 20:18:38 -06:00
  • dfb8c40a29 Routes request to correct function in plexRepo and if error, returns correct error. KevinMidboe 2017-05-10 20:16:35 -06:00
  • a5ecaff00e Routes request to correct function in plexRepo and if error, returns correct error. KevinMidboe 2017-05-10 20:16:05 -06:00
  • 98d30257f0 Routes plex webhook to handler. KevinMidboe 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. KevinMidboe 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 KevinMidboe 2017-05-10 20:00:51 -06:00
  • 3a83b98df0 Function that converts json object about stream from plex format to wanted custom format. KevinMidboe 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 KevinMidboe 2017-05-10 19:57:49 -06:00
  • f6a77660db Added config file that should be autogenerated on startup KevinMidboe 2017-05-10 19:49:45 -06:00
  • 5464837682 Removed unused import KevinMidboe 2017-05-10 19:46:59 -06:00
  • 81b41c0d39 Added new endpoints to api. All for plex and tmdb. KevinMidboe 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. KevinMidboe 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 KevinMidboe 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. KevinMidboe 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 KevinMidboe 2017-05-10 19:19:53 -06:00
  • 77addaaa23 Changed the location of movie from movie folder to media_classes KevinMidboe 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. KevinMidboe 2017-05-10 19:17:36 -06:00
  • dc97e906c5 Added node-cache to package.json KevinMidboe 2017-05-10 19:15:07 -06:00
  • 8e4506e320 Now searching in tmdb handles type for filtering media type KevinMidboe 2017-04-21 17:01:35 +02:00
  • 76d39416a1 Now can handle type selector aswell KevinMidboe 2017-04-21 16:59:07 +02:00