Commit Graph

54 Commits

Author SHA1 Message Date
Kevin Midboe f3ef2ef15a The async function for getting episodes now send response when the async function is done. 2017-04-06 17:42:28 +02:00
Kevin Midboe 97e062ef13 Added sqlite3 to packages 2017-04-06 17:41:51 +02:00
KevinMidboe 8b81c33975 Started setup of webserver 2017-04-06 17:33:30 +02:00
KevinMidboe 53805b9118 There was a line split accidentally, this is now fixed 2017-04-06 12:32:02 +02:00
Kevin Midboe 79a71c0cff Added ds_store and the env variables. 2017-04-06 10:14:09 +02:00
Kevin Midboe d1b44739b1 Environment variables to more easily run on diff clients. 2017-04-06 10:13:04 +02:00
Kevin Midboe 43e5b42bbf Rewritten how the directory is scanned for new files and now all new items are class instances for easier handling of new items. 2017-04-06 10:12:11 +02:00
KevinMidboe 51227641e4 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-04-05 18:57:36 +02:00
KevinMidboe a8e1893d14 Now a git ignore to hide DS_Store and the shows database. 2017-04-05 18:56:53 +02:00
Kevin Midboe 591bd323b1 The script showing how to get a language of a subtitle file by reading through and finding the closest matching language. 2017-04-05 18:54:25 +02:00
Kevin Midboe 300aa93b97 A script showing how to create a hash of a directory (or other byte object) 2017-04-05 18:53:36 +02:00
Kevin Midboe 54a562deca Started working on making the logic of stray finder more compact by rewriting to use a class per media item 2017-04-05 18:52:49 +02:00
Kevin Midboe 315d844205 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-03-21 13:29:31 +01:00
Kevin Midboe 15ac039f61 No functionality changes, just moved the functions around for better readability. 2017-03-21 13:27:36 +01:00
Kevin Midboe 869ffa6534 Created a test script for creating pastee docs and moved it to modules folder 2017-03-21 13:26:33 +01:00
Kevin Midboe 265c5504c6 Moved lookForNewEpisodes funciton down in the doc for better readability. 2017-03-21 13:25:21 +01:00
Kevin Midboe 55992983d1 Added paragraph for intro 2017-03-21 13:24:04 +01:00
KevinMidboe 322b45f4ef Update README.md 2017-03-07 14:37:39 +01:00
KevinMidboe a08f8f4cae Added a loop function to run every 10 seconds 2017-03-05 17:27:25 +01:00
KevinMidboe 3ee9b0d5bd Updates to database 2017-03-05 17:26:38 +01:00
KevinMidboe 585f20acbc Not samples and RARGB files are excluded from media_items 2017-03-05 17:21:22 +01:00
KevinMidboe ecb7c46f34 Added "/" to directory of trash deletor 2017-03-05 17:14:46 +01:00
KevinMidboe e014b32511 Now trash iterates over json object not string of trash 2017-03-05 17:12:24 +01:00
KevinMidboe 07589d6c2b Now only deletes the files in trash 2017-03-05 17:09:54 +01:00
KevinMidboe e3af744679 Now uses os.remove and os.rmdir instead of shutil that removes everything 2017-03-05 17:08:14 +01:00
KevinMidboe fed2d94724 Forgot to import tweepy library in folderCreator 2017-03-05 17:02:03 +01:00
KevinMidboe f55d7324cf Now favorites the response that verified the changes 2017-03-05 17:00:51 +01:00
KevinMidboe bb50cf1619 Added response_id column to db 2017-03-05 16:58:24 +01:00
KevinMidboe 47da048975 Added support for new column response_id 2017-03-05 16:56:28 +01:00
KevinMidboe c81d2df9e7 Added a new variable in db that holds responding tweet id 2017-03-05 16:54:43 +01:00
KevinMidboe c0e05b8909 Added twitter api 2017-03-05 16:53:50 +01:00
KevinMidboe a439222f76 Added delete folder with trash contents 2017-03-05 16:52:41 +01:00
KevinMidboe 36cf0e7dcf Added os.rename to move the files to their new location, instead of printing the old and new location 2017-03-05 16:40:29 +01:00
KevinMidboe 748dfa5c5f Had wrong function call for folderCreator 2017-03-05 16:36:24 +01:00
KevinMidboe 24e20c7f5c Corrected show directory 2017-03-05 16:36:00 +01:00
KevinMidboe db29bbde69 Changed so that if no subs are found empty string is returned, and changed the directory for shows 2017-03-05 16:35:29 +01:00
KevinMidboe 169083960a Now twitterString forces string for the episode and season values, and changed verified print statement to say verified instead of emoji (y) 2017-03-05 16:34:21 +01:00
KevinMidboe 315a138380 Changes to db and archived version of prev seasonedShows.py 2017-03-05 15:57:58 +01:00
KevinMidboe 1156181709 Main function that calls all parts of program, need to sentralize things here. 2017-03-05 15:57:29 +01:00
KevinMidboe cd2dbc3479 Added a global function that runs all needed functions 2017-03-05 15:57:00 +01:00
KevinMidboe a79e565c3f Now renames everything and gets location of original item and new location for item 2017-03-05 15:25:00 +01:00
KevinMidboe 561e88933c Unpacks jsonobjects to lists. Added functions for iterating through subtitles and media_items, and renaming them. 2017-03-05 15:00:28 +01:00
KevinMidboe ceb03ba7a7 Simplified the inputs to INSERT commands, also packs list as JSON object so it can be unpacked at other side 2017-03-05 14:59:20 +01:00
KevinMidboe 4270c80e12 Function that gets all episodes that are verified from database 2017-03-05 13:57:11 +01:00
KevinMidboe 2fed63c1de This is a extracted and simpler funcioning version of twitterConversation where tweeting and inserting and altering database is added alongside confirmation reply is handled. 2017-03-05 13:47:01 +01:00
KevinMidboe e11d3cbaed Added tweet-text from database instead of staticly. 2017-03-05 13:45:15 +01:00
KevinMidboe bc48f21fdc Changed the value of tweetID to NULL when inserting new episode in shows database 2017-03-05 13:44:04 +01:00
KevinMidboe 5b1fca2c60 Updated readme with architecture explination 2017-03-05 01:01:52 +01:00
KevinMidboe 4d854a0f80 Did some formatting changes to make it more readable 2017-03-05 00:50:08 +01:00
KevinMidboe 9a04584b02 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-03-05 00:29:57 +01:00