ba8536e1e5
Added changes to the webpage to reflect the changes done to the endpoints and return data of the endponits.
KevinMidboe2017-04-20 22:41:37 +02:00
74004533e9
The function that interfaces calls search function for tmdb and responds the http request correctly.
KevinMidboe2017-04-20 22:31:51 +02:00
3a3799340a
Converts all the info you get per media item from tmdb to the universal movie class
KevinMidboe2017-04-20 22:30:20 +02:00
ddda6a3003
Funciton for what calling and sending data from tmdb to right places. It sends to be converted to the universal movie class
KevinMidboe2017-04-20 22:30:04 +02:00
98d8e3dd7d
Converts all the info you get per media item from plex to the universal movie class
KevinMidboe2017-04-20 22:28:11 +02:00
df90cc1037
Added a movie class so that different movie types (plex vs tmdb) can be converted into a universal movie class
KevinMidboe2017-04-20 22:27:24 +02:00
c662525988
Added page parameter to plex search function
KevinMidboe2017-04-20 22:20:42 +02:00
0743e40757
Added router endpoint for searching tmdb.
KevinMidboe2017-04-20 22:19:52 +02:00
b9683e7b25
Added function for searching through media on plex with its api endpoint. The returned data is then passed to a convert function so a movie class only holds information we want.
KevinMidboe2017-04-20 22:18:38 +02:00
f49d7eaeb4
Added a controller and handler for dumping JSON data from git webhooks
KevinMidboe2017-04-14 18:09:32 +02:00
59e56b970e
Added endpoint for github webhooks
Kevin Midboe
2017-04-14 17:14:11 +02:00
36d1f4473f
Removed unused endpoint.
Kevin Midboe
2017-04-14 17:04:04 +02:00
8535bb4f19
Moved the queries dict to the object and not have it as a function. Prevents the list from being built every function call
Kevin Midboe
2017-04-14 17:03:19 +02:00
f3f4efc6a9
Rewrote the notify function and twitter object so that the class does more of the work
Kevin Midboe
2017-04-14 17:01:36 +02:00
351ffd777b
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
Kevin Midboe
2017-04-13 13:27:22 +02:00
d73597d7f1
Changes so the lists are printed out more nicely.
Kevin Midboe
2017-04-13 13:27:14 +02:00
4971433c18
Formatting issue
Kevin Midboe
2017-04-13 13:22:11 +02:00
846787ab7a
Now waits 30 secs between checking for new files.
Kevin Midboe2017-04-13 13:21:24 +02:00
a31c0062f3
Script takes id as input at moves its content to veried place.
Kevin Midboe
2017-04-13 12:34:16 +02:00
4c385d1dc1
Added function for verifing a stray, this also calls the py script for moving the files to correct place.
Kevin Midboe
2017-04-13 12:33:31 +02:00
ae52d04382
Ignored all .pyc files and node-debug.log
Kevin Midboe
2017-04-13 12:32:35 +02:00
8f943d50b2
Added python-shell to node modules
Kevin Midboe
2017-04-13 12:31:28 +02:00
d690fbe9d4
Now checks and only sends notif if it managed to save to db.
Kevin Midboe
2017-04-13 12:30:31 +02:00
5d2ae1da2c
Changed the way subtitles are saved, now only two entires, prev and new.
Kevin Midboe
2017-04-13 11:34:37 +02:00
47da1d1bfa
Now the post and get functions work with changes done with the api.
Kevin Midboe
2017-04-12 22:48:20 +02:00
93b56f4778
Now points to correct path.
Kevin Midboe
2017-04-12 22:47:46 +02:00
6c29e59b2b
src holds all controllers, config and api
Kevin Midboe
2017-04-12 22:20:31 +02:00
35146a5964
Config file with db locaiton and port select.
Kevin Midboe
2017-04-12 22:19:40 +02:00
c6221e8073
Added the env_variables script to html page.
Kevin Midboe
2017-04-12 22:16:45 +02:00
f6e353378c
Quick way to have env variables for working in diff envs.
Kevin Midboe
2017-04-12 22:16:04 +02:00
4704259bc9
Changed url to be read from env_variables.
Kevin Midboe
2017-04-12 22:15:36 +02:00
2a66ab7b9a
Added startup command to npm and added cross-env and reverted back to sqlite
Kevin Midboe
2017-04-12 22:14:26 +02:00
daab2bee28
Renamed getId class to getUniqueId and started adding so that every id is unique. Also added some TODO comments.
Kevin Midboe
2017-04-12 22:13:31 +02:00
23475299a8
Changed port number of server
Kevin Midboe
2017-04-07 12:48:30 +02:00
bbd6d0d85b
Moved js to a seperate file
Kevin Midboe
2017-04-07 11:36:38 +02:00
43e1e88865
Moved old files to modules from root folder.
Kevin Midboe
2017-04-07 11:33:19 +02:00
b7f894b407
Moved to parent folder and did some cleanup and added twitter class.
Kevin Midboe
2017-04-07 11:32:53 +02:00
294105f7ac
Updated gitignore to reflect change of env.py filename to env_variables
Kevin Midboe
2017-04-07 11:32:04 +02:00
82e05801a1
Created stylesheet
Kevin Midboe
2017-04-07 11:31:05 +02:00
972bbc1f0f
Big and early commit, need to clean up and seperate JS to external file.
Kevin Midboe
2017-04-07 11:29:57 +02:00
ede006c370
Big update, now looks to work. V0.1
Kevin Midboe
2017-04-07 09:22:24 +02:00
81ed339787
A local copy of website to fetch and display episode from server
Kevin Midboe
2017-04-06 22:49:59 +02:00
8f6cf9adf0
Now have start of functional post request for a episode
Kevin Midboe
2017-04-06 22:49:26 +02:00
8641f9f7aa
Added post router with simple console log of body
Kevin Midboe
2017-04-06 21:37:39 +02:00
cc1a5b66dd
Fixed to check for certificates in the certificates folder
Kevin Midboe
2017-04-06 19:15:18 +02:00
a830001e99
Added SSL certification to all requests
Kevin Midboe
2017-04-06 19:13:17 +02:00
311bb668fe
Now sendes with Acces-Control-Allow-Origin header.
Kevin Midboe
2017-04-06 18:40:33 +02:00
f3ef2ef15a
The async function for getting episodes now send response when the async function is done.
Kevin Midboe
2017-04-06 17:42:28 +02:00
97e062ef13
Added sqlite3 to packages
Kevin Midboe
2017-04-06 17:41:51 +02:00
53805b9118
There was a line split accidentally, this is now fixed
Kevin Midboe2017-04-06 12:32:02 +02:00
79a71c0cff
Added ds_store and the env variables.
Kevin Midboe
2017-04-06 10:14:09 +02:00
d1b44739b1
Environment variables to more easily run on diff clients.
Kevin Midboe
2017-04-06 10:13:04 +02:00
43e5b42bbf
Rewritten how the directory is scanned for new files and now all new items are class instances for easier handling of new items.
Kevin Midboe
2017-04-06 10:12:11 +02:00
51227641e4
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
Kevin Midboe2017-04-05 18:57:36 +02:00
a8e1893d14
Now a git ignore to hide DS_Store and the shows database.
Kevin Midboe2017-04-05 18:56:53 +02:00
591bd323b1
The script showing how to get a language of a subtitle file by reading through and finding the closest matching language.
Kevin Midboe
2017-04-05 18:54:25 +02:00
300aa93b97
A script showing how to create a hash of a directory (or other byte object)
Kevin Midboe
2017-04-05 18:53:36 +02:00
54a562deca
Started working on making the logic of stray finder more compact by rewriting to use a class per media item
Kevin Midboe
2017-04-05 18:52:49 +02:00
315d844205
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
Kevin Midboe
2017-03-21 13:29:31 +01:00
15ac039f61
No functionality changes, just moved the functions around for better readability.
Kevin Midboe
2017-03-21 13:27:36 +01:00
869ffa6534
Created a test script for creating pastee docs and moved it to modules folder
Kevin Midboe
2017-03-21 13:26:33 +01:00
265c5504c6
Moved lookForNewEpisodes funciton down in the doc for better readability.
Kevin Midboe
2017-03-21 13:25:21 +01:00
55992983d1
Added paragraph for intro
Kevin Midboe
2017-03-21 13:24:04 +01:00
db29bbde69
Changed so that if no subs are found empty string is returned, and changed the directory for shows
Kevin Midboe2017-03-05 16:35:29 +01:00
169083960a
Now twitterString forces string for the episode and season values, and changed verified print statement to say verified instead of emoji (y)
Kevin Midboe2017-03-05 16:34:21 +01:00
315a138380
Changes to db and archived version of prev seasonedShows.py
KevinMidboe2017-03-05 15:57:58 +01:00
1156181709
Main function that calls all parts of program, need to sentralize things here.
KevinMidboe2017-03-05 15:57:29 +01:00
cd2dbc3479
Added a global function that runs all needed functions
KevinMidboe2017-03-05 15:57:00 +01:00
a79e565c3f
Now renames everything and gets location of original item and new location for item
KevinMidboe2017-03-05 15:25:00 +01:00
561e88933c
Unpacks jsonobjects to lists. Added functions for iterating through subtitles and media_items, and renaming them.
KevinMidboe2017-03-05 15:00:28 +01:00
ceb03ba7a7
Simplified the inputs to INSERT commands, also packs list as JSON object so it can be unpacked at other side
KevinMidboe2017-03-05 14:59:20 +01:00
4270c80e12
Function that gets all episodes that are verified from database
KevinMidboe2017-03-05 13:57:11 +01:00