Commit Graph

48 Commits

Author SHA1 Message Date
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
51227641e4 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-04-05 18:57:36 +02:00
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
322b45f4ef Update README.md 2017-03-07 14:37:39 +01:00
a08f8f4cae Added a loop function to run every 10 seconds 2017-03-05 17:27:25 +01:00
3ee9b0d5bd Updates to database 2017-03-05 17:26:38 +01:00
585f20acbc Not samples and RARGB files are excluded from media_items 2017-03-05 17:21:22 +01:00
ecb7c46f34 Added "/" to directory of trash deletor 2017-03-05 17:14:46 +01:00
e014b32511 Now trash iterates over json object not string of trash 2017-03-05 17:12:24 +01:00
07589d6c2b Now only deletes the files in trash 2017-03-05 17:09:54 +01:00
e3af744679 Now uses os.remove and os.rmdir instead of shutil that removes everything 2017-03-05 17:08:14 +01:00
fed2d94724 Forgot to import tweepy library in folderCreator 2017-03-05 17:02:03 +01:00
f55d7324cf Now favorites the response that verified the changes 2017-03-05 17:00:51 +01:00
bb50cf1619 Added response_id column to db 2017-03-05 16:58:24 +01:00
47da048975 Added support for new column response_id 2017-03-05 16:56:28 +01:00
c81d2df9e7 Added a new variable in db that holds responding tweet id 2017-03-05 16:54:43 +01:00
c0e05b8909 Added twitter api 2017-03-05 16:53:50 +01:00
a439222f76 Added delete folder with trash contents 2017-03-05 16:52:41 +01:00
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
748dfa5c5f Had wrong function call for folderCreator 2017-03-05 16:36:24 +01:00
24e20c7f5c Corrected show directory 2017-03-05 16:36:00 +01:00
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
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
315a138380 Changes to db and archived version of prev seasonedShows.py 2017-03-05 15:57:58 +01:00
1156181709 Main function that calls all parts of program, need to sentralize things here. 2017-03-05 15:57:29 +01:00
cd2dbc3479 Added a global function that runs all needed functions 2017-03-05 15:57:00 +01:00
a79e565c3f Now renames everything and gets location of original item and new location for item 2017-03-05 15:25:00 +01:00
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
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
4270c80e12 Function that gets all episodes that are verified from database 2017-03-05 13:57:11 +01:00
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
e11d3cbaed Added tweet-text from database instead of staticly. 2017-03-05 13:45:15 +01:00
bc48f21fdc Changed the value of tweetID to NULL when inserting new episode in shows database 2017-03-05 13:44:04 +01:00
5b1fca2c60 Updated readme with architecture explination 2017-03-05 01:01:52 +01:00
4d854a0f80 Did some formatting changes to make it more readable 2017-03-05 00:50:08 +01:00
9a04584b02 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-03-05 00:29:57 +01:00
9eb42b8f95 Removed info.txt file because was only used for earlier twitter setup 2017-03-05 00:29:32 +01:00
837b3ab838 Update README.md 2017-03-05 00:07:27 +01:00
c8be2fecdc Added old project, half finished and in many parts. More great improvements coming soon 2017-03-05 00:06:24 +01:00
0f22c371f3 Initial commit 2017-03-05 00:03:08 +01:00