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
Kevin2017-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
KevinMidboe2017-07-01 08:46:37 +02:00
5b8394c5a0
Merge pull request #12 from KevinMidboe/api
Kevin2017-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
KevinMidboe2017-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.
KevinMidboe2017-07-01 08:29:49 +02:00
71130e66f3
Merge pull request #11 from KevinMidboe/rename_and_move
Kevin2017-06-28 00:03:13 +02:00
82d2e439fe
Merge branch 'master' into rename_and_move
#11
Kevin2017-06-28 00:03:04 +02:00
be839ba2dd
Trying to fix bug with os.join, now has a two args, not list
KevinMidboe2017-06-27 15:58:40 -06:00
04066b8da4
Now the full path is sent to fix ownership, not just the file path
KevinMidboe2017-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
KevinMidboe2017-06-27 15:53:52 -06:00
31e16e2784
Now the for loop actually goes through dir not just the string of file name. *facepalm*
KevinMidboe2017-06-27 15:52:17 -06:00
7023b135b4
Now all subfiles also have their permission chagned.
KevinMidboe2017-06-27 15:48:25 -06:00
979a95a468
Added a try except to remove and a todo to remind of need improvements.
KevinMidboe2017-06-27 15:37:55 -06:00
c1cd821d8a
Changed group id to the wanted value.
KevinMidboe2017-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.
KevinMidboe2017-06-27 15:30:34 -06:00
3d8dc80bb9
Merge pull request #10 from KevinMidboe/subtitles
Kevin2017-06-27 23:27:07 +02:00
3bc539323a
Changed user and group id to the wanted value.
KevinMidboe2017-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
KevinMidboe2017-06-27 15:22:02 -06:00
9a02130124
Merge pull request #8 from KevinMidboe/api
Kevin2017-06-04 00:16:04 +02:00
3bb43f08f2
Controller for handling submits of item requests.
#8
KevinMidboe2017-06-04 00:13:35 +02:00
703e3d3785
Added a api endpoint for submitting a movie request.
KevinMidboe2017-06-04 00:13:02 +02:00
6496988e51
Changed variable names to better reflect their purpose
KevinMidboe2017-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.
KevinMidboe2017-06-04 00:10:35 +02:00
27edd29bd2
Started adding features for submitting a request to server
KevinMidboe2017-06-04 00:07:23 +02:00
531900744e
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
Kevin Midboe2017-06-03 13:13:23 +02:00
d9cb5b97c7
Merge pull request #7 from KevinMidboe/api
Kevin2017-06-03 13:12:32 +02:00
9d29482857
Added overview of requested movie to be printed.
KevinMidboe2017-06-03 13:12:10 +02:00
907bc73a7f
Added overview (description) from tmdb movie to movieObject.
#7
KevinMidboe2017-06-03 13:07:49 +02:00
6f8a7bc06c
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
Kevin Midboe2017-06-03 11:21:15 +02:00
25e4cb1870
Merge pull request #6 from KevinMidboe/api
Kevin2017-06-03 11:19:39 +02:00
b695d1aaf0
Merge pull request #5 from KevinMidboe/client_feature
Kevin2017-06-03 11:19:01 +02:00
21c40e9b34
Created a function that can be called for updating the mediaList, saving lines!
#5
KevinMidboe2017-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.
KevinMidboe2017-06-03 11:12:28 +02:00
47269ebc70
Class for creating a object that can easily be called for the html implicit to the object type
KevinMidboe2017-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.
KevinMidboe2017-06-02 19:37:08 +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
KevinMidboe2017-06-01 19:03:09 +02:00
8e5dd60495
This is just for documenting ideas and future implementations.
KevinMidboe2017-05-24 22:12:24 +02:00
dd1145111a
Added package request-promise to package.json
KevinMidboe2017-05-24 22:04:50 +02:00
24d250fe09
Chagned to use os.path.join for better accuraccy.
KevinMidboe2017-05-21 23:39:40 +02:00
197a41bfd8
Changed confirmation text when successfull response from api.
KevinMidboe2017-05-19 10:49:15 +02:00
c8090dfb96
Added option for filtering in verified and page number when searching through all stray episodes.
KevinMidboe2017-05-15 12:30:18 +02:00
7ec4165f23
Added logging where previous prints, also checks if logfile exists and is prevented to run if not found
KevinMidboe2017-05-15 11:58:43 +02:00
1e47d1c599
Changed the strictness of name matching, and now sets name to something if not found.
KevinMidboe2017-05-14 08:18:12 +02:00
411f4029c7
Added style, image and div for verified image if the episode is already verified.
KevinMidboe2017-05-13 13:23:00 +02:00
86df508a7f
Displays image if the episode is verified
KevinMidboe2017-05-13 13:21:54 +02:00
c4a1fb5c78
In readall, the verified status is also sent.
KevinMidboe2017-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
KevinMidboe2017-05-10 20:19:37 -06:00
9424de9037
Classes for holding info from different parts of a plex stream
KevinMidboe2017-05-10 20:18:38 -06:00
dfb8c40a29
Routes request to correct function in plexRepo and if error, returns correct error.
KevinMidboe2017-05-10 20:16:35 -06:00
a5ecaff00e
Routes request to correct function in plexRepo and if error, returns correct error.
KevinMidboe2017-05-10 20:16:05 -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.
KevinMidboe2017-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
KevinMidboe2017-05-10 20:00:51 -06:00
3a83b98df0
Function that converts json object about stream from plex format to wanted custom format.
KevinMidboe2017-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
KevinMidboe2017-05-10 19:57:49 -06:00
f6a77660db
Added config file that should be autogenerated on startup
KevinMidboe2017-05-10 19:49:45 -06:00
81b41c0d39
Added new endpoints to api. All for plex and tmdb.
KevinMidboe2017-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.
KevinMidboe2017-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
KevinMidboe2017-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.
KevinMidboe2017-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
KevinMidboe2017-05-10 19:19:53 -06:00
77addaaa23
Changed the location of movie from movie folder to media_classes
KevinMidboe2017-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.
KevinMidboe2017-05-10 19:17:36 -06:00