Commit Graph

965 Commits

Author SHA1 Message Date
KevinMidboe c45df8a131 Added controller for calling POST request function for media items. 2017-07-16 11:08:14 +02:00
KevinMidboe 91606fc9b8 Removed unused import 2017-07-16 11:05:30 +02:00
KevinMidboe 3047dce147 Opened the POST endpoint for requesting a movie in the server 2017-07-16 11:04:56 +02:00
Kevin Midbøe 2c97803d82 Added a sendRequest function for handliing the post of a movie request 2017-07-16 11:03:30 +02:00
Kevin Midbøe 97dea47a7a Updated inherits in yarn config file 2017-07-16 10:54:44 +02:00
Kevin Midbøe c97ab972ef Changed movieObject ot pass full object, not just it's id when clicked 2017-07-16 10:51:02 +02:00
Kevin Midbøe 29e575cbf1 Start of fire script to move bulk files to wanted dir, while creating the respected folder names. 2017-07-12 00:11:05 +02:00
KevinMidboe b2848e6a7e Merge pull request #13 from KevinMidboe/api
Verify that respond has content, if so send the content back. If no c…
2017-07-01 08:47:19 +02:00
KevinMidboe 1663f5931d Verify that respond has content, if so send the content back. If no content was found, send 404 status and error message 2017-07-01 08:46:37 +02:00
KevinMidboe 5b8394c5a0 Merge pull request #12 from KevinMidboe/api
If search request returns empty array from tmdb, then send a 404 repo…
2017-07-01 08:37:53 +02:00
KevinMidboe ba3a1fa028 If search request returns empty array from tmdb, then send a 404 reponse with error message back to client. 2017-07-01 08:37:29 +02:00
KevinMidboe 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. 2017-07-01 08:29:49 +02:00
KevinMidboe 71130e66f3 Merge pull request #11 from KevinMidboe/rename_and_move
Rename and move
2017-06-28 00:03:13 +02:00
KevinMidboe 82d2e439fe Merge branch 'master' into rename_and_move 2017-06-28 00:03:04 +02:00
KevinMidboe be839ba2dd Trying to fix bug with os.join, now has a two args, not list 2017-06-27 15:58:40 -06:00
KevinMidboe f884406c06 Missed a syntax errro 2017-06-27 15:56:47 -06:00
KevinMidboe 04066b8da4 Now the full path is sent to fix ownership, not just the file path 2017-06-27 15:56:06 -06:00
KevinMidboe 34ab8be097 Fix_ownership got a list of files, now it iterates through this list and sends each item to the function 2017-06-27 15:53:52 -06:00
KevinMidboe 31e16e2784 Now the for loop actually goes through dir not just the string of file name. *facepalm* 2017-06-27 15:52:17 -06:00
KevinMidboe 7cda4accdb Added print for debugging purposes 2017-06-27 15:49:34 -06:00
KevinMidboe 7023b135b4 Now all subfiles also have their permission chagned. 2017-06-27 15:48:25 -06:00
KevinMidboe 979a95a468 Added a try except to remove and a todo to remind of need improvements. 2017-06-27 15:37:55 -06:00
KevinMidboe c1cd821d8a Changed group id to the wanted value. 2017-06-27 15:33:50 -06:00
KevinMidboe 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. 2017-06-27 15:30:34 -06:00
KevinMidboe 3d8dc80bb9 Merge pull request #10 from KevinMidboe/subtitles
Subtitles
2017-06-27 23:27:07 +02:00
KevinMidboe 8a53cc4765 Added todo for fix_ownership 2017-06-27 15:25:19 -06:00
KevinMidboe 3bc539323a Changed user and group id to the wanted value. 2017-06-27 15:24:49 -06:00
KevinMidboe 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 2017-06-27 15:22:02 -06:00
KevinMidboe d5ea7a6bbb Error with function call 2017-06-18 21:49:58 -06:00
KevinMidboe 17b89748e1 Added todo to analyseSubtitles function 2017-06-18 21:48:08 -06:00
KevinMidboe 5a45856699 Pulled variable for subtitles path out of open() and retunes subfile without analysis on typeError. 2017-06-18 21:47:15 -06:00
KevinMidboe 90384e4ebc Calls fix_ownership after creating new directory 2017-06-13 05:17:40 +02:00
KevinMidboe 7f14f64762 Set gid and uid to static vars 2017-06-13 05:11:50 +02:00
KevinMidboe 2333559477 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-06-12 20:32:14 +02:00
KevinMidboe a6d21ed181 Added fix_ownership for setting the new folder to user, not root. 2017-06-12 20:28:58 +02:00
KevinMidboe 1eb46a41e0 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-06-04 12:42:01 +02:00
KevinMidboe 3b5d6fbb6c Merge pull request #9 from KevinMidboe/revert-8-api
Revert "Api"
2017-06-04 00:16:29 +02:00
KevinMidboe 0022f656bd Revert "Api" 2017-06-04 00:16:16 +02:00
KevinMidboe 9a02130124 Merge pull request #8 from KevinMidboe/api
Added endpoint for submitting movie/tv requests
2017-06-04 00:16:04 +02:00
KevinMidboe 3bb43f08f2 Controller for handling submits of item requests. 2017-06-04 00:13:35 +02:00
KevinMidboe 703e3d3785 Added a api endpoint for submitting a movie request. 2017-06-04 00:13:02 +02:00
KevinMidboe 6496988e51 Changed variable names to better reflect their purpose 2017-06-04 00:12:38 +02:00
KevinMidboe 069d984c39 Added for handling input of movie request, but still need to work on the way the python script is run. 2017-06-04 00:10:35 +02:00
KevinMidboe 27edd29bd2 Started adding features for submitting a request to server 2017-06-04 00:07:23 +02:00
KevinMidboe 531900744e Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-06-03 13:13:23 +02:00
KevinMidboe d9cb5b97c7 Merge pull request #7 from KevinMidboe/api
Added overview (description) from tmdb movie to movieObject.
2017-06-03 13:12:32 +02:00
KevinMidboe 9d29482857 Added overview of requested movie to be printed. 2017-06-03 13:12:10 +02:00
KevinMidboe 907bc73a7f Added overview (description) from tmdb movie to movieObject. 2017-06-03 13:07:49 +02:00
KevinMidboe 6f8a7bc06c Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-06-03 11:21:15 +02:00
KevinMidboe 25e4cb1870 Merge pull request #6 from KevinMidboe/api
Changes to header info
2017-06-03 11:19:39 +02:00