Commit graph

134 commits

Author SHA1 Message Date
tidusjar
764e158138 Add more unit tests 2016-08-12 14:42:48 +01:00
tidusjar
13324cac14 More unit tests around the login and also the core Plex Checker 2016-08-12 14:41:34 +01:00
tidusjar
d7997d5cc0 Reworked #466 2016-08-11 21:47:01 +01:00
tidusjar
4eff175424 Potentially fixed the issue where we were requesting everything that was also available now. 2016-08-11 14:08:54 +01:00
tidusjar
a7d5378426 Attempt at fixing a potential bug found from #466 2016-08-11 12:41:47 +01:00
tidusjar
963b4e6ee8 Added an option to disable/enable the Plex episode cacher 2016-08-10 12:39:48 +01:00
tidusjar
f8457d1db2 Updated the episode cacher to have a minimum of 11 hours before it runs again. 2016-08-10 12:28:39 +01:00
tidusjar
6f008f77a3 Added some code to shrink the DB. reworked the search to speed it up. 2016-08-08 15:41:01 +01:00
tidusjar
97b1901a64 Change to use the GrandparentTitle rather than the thumbnail.... facepalm 2016-08-08 13:45:18 +01:00
tidusjar
d19deea56c Added the transaction back into the DB.
Do not run the episode cacher if it's been run in the last hour
2016-08-08 13:38:26 +01:00
tidusjar
f112af7e85 Since we are multithreading, we should use a threadsafe type to store the episodes to prevent any threading or race conditions. 2016-08-08 10:52:15 +01:00
tidusjar
1fa32d29ea Made the episode check parallel 2016-08-08 09:23:06 +01:00
tidusjar
131a99b1bb Fixed issue with saving to db 2016-08-05 20:36:24 +01:00
tidusjar
f60e880da5 Need to work out why the cacher is not working and where the datatype mismatch is 2016-08-05 12:53:06 +01:00
tidusjar
f43d400cf6 don't delete first 2016-08-05 12:41:55 +01:00
tidusjar
a3c3945540 Dump an item 2016-08-05 12:35:17 +01:00
tidusjar
2608e53399 #254 Removed the cache, we are now storing the plex information into the database.
There is a big structure change around this, also increased the default check time to be in hours.
2016-08-05 11:34:00 +01:00
tidusjar
af1c93620f Small change in the episode saver 2016-08-05 08:48:51 +01:00
tidusjar
7f6c70d7b2 Some small tweaks to improve the memory alloc 2016-08-04 21:53:19 +01:00
tidusjar
5d18877b49 Short circuit when Plex hasn't been setup. Added Miniprofiler 2016-08-04 13:38:42 +01:00
tidusjar
698b08aff9 Updated Newtonsoft.Json, Autofixture, Nlog and Dapper packages 2016-08-04 11:54:39 +01:00
tidusjar
53f806fc71 Some performance improvements around the new TV stuff 2016-08-04 11:48:05 +01:00
tidusjar
4bccb8fcf0 Reworked the cacher, fixed the memory leak. No more logging within tight loops. 2016-08-03 22:10:36 +01:00
tidusjar
8f4adf780b Some logging 2016-08-03 13:26:02 +01:00
tidusjar
a38877d984 Small changes, we will actually see the episode cacher on the scheduled jobs page now 2016-08-03 13:01:32 +01:00
tidusjar
236024e4ae Added #436 2016-07-29 14:14:30 +01:00
tidusjar
14fddfc118 Finished #266
Added a new cacher job to cache all episodes in Plex.
2016-07-28 17:05:24 +01:00
tidusjar
5041653c9a More work for #254 2016-07-27 12:55:22 +01:00
tidusjar
0e99dc29c9 Finished up the SMTP side of #429 2016-07-25 10:11:33 +01:00
tidusjar
57ec940d5a Moved the plex auth token to the plex settings where it should belong. 2016-07-14 13:01:07 +01:00
tidusjar
fea4dd6309 Fixed the way we will be using custom messages 2016-07-07 15:37:12 +01:00
tidusjar
e82fad7428 Trycatch around the availbility checker 2016-07-06 08:53:32 +01:00
tidusjar
a32599cbde Fixed a timing bug found the in build. Note, when working with time differences use TotalDays. 2016-06-29 12:48:04 +01:00
tidusjar
a5899ff4af CodeCleanup 2016-06-29 09:43:02 +01:00
tidusjar
2d0b87b558 Fixed a bit of a stupid bug in the resetter and added unit tests around it to make sure this never happens again. 2016-06-29 09:42:17 +01:00
tidusjar
88a43563c4 Added some of the backend bits for #182 2016-06-28 16:32:57 +01:00
tidusjar
3650c4f943 Finished #6 2016-06-24 15:33:38 +01:00
tidusjar
7a8d7e3f19 Started #243 2016-06-24 09:39:31 +01:00
tidusjar
8b52ba2967 Generic try catch to fix #350 2016-06-22 22:21:25 +01:00
tidusjar
af9953be6c Added logging #350 2016-06-22 21:50:03 +01:00
tidusjar
0b1edcc488 Slight changes, moved the donate button 2016-06-22 20:33:24 +01:00
tidusjar
752915ea0a Potential fix for #350 2016-06-22 20:22:38 +01:00
Drewster727
818c2e80f7 better way of obtaining clean enum string 2016-06-22 11:27:09 -05:00
Drewster727
ffc0ec34c4 null provider check for movies 2016-06-21 21:11:36 -05:00
Drewster727
f76e54408e show request type in notifications #346 and fix an issue from previous commit for #345 2016-06-21 20:20:44 -05:00
Drewster727
96f27f8f1a add an option to stop sending notifications for requests that don't require approval #345 2016-06-21 19:43:31 -05:00
Drewster727
87bb392b41 fix obj ref error when scheduler runs (ProviderId is null?) 2016-06-21 15:50:39 -05:00
tidusjar
3e16d8acf0 done #318 2016-06-13 13:01:22 +01:00
tidusjar
e8706354b9 Fixed tests 2016-06-13 10:34:37 +01:00
tidusjar
5a8342eeb8 We are now only keeping the latest 1000 log records in the database. Delete everything else. 2016-06-10 12:25:58 +01:00