Commit Graph

179 Commits (795e691bdb80a7014642aee26c808af43ff7b1c8)

Author SHA1 Message Date
tidusjar 963b4e6ee8 Added an option to disable/enable the Plex episode cacher
8 years ago
tidusjar f8457d1db2 Updated the episode cacher to have a minimum of 11 hours before it runs again.
8 years ago
tidusjar 6f008f77a3 Added some code to shrink the DB. reworked the search to speed it up.
8 years ago
tidusjar 97b1901a64 Change to use the GrandparentTitle rather than the thumbnail.... facepalm
8 years ago
tidusjar d19deea56c Added the transaction back into the DB.
8 years ago
tidusjar f112af7e85 Since we are multithreading, we should use a threadsafe type to store the episodes to prevent any threading or race conditions.
8 years ago
tidusjar 1fa32d29ea Made the episode check parallel
8 years ago
tidusjar 131a99b1bb Fixed issue with saving to db
8 years ago
tidusjar f60e880da5 Need to work out why the cacher is not working and where the datatype mismatch is
8 years ago
tidusjar f43d400cf6 don't delete first
8 years ago
tidusjar a3c3945540 Dump an item
8 years ago
tidusjar 2608e53399 #254 Removed the cache, we are now storing the plex information into the database.
8 years ago
tidusjar af1c93620f Small change in the episode saver
8 years ago
tidusjar 7f6c70d7b2 Some small tweaks to improve the memory alloc
8 years ago
tidusjar 5d18877b49 Short circuit when Plex hasn't been setup. Added Miniprofiler
8 years ago
tidusjar 698b08aff9 Updated Newtonsoft.Json, Autofixture, Nlog and Dapper packages
8 years ago
tidusjar 53f806fc71 Some performance improvements around the new TV stuff
8 years ago
tidusjar 4bccb8fcf0 Reworked the cacher, fixed the memory leak. No more logging within tight loops.
8 years ago
tidusjar 8f4adf780b Some logging
8 years ago
tidusjar a38877d984 Small changes, we will actually see the episode cacher on the scheduled jobs page now
8 years ago
tidusjar 236024e4ae Added #436
8 years ago
tidusjar 14fddfc118 Finished #266
8 years ago
tidusjar 5041653c9a More work for #254
8 years ago
tidusjar 0e99dc29c9 Finished up the SMTP side of #429
8 years ago
tidusjar 57ec940d5a Moved the plex auth token to the plex settings where it should belong.
8 years ago
tidusjar fea4dd6309 Fixed the way we will be using custom messages
8 years ago
tidusjar e82fad7428 Trycatch around the availbility checker
8 years ago
tidusjar a32599cbde Fixed a timing bug found the in build. Note, when working with time differences use TotalDays.
8 years ago
tidusjar a5899ff4af CodeCleanup
8 years ago
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.
8 years ago
tidusjar 88a43563c4 Added some of the backend bits for #182
8 years ago
tidusjar 3650c4f943 Finished #6
8 years ago
tidusjar 7a8d7e3f19 Started #243
8 years ago
tidusjar 8b52ba2967 Generic try catch to fix #350
9 years ago
tidusjar af9953be6c Added logging #350
9 years ago
tidusjar 0b1edcc488 Slight changes, moved the donate button
9 years ago
tidusjar 752915ea0a Potential fix for #350
9 years ago
Drewster727 818c2e80f7 better way of obtaining clean enum string
9 years ago
Drewster727 ffc0ec34c4 null provider check for movies
9 years ago
Drewster727 f76e54408e show request type in notifications #346 and fix an issue from previous commit for #345
9 years ago
Drewster727 96f27f8f1a add an option to stop sending notifications for requests that don't require approval #345
9 years ago
Drewster727 87bb392b41 fix obj ref error when scheduler runs (ProviderId is null?)
9 years ago
tidusjar 3e16d8acf0 done #318
9 years ago
tidusjar e8706354b9 Fixed tests
9 years ago
tidusjar 5a8342eeb8 We are now only keeping the latest 1000 log records in the database. Delete everything else.
9 years ago
tidusjar 89db8eb728 Added the new advanced search into the search page too.
9 years ago
tidusjar fefad77ac1 Attempting to improve #219
9 years ago
tidusjar 0ed75f163f Removed some DumpJson() from the trace logs.
9 years ago
tidusjar 6a33868ed9 Reduced kept logs for 2 days
9 years ago
tidusjar 67a079a17c updated nlog and fixed #295
9 years ago
tidusjar 9ffe184dd3 More for #273
9 years ago
tidusjar 6067a4743e Small changes
9 years ago
tidusjar c57f33151b Revert "Small changes"
9 years ago
tidusjar 6d40d3b891 Small changes
9 years ago
tidusjar 79a8cf2059 Removed static declarations
9 years ago
tidusjar 34e74c74c1 Fixed #277
9 years ago
tidusjar 31e5c07383 Fixed a bug in the user notification where if an admin wants to be notified they wouldn't be.
9 years ago
Drewster727 a679f1a6a1 fix null exception possibility in cp/sickrage cacher classes
9 years ago
tidusjar 573ad84fd8 Fixed #240
9 years ago
tidusjar 80d2a7f8e1 Fixed a small bug where an exception would get thrown
9 years ago
tidusjar 5a6863456f #164 has been resolved
9 years ago
tidusjar 8cce80654b Resolved #224 , Removed the 'SSL' option from the email notification settings. We will now use the correct secure socket options (SSL/TLS) for your email host.
9 years ago
tidusjar 4fd3db1ae5 Using Mailkit to fix #204
9 years ago
tidusjar e49b160500 Fully finished #27 just need to test it!
9 years ago
tidusjar 437a28b108 update
9 years ago
TidusJar 809b2bf0a8 Made the store backup clean up some of the older backups (> 7 days).
9 years ago
TidusJar 8f16869c68 nm,
9 years ago
TidusJar 24b329b132 Downgraded packages
9 years ago
TidusJar 674e2bdc07 updated packages
9 years ago
TidusJar 03c7585ebe Finished #209
9 years ago
tidusjar df3dc4ac04 - Added a visual indication on the UI to tell the admin there is a update available.
9 years ago
tidusjar af2c661d61 Finished #186
9 years ago
tidusjar c50e2bb644 Added the actual notification part of #27
9 years ago
Drewster727 ba06e8630f additional cacher error handling + don't bother checking the requests when we don't get data back from plex
9 years ago
tidusjar 83bbd3fd88 merge and small changes
9 years ago
tidusjar 07c00d232c small changes
9 years ago
Drewster727 508baeec04 increase the scheduler cache timeframe to avoid losing cache when the remote api endpoints go offline (due to a reboot or some other reason) -- if they're online, the cache will get refreshed every 10 minutes like normal
9 years ago
Drewster727 121465210d fix the cacher by adding locking + extra logging in the plex checker + use a const key for scheduler caching time
9 years ago
tidusjar 9c61f909de Switched out the schedulers, this seems to be a better implimentation to the previous and is easier to add new "jobs" in.
9 years ago
Drewster727 1fbe29af10 add an extra check when determining if a tv show is already available (also check if it starts with the show name returned from the tv db)
9 years ago
Drewster727 4c6c0ae900 cache plex library data regardless of whether we have requests in the database or not
9 years ago
Drewster727 770b447d5d return empty array when obtaining queued IDs in sickrage cacher
9 years ago
tidusjar 256cfbc80f Fixed a small bug in the SR cacher
9 years ago
tidusjar fdbb373da5 Finished up the caching TODO's
9 years ago
tidusjar 7679a13254 Fixed #154
9 years ago
Drewster727 3261bdbf9b revert everything (except PlexRequests.UI) back to .NET 4.5.2 -- fixes incompatibilities with the latest version of mono (4.2.3.4) -- fixes notifications not working #152 #147 #141
9 years ago
Drewster727 718e8868c1 #150 start caching plex media as well. refactored the availability checker. NEEDS TESTING. also, we need to make the Requests hit the plex api directly rather than hitting the cache as it does now.
9 years ago
Drewster727 e707837bf5 #150 split out the cache subscriptions to make sure they subscribe properly
9 years ago
Drewster727 5f67302b32 #150 sonarr/sickrage cache checking. sickrage has a couple small items left
9 years ago
Drewster727 5d1c1baae8 start the initial couchpotato cache call on a separate thread to keep the startup process quick
9 years ago
Drewster727 456e442fa3 add csproj with file changes from previous commit
9 years ago
Drewster727 6ed7df2c21 cache the couchpotato wanted list, update it on an interval, and use it to determine if a movie has been queued already
9 years ago
tidusjar f9cf728381 Changed the title to a contains but the artist still must match,
9 years ago
tidusjar 450fda6070 A bit more error handling #32
9 years ago
tidusjar 8a3576456c Added unit tests to cover the new changes to the availability checker
9 years ago
tidusjar c2737b76a8 Added the music check in the Plex Checker
9 years ago
tidusjar cf83e0e6d9 Improved the availabilty check to include music results #32
9 years ago
tidusjar 1332cc6d40 Upped the time of #123
9 years ago
tidusjar d6763bf435 Added happy path tests for the Checker
9 years ago
tidusjar 64125cc44c First attempt at #123
9 years ago