Commit graph

1640 commits

Author SHA1 Message Date
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
5471a77480 Wrapped the bulk insert inside a transaction 2016-08-08 10:21:30 +01:00
tidusjar
1fa32d29ea Made the episode check parallel 2016-08-08 09:23:06 +01:00
tidusjar
25b8e2e78b Log out the GUID causing the issue 2016-08-08 08:50:11 +01:00
tidusjar
768519f28b fixed another test 2016-08-07 18:57:35 +01:00
tidusjar
348beb31ba Fixed tests 2016-08-07 18:57:01 +01:00
tidusjar
0699d777d6 Got mostly everything working for #254 Ready for testing 2016-08-07 18:54:49 +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
e5e1256fad Fix the log path issue #451 2016-08-05 12:40:43 +01:00
tidusjar
a3c3945540 Dump an item 2016-08-05 12:35:17 +01:00
tidusjar
c4a96e311c Changed the query slightly 2016-08-05 12:21:22 +01:00
tidusjar
94f8cee015 Small change with the return value in the batch insert 2016-08-05 12:09:21 +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
0f34885444 Consolidate newtonsoft.json packages 2016-08-04 12:08:03 +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
98662ab74e Another null check 2016-08-03 14:44:49 +01:00
tidusjar
cfd01fa86e Some more changes 2016-08-03 14:32:03 +01:00
tidusjar
f6e1176295 some error handling 2016-08-03 14:15:35 +01:00
tidusjar
61124624ae check if the sonarr ep is monitored 2016-08-03 13:58:50 +01:00
tidusjar
f271b0b4ce Added the Sonarr check for episodes #254 2016-08-03 13:48:13 +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
0657264dd3 Work on the UI to show what episodes have been requested #254 2016-08-02 15:16:14 +01:00
tidusjar
a5cbd5dfd6 small fix 2016-08-02 13:16:51 +01:00
tidusjar
4f71969ee5 Fix the api change in #450 2016-08-02 12:10:49 +01:00
tidusjar
50f9348350 Added unit tests 2016-08-01 13:24:26 +01:00
tidusjar
510e974283 #254 2016-08-01 10:39:32 +01:00
tidusjar
4392219823 Workaround for #440 2016-07-29 17:02:11 +01:00
tidusjar
b3e90c7a7f Async async async improvements. 2016-07-29 16:50:35 +01:00
tidusjar
236024e4ae Added #436 2016-07-29 14:14:30 +01:00
tidusjar
2105ee9073 Update build no 2016-07-29 13:49:39 +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
605f6f18fb Fixed #442 2016-07-28 14:02:19 +01:00
tidusjar
b4bc51c862 #254 2016-07-28 13:59:00 +01:00
tidusjar
5024178724 Work around the sonarr bug #254 2016-07-28 13:45:57 +01:00
tidusjar
5411225fa0 #254 having an issue with Sonarr 2016-07-27 19:43:41 +01:00
tidusjar
cd135d824c small bit of work on #266 2016-07-27 17:17:43 +01:00
tidusjar
a5257a0fbf #254 2016-07-27 16:56:19 +01:00
tidusjar
d458dca541 precheck and disable the episode boxes if we already have requested it. TODO check sonarr to see if it's already there. #254 2016-07-27 14:13:59 +01:00
tidusjar
767a045864 Fixed broken build 2016-07-27 12:57:23 +01:00
tidusjar
5041653c9a More work for #254 2016-07-27 12:55:22 +01:00
tidusjar
9aad3f9dc9 More work on #254 2016-07-26 21:27:28 +01:00
tidusjar
4d85000753 Fixed the bug in #438 and added unit tests to make so we dont break it in the future 2016-07-26 20:50:38 +01:00