Commit Graph

1025 Commits

Author SHA1 Message Date
kay.one 9d90f04b6e Added Linq post filtering to indexer searches. 2012-01-19 22:01:30 -08:00
kay.one 7483d5d3a5 Added sab queue check for multiepisodes. 2012-01-19 21:50:17 -08:00
kay.one 9acfb7330c Check sab queue now takes quality into consideration 2012-01-19 21:50:16 -08:00
Mark McDowall e7b8ae4520 Nzbs.org will search for individual episodes with less strict terms. 2012-01-18 21:26:48 -08:00
kay.one d967d4198c Duplicated root folders are now blocked. 2012-01-18 21:06:48 -08:00
kay.one 7c6d745c86 You can no longer add root folders that don't already exist. 2012-01-18 21:06:45 -08:00
kay.one 9406ca9cf5 Better exception data for feed errors. 2012-01-18 21:06:44 -08:00
Mark McDowall b4eed1a657 SabProvider now gets JSON instead of XML for history and queue. 2012-01-18 20:05:03 -08:00
Mark McDowall 26c4240a6b SabProvider can now get the entire Queue for additional processing. 2012-01-18 16:05:44 -08:00
Mark McDowall 34206fc308 Renamed to skipHistory to make it more clear. 2012-01-17 23:46:17 -08:00
Mark McDowall 20c1639ada Added pre-search check for EpisodeSearch to see if an upgrade is possible, before attempting. 2012-01-17 23:45:21 -08:00
Mark McDowall d1262f1ced No longer checking history when doing a manual search. 2012-01-17 21:06:37 -08:00
kay.one 4da2e1cb72 Episode auto-ignore is now done in realtime rather than using a job. 2012-01-16 20:05:36 -08:00
Mark McDowall 218059e08d Added the ability to auto-ignore episodes for files that are deleted, good for people that delete after watching. Option is not exposed in the UI and is disabled by default (obviously). 2012-01-15 20:12:47 -08:00
kay.one 8f4f863631 Turning off tagging folder for now, to stop messing people's series folders 2012-01-14 19:17:23 -08:00
Mark McDowall 11b6720cd1 Backlog searching will be disabled by default. Option is available in Settings/Misc 2012-01-14 16:01:51 -08:00
Mark McDowall 3e9593ba3b SabProvider will use Series.Title instead of the series Path, it is first cleaned by MediaFileProvide.CleanName(). 2012-01-14 12:36:11 -08:00
Mark McDowall 7ff53e5ac2 Season 1, Episode 0 will not be automatically ignored (usually a pilot), with test. 2012-01-14 11:09:48 -08:00
Mark McDowall dfbb222c6c Changed the second .xvid to .divx.
.mkv & .ts will be treated as HDTV, all others will be treated as SDTV.
2012-01-13 21:40:09 -08:00
Mark McDowall f2984d9430 ts and ogm files will now be scanned. 2012-01-13 21:25:28 -08:00
kay.one e8e0e8e5dc Adding series with a ID of 0 is now blocked. 2012-01-13 14:16:33 -08:00
Mark McDowall ad4afbcb6d DailySeries now use the JSON API instead of the CSV file. 2012-01-12 20:08:58 -08:00
Mark McDowall afb8305c00 SceneMapping will use the JSON API instead of CSV file now. 2012-01-12 19:22:28 -08:00
Mark McDowall 5f0c03d69d Bug: Fixed ND-9, no longer strip out * from SABnzbd categories, * is Default. 2012-01-12 15:40:30 -08:00
Mark McDowall b52585d62a XbmcProvider will use the HTTP API when updating the library for Eden clients (EventServer was failing). 2012-01-09 23:10:53 -08:00
kay.one 721bb51886 logging updates. 2012-01-09 14:01:39 -08:00
kay.one 7ec89056af Auto adding of episodes is now disabled. (we should make it more conservative if we want to bring it back) 2012-01-06 13:26:05 -08:00
Mark McDowall a3f2ef6ec6 Added some logging and error handling to XbmcProvider.
Increased Json timeout to 20 seconds.
2012-01-05 22:29:02 -08:00
Mark McDowall 62da0568c0 AfterRename will now call AfterRename for each external notifier instead of OnRename.... C+P Fail.
Properly fixes ND-7
2012-01-04 19:53:22 -08:00
Mark McDowall e734bb6ecb ExternalNotification now has AfterRename, to notify (XBMC) after all episodes have been renamed. 2012-01-04 19:40:25 -08:00
Mark McDowall 348397e442 Fixed method call. 2012-01-04 17:29:05 -08:00
Mark McDowall 62a24ef900 Increased XBMC JSON API timeout to 10 seconds. 2012-01-04 17:09:47 -08:00
Mark McDowall 3dce784672 XbmcProvider uses Json.net for reading/writing JSON.
Updated for v3 of XBMC JSON API.
2012-01-04 16:41:42 -08:00
Mark McDowall b8559ccec3 Added hidden option to allow updating of XBMC even if video is playing. 2012-01-04 11:48:48 -08:00
Mark McDowall e4985cbd66 Moved try/catch for failed refresh episode info to job. 2012-01-04 11:24:17 -08:00
Mark McDowall ffde7c0987 Log indexer name when failing to process feed. 2012-01-01 12:17:53 -08:00
Mark McDowall 6bd0b8a39e Added additional logging when updating episode info. 2012-01-01 12:09:53 -08:00
Mark McDowall 2cc066ccf2 GetActivePlayers will now work with Eden and Dharma. 2011-12-31 12:57:02 -08:00
Mark McDowall 86c5e73f81 DailySeries.CSV now has series name along with series Id. 2011-12-19 17:15:15 -08:00
Mark McDowall 77bf257132 GetEpisodesByParseResult will log a warning when an episode is daily, but series isn't. 2011-12-19 16:46:14 -08:00
Mark McDowall 50e91c0043 Replaced get and post with ajax to prevent XSRF.
Replaced some usages of Console.Writeline with proper logging.
2011-12-19 00:36:57 -08:00
kay.one ab29a114d1 newzbing now uses HTTPS. 2011-12-14 19:54:03 -08:00
Mark McDowall 1c06ee2a01 PathEquals is used for MoveEpisodeFile.
Cleanup will log an error if it fails to alter the DB.
2011-12-14 17:26:22 -08:00
kay.one 98e8f4361e Better logging for auto adding new episodes. 2011-12-14 00:07:47 -08:00
Mark McDowall 1c99541731 Do not rename episodeFiles if the source and destination are the same (file is already named correctly). 2011-12-13 22:42:24 -08:00
Mark McDowall 2856c3dca3 Added more logging DiskScanProvider.CleanUp. 2011-12-13 20:52:01 -08:00
kay.one bfe4de7a08 Fixed some issue around path normalization. 2011-12-10 11:22:47 -08:00
kay.one e269494ff8 ParseSeriesName will now return normalized version of the title if it doesn't match any predefined
PostDownload provider will skip subfolders that are known series folders.
2011-12-10 10:54:16 -08:00
Mark McDowall 58abb6fbc2 SearchForSeries won't fail if an apostrophe is used in the search term (Let's PetaPoco handle building the query, as it should). 2011-12-08 00:44:22 -08:00
kay.one 6f9aaa1145 Merge branch 'markus' into kay.one 2011-12-07 19:54:50 -08:00
kay.one ba12465bb0 Removed code duplication in IndexerBase 2011-12-07 19:54:31 -08:00
Mark McDowall d2779d2cdf Fixed bug with duplicate episode naming. 2011-12-05 18:22:55 -08:00
Mark McDowall f3fbcec8cb GetEpisodesByParseResult will return multiple episode names when multiple episodes are found. 2011-12-01 22:26:24 -08:00
Mark McDowall dba5a1a236 GetSabTitle will now handle daily episodes. 2011-12-01 21:37:13 -08:00
Mark McDowall 8de49bb112 Moved RenameSeriesJob to the Jobs folder. 2011-12-01 21:14:59 -08:00
Mark McDowall 4100274b2e Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-12-01 20:27:55 -08:00
Mark McDowall 3b4b20cc95 SceneMappingProvider will perform an update if database is empty when looking for a SeriesId or SceneName. 2011-12-01 20:24:44 -08:00
kay.one fabc4c84bd Moved Jobs to their own folder. 2011-12-01 17:33:17 -08:00
Mark McDowall f9dab843ae Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-12-01 16:39:58 -08:00
kay.one cc8c70d7f5 Fixed some bugs, cleaned up some code. 2011-12-01 11:05:17 -08:00
Mark McDowall 027e16389b Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-30 23:12:45 -08:00
kay.one 85736029c8 Fixed issue where update provider called db in a loop. 2011-11-30 23:10:50 -08:00
Mark McDowall 1b0cdf922e Removed un-needed call from Episode Search.
InventoryProvider.IsAcceptableSize will now handle daily series properly.
2011-11-30 21:08:36 -08:00
Mark McDowall 6805a1041b InitializeJobs will use current DateTime to setup new jobs (Prevents jobs running immediately for new installs). 2011-11-30 18:23:22 -08:00
Mark McDowall fbc0a561ca Fixed a big where Season 0 wasn't being ignored for new seasons + a test to confirm it. 2011-11-30 00:21:18 -08:00
kay.one 30497357b4 Removed single search method in indexer base. 2011-11-28 22:49:38 -08:00
Mark McDowall 7af6977cab Indexers will actually support searching for daily episodes. 2011-11-28 12:05:28 -08:00
kay.one ed9460da66 Merge branch 'markus' into kay.one 2011-11-26 19:19:40 -08:00
kay.one 16eb22b3de Minor code changes 2011-11-26 19:19:11 -08:00
Mark McDowall 02f6af4750 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-26 11:10:36 -08:00
Mark McDowall 726eccb0e8 Processing of Daily Episode searching now supported. 2011-11-26 11:10:13 -08:00
kay.one 60814fde7b Fixed a bug in SeriesSearchJob that would cause it to fail. 2011-11-25 23:52:54 -08:00
kay.one 313d0f6b8e Fixed broken tests 2011-11-25 22:45:22 -08:00
kay.one 10264cba5c post download issues are only logged as warn the first time. 2011-11-25 22:38:22 -08:00
Mark McDowall cadccb4360 EpisodeSearch properly uses PerformSearch.
PerformSearch will handle shows that air daily.
2011-11-25 22:13:47 -08:00
Mark McDowall e16f83c433 Added ReferenceDataProvider to provide lookups (and refreshing) of IsDaily - which will check if the series is a daily series. 2011-11-25 18:20:50 -08:00
kay.one 68942e3c52 Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core/Providers/SearchProvider.cs
2011-11-25 16:56:38 -08:00
kay.one 034d0c46e5 Updated some logs, removed .vob .ts from video extentions 2011-11-25 15:46:29 -08:00
Mark McDowall 4180684a82 AppUpdateJob will run every 7 days. 2011-11-25 00:07:12 -08:00
Mark McDowall 65dfd3036a BacklogSearchJob will run every 30 days. 2011-11-25 00:05:24 -08:00
Mark McDowall 290e5d5897 Daily episodes that are added via RSS feed will have proper season and episode numbers. 2011-11-24 23:56:07 -08:00
Mark McDowall 8b841c633a Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-24 00:30:27 -08:00
Mark McDowall 38790e9f9c GetEpisodesByParseResult will properly handle Daily episodes. 2011-11-24 00:28:20 -08:00
kay.one 5c1f4bbf1a Database logging is now set to Info. 2011-11-23 23:34:59 -08:00
Mark McDowall 2aaa23b11d Refreshing EpisodeInfo will now set new or existing episodes that have air times prior to 1900 to null. 2011-11-23 22:28:52 -08:00
Mark McDowall 576f5c5c09 EpisodeSearch will now notify if no download is found. 2011-11-23 20:50:09 -08:00
Mark McDowall 90e15dbcdf Removed Injection for SeasonSearchJob on RecentBacklogSearchJob. 2011-11-23 17:10:20 -08:00
Mark McDowall e781501021 Added RecentBacklogSearchJob to fill missing episodes from the last 30 days, runs nightly. 2011-11-23 17:09:09 -08:00
Mark McDowall 04c71ff64c Extended the actions column width on Series Grid - FF was creating two rows of buttons. 2011-11-23 16:39:21 -08:00
Mark McDowall b02c7066ad Trim added to LogProvider.
TrimLogsJob added to trim the logs every 24 hours.
2011-11-21 23:35:11 -08:00
Mark McDowall 76114cf778 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-21 23:15:24 -08:00
kay.one 3520b56bb6 Update logs are now in the UI 2011-11-21 22:55:09 -08:00
Mark McDowall cc40b7d2f3 UpdateInfo and DiskScan jobs will process in Alphabetical order (ignoring articles). 2011-11-21 22:27:08 -08:00
kay.one 54e5874770 Update client is now moved rather than copied. 2011-11-21 20:42:05 -08:00
kay.one ceda9312c7 Added one last update notification 2011-11-20 22:21:36 -08:00
kay.one 0a70c836df Cleaned up progress notification. 2011-11-20 20:43:16 -08:00
kay.one 508be34ebc Update fixes. 2011-11-20 18:59:42 -08:00
kay.one 6778a6ed99 Moved duplicated NormalizePath method to PathExtentions 2011-11-20 16:35:29 -08:00
Mark McDowall b36dc4ab86 Refactored SearchProvider and corresponding unit tests. 2011-11-17 18:36:53 -08:00
Mark McDowall be423663d7 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-16 22:36:03 -08:00
Mark McDowall 30e21ecd16 Searching will be more picky now to ensure the proper series and season (and episode if relevant) 2011-11-16 22:32:44 -08:00
kay.one 04d40575da Cleaned up JobProviderFixture, should save ~20 seconds in build time. 2011-11-16 22:23:35 -08:00
Mark McDowall 067d735448 Set Newznab searching limit to 100 items, RSS queries will use the default (set per site, I think). 2011-11-16 17:05:22 -08:00
Mark McDowall 5ad11ba728 Fixed adding of Newznab provider. 2011-11-15 15:11:17 -08:00
Mark McDowall d5a602c4eb Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 21:37:13 -08:00
kay.one fbf7d20c5d Fixed update client path issue 2011-11-13 19:09:34 -08:00
kay.one 6369d4f817 Update updates ;) 2011-11-13 18:54:09 -08:00
kay.one 88f4d15fa9 Added some update tests 2011-11-13 17:27:11 -08:00
kay.one 56a6e1372d Update client is now included in the build package 2011-11-13 16:57:03 -08:00
Mark McDowall 639480e3ef Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 12:58:02 -08:00
Mark McDowall 6c86f1dfdd Newznab providers can be configured by the end user. 2011-11-13 12:51:15 -08:00
kay.one 72d0fc50ed Alot of refactoring. 2011-11-12 23:27:16 -08:00
kay.one 2e94e322f4 Path calculations are now done using extension methods. 2011-11-12 21:19:19 -08:00
kay.one 1270e464b3 More autoupdate code. 2011-11-12 20:07:06 -08:00
Mark McDowall 95cdc4b78c Moved FreeDiskSpace to DiskProvider. 2011-11-12 11:53:36 -08:00
Mark McDowall 80d7d38c7b Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core/Providers/ExternalNotification/Prowl.cs
	NzbDrone.Core/Providers/ProwlProvider.cs
2011-11-09 21:45:56 -08:00
kay.one 12c2f7193f Better fix for Prowl logging issues. 2011-11-09 21:30:51 -08:00
Mark McDowall 1cf17cfc11 Fixed Prowl ExternalNotifcation. 2011-11-09 21:05:57 -08:00
Mark McDowall bbd5cba272 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Fixed CentalDispatch Conflicts.
2011-11-09 20:14:19 -08:00
kay.one ca7deedfb9 CentralDispatch is no longer static. 2011-11-08 12:12:54 -08:00
kay.one 390dfbdee8 Fixed startup issue. 2011-11-06 22:38:07 -08:00
kay.one 07458529f6 JobProvider can reset itself.
cleaned up unit test logging
2011-11-06 22:26:21 -08:00
kay.one 82b6ec5ed4 Some test cleanup 2011-11-03 16:23:54 -07:00
kay.one 633f0b6197 PathProvider. visit us for all of your pathing needs. 2011-11-02 22:04:14 -07:00
Mark McDowall 277b873b39 Added Prowl notifications. 2011-11-02 19:44:22 -07:00
Mark McDowall be64822f08 Added Growl Settings to GUI. 2011-11-02 00:09:52 -07:00
Mark McDowall 3fe1e80ccb Added Growl (Not yet visible on the GUI). 2011-11-01 20:08:53 -07:00
Mark McDowall dd7dcf4db8 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-31 16:27:00 -07:00
kay.one cd32a70179 Starting path clean up. (All paths should go through EnvironmentProvider) 2011-10-28 21:54:33 -07:00
Mark McDowall d9bef59ec2 Twitter notifications working from end-to-end. 2011-10-28 01:14:13 -07:00
Mark McDowall a2735d7716 Twatter has been added, Notifications cannot be saved (yet), nor will they send, but the framework for a user to setup Twitter (Authorize NzbDrone) is in place. 2011-10-28 00:57:00 -07:00
Mark McDowall 2c93a27962 Added SMTP settings editing to the UI.
Added testing of SMTP settings to the settings page.
Cleaned up some extraneous lines of JS and HTML.
2011-10-26 22:46:54 -07:00
Mark McDowall 9957aef811 Added SMTP as an ExternalNotifcation method. 2011-10-25 19:25:08 -07:00
kay.one b3e4485d71 Post processor now deletes folders that are less than 40MB. 2011-10-24 22:15:20 -07:00
kay.one 3dd7b3d768 This should fix the bug where a folder was tried to be retagged with the same error. 2011-10-24 21:34:48 -07:00
kay.one 4ae268b8e5 lots of different things ;) 2011-10-23 22:54:09 -07:00
kay.one 6828f099bc Removed all static state tracking from job provider. 2011-10-23 14:53:24 -07:00
kay.one c23e736cc6 Cleaned up ConfigProvider. Added reflection based test for all properties in ConfigProvider. 2011-10-23 13:35:16 -07:00
kay.one 7563527eac Reformated PostDownloadProvider.cs 2011-10-22 19:34:31 -07:00
kay.one ec08436587 Refactored the shit out of PostDownloadProvider 2011-10-22 19:31:28 -07:00
kay.one 35e44284c0 Fixed broken test, drop folder prefix uses regex instead of prefix now. 2011-10-22 16:28:57 -07:00
Mark McDowall bb5febaade DiskScanProvider.Scan() will log a warning if the path doesn't exist. 2011-10-22 12:03:54 -07:00
Mark McDowall 0cce31cbc8 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-22 11:11:52 -07:00
Mark McDowall 11e1deb5f7 PostDownloadProvider was treating successful downloads as ones with an error and incorrectly trying to rename them before processing. 2011-10-21 16:49:30 -07:00
kay.one e4d90e2f92 Merge branch 'markus' into kay.one 2011-10-21 00:00:10 -07:00
Mark McDowall 72c555f250 Local series search will now search anywhere in the title, not just the beginning. 2011-10-20 23:06:36 -07:00
kay.one 651a63edea Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core.Test/ProviderTests/LogProviderTest.cs
2011-10-20 22:08:55 -07:00
kay.one 8f9946eb63 Added some update APIs to check for updates and download and extract the update package.
Todo: apply updated, UI.
2011-10-20 22:04:26 -07:00
Mark McDowall f6e14b51f6 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-20 16:39:13 -07:00
Mark McDowall 745d9d9355 TopSlider added for local series searching!
Should be easy to add others (would want to have it close other open ones, I think).
2011-10-20 16:36:47 -07:00
Keivan Beigi ae1a32b874 Fixed an issue where GetEpisodesByParseResult would throw object reference when episode list was null 2011-10-20 16:07:47 -07:00
Mark McDowall a3e5c90319 Cleanup generating paths for error scenarios. 2011-10-18 16:49:43 -07:00
Mark McDowall e87cdbde44 Removed SharedLiveTemplates.xml.
Cleaned up PostDownloadProvider, added more tests.
2011-10-17 20:08:26 -07:00
Mark McDowall 66b4b094f9 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/EpisodeProviderTest.cs
	NzbDrone.Core/Providers/PostDownloadProvider.cs
2011-10-17 15:30:43 -07:00
Mark McDowall 642707e46d Fixed some issues with PostDownloadProvider.
Added tests for PostDownloadProvider.
2011-10-17 13:05:38 -07:00
Keivan Beigi 6af98f9e96 more better exception handling. 2011-10-17 12:23:34 -07:00
Mark McDowall b3abcb6096 RootDirProvider.GetMostFreeRootDir() will calculate the find the RootDir with the most free space and return its path. 2011-10-15 11:54:39 -07:00
Mark McDowall 117cebe655 Found and fixed a bug in EpisodeProvider.GetEpisodesByParseResults, where it would incorrectly return all episodes for a season when a file was detected as a Full Season release. 2011-10-15 11:51:11 -07:00
Mark McDowall 8cac84b4ad PostDownloadProvider broken down further.
Will try to reprocess _NzbDrone_ directories each pass, but will mark with an error when possible.
Attempt to process _UNPACK_ and _FAILED_ directories 30 minutes after first detected by NzbDrone (to give SAB time to unpack properly before processing).
2011-10-14 08:37:19 -07:00
Mark McDowall 04ed22db55 Moved core of PostDownloadScanJob to PostDownloadProvider. 2011-10-12 16:47:28 -07:00
Mark McDowall 5098ea3249 Added two new Episode Statuses - Unpacking and Failed.
Tests added to support new Statuses.
PostDownloadScanJob will update PostDownloadStatus for failed or unpacking.
ImportFile will set the PostDownloadStatus to Processed when added to the database.
2011-10-11 20:44:19 -07:00
Mark McDowall c534d47b0a Added InheritFolderPermissions to DiskProvider.
DiskScanProvider.MoveEpisode will now set the moved file to inherit the parent folder permissions.
2011-10-10 21:00:31 -07:00
Mark McDowall f973c74c87 ConfigFileProvider will now add missing config values automatically, with a default value.
Added Handbrake and AtomicParsley wrappers for iPod video conversion.
2011-10-06 21:36:47 -07:00
Mark McDowall 33930534c2 Ignore Episode Zero when adding a new episode to the database, either via GetEpisodesByParseResult
or RefreshEpisodeInfo. With tests.
2011-10-03 19:01:39 -07:00
Mark McDowall 2cafedb1aa UpcomingEpisodes will not show ignored episodes. 2011-10-03 16:53:21 -07:00
Mark McDowall 7db08a10ec Next airing will not show ignored episodes. 2011-10-03 16:38:22 -07:00
Mark McDowall ec6a0e6b7f App_Data added to .gitignore
Added SetValue to ConfigFileProvider.
Added creating of default config file in ConfigFileProvider.
Added more ConfigFileProvider tests.
Added UI for Settings/System
2011-10-01 00:04:06 -07:00
Mark McDowall f0f706b32c ConfigFile for NzbDrone.exe is now stored under App_Data for NzbDrone.Web. - This will be to provide the users a way to edit Port and set whether they want their default browser to open on startup, all form the WebUI (and not be overwritten on upgrades). 2011-09-30 20:12:18 -07:00
Mark McDowall 79472964ed DeleteInvalidEpisodes Deletes by TvDbId only, skipping any manually added episodes (TvDbEpisodeId is 0 or null) 2011-09-30 09:32:57 -07:00
Mark McDowall 30ffe79442 DeleteInvalidEpisodes with tests added to delete episodes that TheTvDb no longer has (previously bad data). 2011-09-29 21:40:00 -07:00
Mark McDowall 7ca59b92aa Replace '&' with its XML encoded equivalent, before parsing XML.
Added test to check for proper XML parsing with illegal characters.
2011-09-28 21:39:05 -07:00
Mark McDowall 6736afbeab Added NextAiring to Series (ResultColumn), which is used for Series/Index. Added tests and fixed broken tests after adding new property. 2011-09-28 10:56:30 -07:00
Mark McDowall 5f0a95b2b1 Fixed XBMC JSON requests. 2011-09-27 10:41:36 -07:00
Mark McDowall 4eea6b8c6b Added fix for HttpProvider.PostCommand so it uses a valid URL. 2011-09-26 17:50:58 -07:00
Mark McDowall b239e28898 Added additional logging to XBMC Provider, to trace failure to update library. 2011-09-26 17:17:41 -07:00
Mark McDowall 4604bbd821 Mark invalid series downloads with NzbDrone prefix.
Fixed broken tests.
2011-09-18 13:53:05 -07:00
Mark McDowall 8c06dde28a Quality size sliders are implemented. Limits are calculated based on MB/Minute. 2011-09-15 21:42:30 -07:00
Mark McDowall 4b2427ade7 Report size is now verified to ensure it is under the MaxSize for that quality type, with tests. 2011-09-13 21:37:22 -07:00
Mark McDowall e4f01ae0d4 Size is now parsed for each item in the feed.
QualityType added to database to allow saving of size limits.
Fluent now uses longs for multiplication, to ensure it doesn't overflow.
2011-09-13 19:25:33 -07:00
Mark McDowall dfd0720872 Added BannerDownloadJob, it will run every 30 days.
New series will have their banner downloaded on import.
2011-09-10 01:42:05 -07:00
Mark McDowall a56213047f EpisodeSearch now gets the proper QualityProfile (broken after removing AttachSeries), tests updated. 2011-09-05 17:44:03 -07:00
Mark McDowall 1f2a1e3206 Season searching fallback to individual episodes will done in order from 1 to n. 2011-09-05 15:26:53 -07:00
Mark McDowall 179de93a6e Removed AttachSeries for IEnumerable and using join instead, speed difference is negligible or in some cases faster . 2011-09-04 19:56:45 -07:00
Mark McDowall 8592ae4c88 AttachSeries is no longer used for single episodes, PetaPoco will get the series in a single call for us. 2011-09-04 02:20:49 -07:00
Mark McDowall 9fd2f9ec72 Fixed notification messages for Season searches. 2011-09-04 01:12:30 -07:00
Mark McDowall 0a65e85e21 EpisodesWithFiles now returns the full series object, instead of just the SeriesTitle (So we don't need to add junk to the Episode class) 2011-09-04 00:45:58 -07:00
Mark McDowall 421ba466a8 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-09-03 20:05:56 -07:00
Mark McDowall 0b586de226 Added misnamed provider, PLINQ speeds it up, but still to slow for use, paging helps, but isn't consistent.
A bunch of files changed removing System.Linq, thanks Resharper :(
2011-09-03 20:05:44 -07:00
kay.one bab358398a potential fix for "Execution lock has fucked up" 2011-09-02 22:30:18 -07:00
Mark McDowall 35cad3d27e Added partial season searching when a full season NZB is not available. 2011-08-31 23:58:54 -07:00
Mark McDowall fbb4ced77c Full season searching for Nzbs.org and NzbMatrix will also look for S01 in addition to Season. 2011-08-31 17:17:35 -07:00
Mark McDowall f02e92b005 Fixed EpisodeSorting examples layout.
Added Missing to main UI.
Add links to series from History and Missing.
Image for search link on Missing.
2011-08-30 17:15:22 -07:00
kay.one 9244a4e6ef Update episode info now uses UpdateMany, InsertMany 2011-08-28 20:03:40 -07:00
Mark McDowall 2980c91f19 GetSabName will return cleaner Season naming when it is a FullSeason release. 2011-08-28 15:22:19 -07:00
Mark McDowall f604c35768 Backlog search added (disabled) - It will search for a full season if a full season is missing. 2011-08-28 12:07:56 -07:00
Mark McDowall 273530eda2 SeriesSearchJob uses SeasonSearchJob to try to download seasons first. 2011-08-27 23:37:34 -07:00
Mark McDowall 485f618e02 Full Season searching added (Single NZB). SearchProvider added to perform both Season and Episode searching, triggered via jobs.
Tests added for season searching.
2011-08-27 22:45:36 -07:00
Mark McDowall ac3c3386fc Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search) 2011-08-26 17:59:51 -07:00
Mark McDowall 1d983801e8 SABnzbd settings will now dynamically get the categories available from SABnzbd when the category drop-box gets focus, it will use values on the page so there is no need to save your settings first. 2011-08-26 10:45:59 -07:00
Mark McDowall d554e9ec83 Delete existing files on import if equal or better quality otherwise skip importing. If the folder is not deleted after processing it is renamed so it will not be processed repeatedly. 2011-08-25 23:23:21 -07:00
Mark McDowall 667fc5d69b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-24 16:57:00 -07:00
kay.one 6bab9a34dd Improved job thread execution locking log 2011-08-24 16:54:48 -07:00
Mark McDowall fb9c2b6d9e Fixed SceneMappingProvider to resolve an issue with series with multiple clean names failing to return a Scene Name when being looked up via SeriesId. 2011-08-22 23:07:04 -07:00
Mark McDowall f6c9fa4f95 Added SeriesSearch and RenameSeries jobs.
Add UI controls for new jobs.
Skip ignored episodes when doing series/season searches.
2011-08-22 22:29:12 -07:00
Mark McDowall 66522b8109 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-21 18:21:48 -07:00
kay.one 1e9b279a9b Removed basic notification. client side notification should be used. 2011-08-21 18:19:34 -07:00
Mark McDowall 350e0388de Updated JobProvider to allow jobs with two targets.
JobQueueItem class created instead of using Tuples.
Added Search for Season and Rename Season jobs , plus links for them on Series/Details.
Add GetSeasonFiles added to MediaFileProvider.
2011-08-21 17:48:37 -07:00
kay.one eaaf464d38 Merge branch 'markus101' 2011-08-06 22:49:50 -07:00
kay.one 2601c7c1b9 minor changes 2011-08-06 22:49:07 -07:00
Mark McDowall 13d947d24d Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-05 19:05:08 -07:00
kay.one 79b2fad6e3 Removing items from job queue is now done while a lock is acquired. 2011-08-04 21:49:18 -07:00
Mark McDowall d85a8bc15d If an unsorted episode that had a series that was not being watched it would prevent additional episodes from being processed. 2011-08-04 21:22:42 -07:00
Mark McDowall 412a3fc476 EpisodesWithoutFiles now skips ignored episodes, Tests updated. 2011-08-03 22:56:42 -07:00
Mark McDowall 4f68d07c9a Fixed issue with missing episodes incorrectly using include specials.
Added tests for missing episodes.
2011-08-03 22:44:24 -07:00
Mark McDowall 45b4bb4629 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-03 19:23:20 -07:00
Mark McDowall c88ead0585 Wired in the season and episode ignore saving.
Converted setSeasonIgnore & setEpisodeIgnore to use inline SQL.
Added tests for setSeasonIgnore & setEpisodeIgnore.
2011-08-03 18:45:45 -07:00
kay.one 9cb33770a0 Added Readme 2011-08-03 09:29:03 -07:00
Mark McDowall 559011ba82 SeriesPathExists compares paths in lower-case now.
GitHub Issue #9
2011-07-28 18:03:24 -07:00
Mark McDowall e29fee9686 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-07-28 00:22:12 -07:00
Mark McDowall ee4b6c9442 ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename
Notification Settings for Xbmc uses definitions.
2011-07-28 00:21:49 -07:00
kay.one 28b840766e Merge branch 'markus101' 2011-07-27 16:05:08 -07:00
kay.one b4fb3002a4 Updated Add Series 2011-07-27 15:59:48 -07:00
Mark McDowall 0ed898b6db IsIgnored will now be checked when adding new episodes to the DB, it will:
- ignore new episodes of a season if that season was already ignored
- ignore new seasons if the previous was ignored
- ignore specials (when a new series is added), if a user chooses to download specials, all new specials will not be ignored

Added tests for IsIgnored and AddEpisode changes.
2011-07-22 17:57:52 -07:00
kay.one 68321c98d0 increased delete folder limit size to 10MB 2011-07-17 16:15:37 -07:00
kay.one b11a449f65 Updated PetaPoco
Upped IIS's priority
Added Byte multiplier to extention method.
2011-07-17 12:32:58 -07:00
kay.one d640fa65e8 Fixed orphaned job issue in JobController
System/Jobs now shows items currently in queue.
2011-07-10 21:53:34 -07:00
kay.one 77c82df482 Priority/JobProvider tweaks 2011-07-10 17:03:01 -07:00
kay.one 291e2c399e Merge branch 'markus101' 2011-07-10 13:16:22 -07:00
kay.one 8d12630856 Newzbin now parses the language out properly.
Fetch episode filters episodes from wrong series
2011-07-10 12:52:29 -07:00
Mark McDowall 67299f0d97 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
2011-07-09 19:48:02 -07:00
Mark McDowall 7ec499acab Series with Episode count now ignores shows that haven't aired (includes ones that air today). 2011-07-09 19:45:31 -07:00
Mark McDowall 348ff5a386 XbmcProvider updated to include new Json API methods.
EventClient is used for sending CleanLibrary and Notifications (With NzbDrone Logo - Internal Resource).
Support for Dharma's HTTP Server (Deprecated), since Dharma doesn't support Json as well.
2011-07-09 11:19:33 -07:00
kay.one 6393d0a3f9 Added Tests for CentralDispatch 2011-07-07 22:41:08 -07:00
kay.one b086414d75 some cleanup 2011-07-07 20:57:44 -07:00
kay.one edf9d1d2cc Initial quality is only setup if no other quality profiles exists. 2011-07-07 20:57:31 -07:00
kay.one 452b5c8f84 Renamed sorting config keys 2011-07-07 20:36:02 -07:00
kay.one 15aedfc847 some db/migration cleanup 2011-07-07 20:27:11 -07:00
kay.one f0735c0693 minor tweaks 2011-07-06 00:36:49 -07:00
kay.one fc0d7fc72f Logging notification tweaks 2011-07-05 23:17:21 -07:00
kay.one 3dd8e7240e Added GetDirectorySize to DiskProvider
Removed search folder from disk provider
2011-07-05 00:09:07 -07:00
kay.one 8b0c8afb81 PostDownloadScanJob will not fail completely if a single folder fails. 2011-07-04 23:52:06 -07:00
kay.one 2a64014c96 Added version to page footer, minor tweaks. 2011-07-04 23:46:03 -07:00
kay.one cfd42049e5 minor cleanup 2011-07-03 17:18:27 -07:00
kay.one c37544d4ce Episode is now marked as grabbed on download 2011-07-03 16:04:57 -07:00
kay.one f2b091dcd2 Fixed issue with nzbs.org search where title contained brackets 2011-07-03 15:32:36 -07:00
kay.one 861026f743 Fixed some petapoco issue with insert. 2011-07-02 16:45:29 -07:00
kay.one 5a4e8330b2 Updated petapoco to 4.0.3 2011-07-02 16:12:20 -07:00
kay.one b8b4e507b9 Added more video extensions 2011-07-02 15:18:19 -07:00
kay.one cd96d546e8 limited newzbin search to English only. 2011-07-02 11:41:23 -07:00
kay.one 555e62fd17 fixed some notification issues 2011-07-02 10:41:10 -07:00
kay.one a1caa789fe Instant progress notifications. Now use comet instead of pooling. 2011-07-02 01:56:58 -07:00
kay.one 07312780f1 ParseEpisodeInfo is now separated into ParseTitle and ParsePath 2011-06-29 16:31:16 -07:00
Mark McDowall 87e9589761 Remove empty folders after importing new downloads.
Fixed American Dad test (new season added to TheTvDb).
Removed unneeded .ToList()
2011-06-25 19:50:18 -07:00
kay.one a9df506ef2 Downgraded to MiniProfiler 1.2
ConfigProvider now logs in Trace level rather than debug level
2011-06-23 21:17:49 -07:00
kay.one 54e81035fc Merge branch 'markus101' 2011-06-23 18:31:05 -07:00
kay.one df0637d3d1 CDN Updates. packaging updates 2011-06-23 18:30:35 -07:00
Mark McDowall 342406784a Fixed seriesGrid query and tests.
Fixed GetEpisodeModels that would fail due to a null AirDate.
2011-06-23 11:37:17 -07:00
Mark McDowall 938fa24a8e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-23 00:05:18 -07:00
kay.one 69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
Mark McDowall 9f5b461274 MediaFileProvider delete fixed to delete EpisodeFile with key of Int32 instead of object Int32. Added test to ensure File is deleted, but others remain. 2011-06-22 00:26:36 -07:00
Mark McDowall 1057c5941a Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-21 23:40:16 -07:00
Mark McDowall 3a065b86f1 Fixed series grid after save so it has proper counts. 2011-06-21 23:39:45 -07:00
kay.one 5a5d0852ee Updated some log levels 2011-06-21 23:36:07 -07:00
kay.one 13732a3f2e Updated some log levels 2011-06-21 23:34:33 -07:00
kay.one 56fdf1a040 Removed Episodes list from EpisodeFile object. 2011-06-21 22:44:57 -07:00
Mark McDowall 351f73b520 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-21 20:40:37 -07:00
Mark McDowall 584a96a4f2 CalculateFilePath will use configured season folder, with tests.
MoveFile creates folder before move.
2011-06-21 20:40:24 -07:00
kay.one 3bafd2237f Merge branch 'markus101' 2011-06-21 20:39:20 -07:00
kay.one 5fb2c61c77 Fixed sab title issue
Added profiling to OpenSharedconnection
2011-06-21 20:38:46 -07:00
Mark McDowall a31858bb4c Merge with Kayone. 2011-06-21 19:41:06 -07:00
Mark McDowall 8d4f65b7dc History Items are now added with series. Test makes sure seriesId is sent in. 2011-06-21 19:15:39 -07:00
kay.one f6ccb5e17c Fixed broken build 2011-06-21 18:22:52 -07:00
kay.one 31c16b9004 Merge branch 'markus101' 2011-06-21 18:17:03 -07:00
kay.one 01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
Mark McDowall ecd0fb50a8 Removed extra injects that weren't needed.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database. -Missed in last commit apparently.
2011-06-21 18:10:31 -07:00
Mark McDowall cdf77ad2df Changed QualityProfile to a ResultColumn to make note that it will be used as a result only.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database.
2011-06-21 17:11:08 -07:00
kay.one 1ba74e0eea Drop folder is now wired. needs more tests. 2011-06-20 23:34:45 -07:00
kay.one 5c45515b00 Merge branch 'markus101' 2011-06-20 22:44:30 -07:00
kay.one 63adb6b566 Wired-up drop folder move 2011-06-20 22:44:01 -07:00
Mark McDowall 68b7ba9209 Added method to delete orphaned episodeFiles and also cleanup episodes that have invalid episodeFiles.
Cleanup will run aforementioned methods before doing cleanup.
2011-06-20 18:49:16 -07:00
Mark McDowall 208feb7d19 CleanFileName when getting new filename from MediaFileProvider. 2011-06-20 16:46:54 -07:00
Mark McDowall 244e0f04f4 Fixed UnitTests (set EpisodeFileId to zero where no episo.de file is expected back) 2011-06-20 00:40:45 -07:00
Mark McDowall d416ec0147 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
2011-06-20 00:16:01 -07:00
Mark McDowall 431d850d32 SeriesProvider gets QualityProfile in single call to DB.
SeriesProvider.GetAllSeriesWithEpisodeCount gets seasonCount(with or without specials), total episode count & episodeWithFile count (excluding ignored episodes).
Added tests for SeriesWithEpisodeCount.
2011-06-20 00:13:17 -07:00
kay.one ef9bbdc60e Removed leftover code from old ages ;) 2011-06-19 23:28:42 -07:00
kay.one 907c508a70 PetaPoco now defaults to SQLite, requires WHERE on exists calls 2011-06-19 22:08:58 -07:00
kay.one 852b1e9bb5 Merge branch 'markus101' 2011-06-19 20:28:09 -07:00
kay.one 45549fa50b Fixed attach series issue and null episodes. 2011-06-19 20:25:24 -07:00
kay.one 8b7c624d09 Reformated some files 2011-06-19 20:25:04 -07:00
Mark McDowall 86ab26e2d9 UpcomingProvider now gets Series in call for episodes. 2011-06-19 20:08:09 -07:00
kay.one 63bd972af9 Refactored MediaFileProvider 2011-06-19 20:04:08 -07:00
kay.one cfcb9e61d7 Cleaned up import file a bit 2011-06-19 19:33:43 -07:00
kay.one d3f823734e Cleanedup get GetNewFilename 2011-06-19 18:59:31 -07:00
Mark McDowall b084a3bc46 EpisodeProvider GetEpisode(s) returns episodes with EpisodeFiles. 2011-06-19 18:46:32 -07:00
Mark McDowall 7b5556199f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-19 17:23:59 -07:00
Mark McDowall 0972c956b8 HistoryProvider will return History Items with Episode and SeriesTitle. 2011-06-19 16:44:45 -07:00
kay.one a853f80f9e Fixed season ignore 2011-06-19 13:43:33 -07:00
kay.one f211f99960 Fix issue on in ImportFile 2011-06-19 10:57:35 -07:00
kay.one 7560a70dd4 fixed duplicated episodes coming in from Tvdb 2011-06-19 10:56:54 -07:00
kay.one 3d3e864094 EpisodeProvider now fills Series property for all episodes returned. 2011-06-18 22:57:24 -07:00
kay.one a990fb91d5 SeriesProvider.GetSeries(int seriesId) will now fail if series is not found. 2011-06-18 22:56:52 -07:00
Mark McDowall 5c055ebb9a Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB. 2011-06-18 16:03:58 -07:00
Mark McDowall a771d2cfa9 Changed all Single<T> to SingleOrDefault<T> 2011-06-18 12:56:17 -07:00
kay.one b00e437e56 Added Fluent.cs to allow string default extention method eg. "Series.Title.WithDefault(series.SeriesId)" 2011-06-18 10:19:24 -07:00
kay.one ed4976de90 Fixed notifications, episodestatus test 2011-06-18 10:18:25 -07:00
kay.one d55e2606ad Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
2011-06-18 01:36:05 -07:00
Mark McDowall d6920ee8ea Fixed EpisodeProvider queries with multiple terms.
SeriesProvider.FindSeries will now return the QualityProfile when a series is found.
2011-06-18 00:17:47 -07:00
kay.one a12e148d54 Removed unnecessary IsDailyFlag from episode.cs 2011-06-17 23:39:14 -07:00
kay.one 520e9c9d14 Fixed Series.QualityProfile relationship
more subsonic cleanup
2011-06-17 21:39:02 -07:00
kay.one 17d084cdf3 Removed Series.Episodes and Series.EpisodeFiles list. 2011-06-17 21:08:17 -07:00
kay.one aa836f6a88 Fixed exception when GetSeries(int seriesId) where seriesId didnt' exist 2011-06-17 20:36:22 -07:00
kay.one f4a765817b Fixed some small issues, here and there. 2011-06-17 19:51:53 -07:00
kay.one acf23d4fc2 Removed subsonic completely 2011-06-17 18:46:22 -07:00
Mark McDowall 01944acbb1 IndexerProvider now uses PetaPoco. 2011-06-17 17:10:33 -07:00
Mark McDowall 335639fabc UpcomingEpisodesProvider moved to PetaPoco.
MigrationHelper won't run Subsonic Migrations now.
2011-06-17 16:01:09 -07:00
Mark McDowall 446a939f45 QualityProvider moved to PetaPoco. 2011-06-17 13:31:25 -07:00
Mark McDowall 9daf1ccfc0 JobProvider moved to PetaPoco. 2011-06-17 12:50:49 -07:00
Mark McDowall 901db9d58b ExternalNotificationProvider moved to Peta. 2011-06-17 12:18:50 -07:00
Mark McDowall f7ee16dbba RootDirs moved to PetaPoco. Removed SubSonic references from EpisodeFile & SceneMapping. 2011-06-17 08:27:18 -07:00
kay.one 2a32770b69 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Datastore/Migrations/MigrationExport.cs
2011-06-17 00:01:49 -07:00
kay.one 3ef17273fd HistoryProvider now uses PetaPoco 2011-06-16 23:59:13 -07:00
Mark McDowall ab26d2dd61 Renamed SceneNameMapping to SceneMapping.
SceneMappingProvider moved to PetaPoco.
2011-06-16 23:04:01 -07:00
Mark McDowall 63023d447d Using new PetaPoco Exists method in MediaFileProvider. 2011-06-16 21:12:14 -07:00
Mark McDowall 1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -07:00
Mark McDowall 3dbb38b54f MediaFileProvider moved to PetaPoco.
Season Grid now shows episodeFile quality.
2011-06-16 20:29:39 -07:00
kay.one 3cccb5858a Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-16 19:48:24 -07:00
kay.one 190ce6b142 ConfigProvider now uses PetaPoco 2011-06-16 19:27:10 -07:00
Mark McDowall a151c9cd0f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-16 00:01:48 -07:00
kay.one 33a38481dc Fixed IsIgnored issues 2011-06-16 00:00:55 -07:00
Mark McDowall 9837e54ca5 Fixed some issues after the merge. 2011-06-15 23:53:23 -07:00
Mark McDowall 0432109a95 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-15 23:49:30 -07:00
kay.one cb8cb1691f SeriesProvider is now Subsonic free. 2011-06-15 23:33:01 -07:00
kay.one 63f6899894 Added PetaPoco 2011-06-14 19:31:41 -07:00
Mark McDowall 1fbf9a1416 Using .ToList() to get around IEnumerable multi-DB calls and possible SubSonic bug with IQueryable. 2011-06-14 16:39:09 -07:00
Mark McDowall e934e71b3b Fixed broken tests after new SceneName method. 2011-06-13 22:52:12 -07:00
Mark McDowall a290a0dcb0 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/Jobs/EpisodeSearchJob.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-13 19:23:43 -07:00
Mark McDowall ab2007cb6f SceneNaming is now stored on NzbDrone webserver.
Database will update every 12 hours from CSV on server.
2011-06-13 19:15:55 -07:00
kay.one 6355d5ada1 Added MiniProfiler 2011-06-13 18:35:44 -07:00
kay.one add780b431 Ninject is now forced to use proper constructor. 2011-06-13 18:23:04 -07:00
kay.one 5293d0e204 Fixed american dad's broken fix ;) 2011-06-12 21:24:57 -07:00
kay.one c5c7e1eb76 Fixed multi testcase tests. 2011-06-12 21:20:29 -07:00
kay.one 87079dcb52 Added validation in RoodDirProvider to stop adding of invalid root folders. 2011-06-12 20:56:10 -07:00
kay.one 8686eb5d32 IISExpress is now attached to NZBDrone.exe earlier, which means it should almost have a garanteed termination as soon as the host is killed.
Console logging starts earlier in the app.
Moved Default profiles to QualityProvider.
2011-06-12 20:45:22 -07:00
Mark McDowall 5179bce37e ImportingNewDownload wasn't importing small files that weren't samples like it should. 2011-06-07 23:16:47 -07:00
Mark McDowall 54e7092e2d Added new helper to find the best file size format given a long with file size in bytes.
Added view under system to see which folders have not been processed in dropDir.
2011-06-07 23:15:35 -07:00
Mark McDowall cea511a460 Fixed a bug when trying to clean up an episode that was still attached to an episode file that no longer existed.
Wrapped processing of file in try/catch to prevent one failure from affecting the other files.
2011-06-07 22:53:52 -07:00
Mark McDowall 5041ff550c Post Download Import Job created and in effect. Scans every minute to import files from the users configured "SabDropDirectory". 2011-06-07 14:19:11 -07:00
Mark McDowall 560706ae8f Fixed Renaming of episodes to include extension.
PostDownload Importing setup, need to setup job for period scan.
2011-06-06 23:29:07 -07:00
Mark McDowall 4d3ba62e5d Episode renaming implemented on the Series/Details page. 2011-06-05 22:23:28 -07:00
Mark McDowall cbaa2f7ef4 RenameProvider will return string for Multi-Episode files. 2011-06-05 21:03:08 -07:00
Mark McDowall 9cb1eb7597 Rename Provider returns proper name for single episode series. 2011-06-05 17:37:32 -07:00
kay.one 120a75ed8e Fixed history again. 2011-06-05 12:55:46 -07:00
kay.one fa5b6bf9cc Fixed history order bug. 2011-06-05 12:42:53 -07:00
kay.one 4c8b1d9604 Fixed bug in history check. 2011-06-05 12:15:46 -07:00
kay.one 54d1d5e379 GetEpisodeFilesCount should be around 5 times faster. 2011-06-05 00:25:50 -07:00
kay.one 57690f49a0 Fixed IsSeasonIgnore logic, added tests 2011-06-04 23:24:24 -07:00
Mark McDowall 08b7b8c3e1 SeasonEditor moved to Gird Editor. 2011-06-04 22:23:50 -07:00
Mark McDowall b68784060b Needed to reverse the tuple order for Episode count. 2011-06-04 12:02:02 -07:00
Mark McDowall 383dfe302f Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/MediaFileProvider.cs
2011-06-04 11:47:35 -07:00
Mark McDowall 5e02ab972c Added NzbMatrix Search Url, with tests. 2011-06-03 22:32:55 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
Mark McDowall 3dce6a13cd Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-03 16:18:41 -07:00
kay.one 2ecd5ddb98 Merge branch 'markus101' 2011-06-03 12:58:28 -07:00
Mark McDowall a4e96ba314 Had the episodes going into the episode count tuple in the wrong order than, they were being retrieved. Oh noes. 2011-06-03 07:17:53 -07:00
kay.one c0814fa95d Hacked sabprovider to support addbyurl from newzbin 2011-06-02 23:08:55 -07:00
Mark McDowall 90d9e7d41e Moved episodeCount logic to mediaFileProvider.
Episode count counts by 5 now, so it doesn't take forever.
2011-06-02 20:04:39 -07:00
Mark McDowall 4f16615e8b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-02 18:37:43 -07:00
kay.one a986c2790d fixed broken tests 2011-06-02 18:24:15 -07:00
kay.one 67e55e5c39 newzbin now supports episode search 2011-06-02 18:15:19 -07:00
kay.one d09a82a20f Integrated scene name helper into episode search, series lookup 2011-06-02 18:15:02 -07:00
Mark McDowall 5953ae038e EpisodesWithoutFiles will ignore episodes with an air date before 1900.
Renamed SiteLayout to _Layout (MVC3 standard)
Moved some images to the image folder.
2011-06-01 16:18:08 -07:00
kay.one 6b0aae85ee GetMediaFile should be alot easier on disk. 2011-05-29 20:56:49 -07:00
kay.one e547792020 More episode update fixes, tests 2011-05-28 20:37:19 -07:00
kay.one db3eeda50f Cleaned up RefreshEpisodeInfo added tests 2011-05-28 20:01:35 -07:00
kay.one d22905676c Fixed American Dad's scene naming gong show 2011-05-28 18:58:35 -07:00
kay.one 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -07:00
kay.one cbbb6e2b18 Oh hai search! 2011-05-26 23:03:57 -07:00
kay.one ac2d33443b More EpisodeSearchJob fixes/tests 2011-05-26 20:54:28 -07:00
kay.one 5a812801b7 EpisodeSearchJob bug fixes/tests 2011-05-26 20:07:32 -07:00
kay.one a6ad977114 Fixed import new series being stuck in a loop if an update failed
Seperated IndexerProviderTest from ProviderTests
Fixed some ToString() issues
Refactored IndexerBase/IndexerProvider
2011-05-26 19:12:28 -07:00
kay.one 474f17c5e6 Added EpisodeSearchJob, still needs unit tests 2011-05-25 22:44:59 -07:00
kay.one 9417748056 Initial support for episode search in indexerbase and Nzbs.org 2011-05-25 21:25:59 -07:00
kay.one 500e9af6c3 Fixed a bug where reports weren't being added to history 2011-05-23 21:12:54 -07:00
kay.one f3be5fa08e failed disk scan doesn't kill the whole job anymore 2011-05-23 17:44:44 -07:00
kay.one ce63f05512 added better db migration support than what Subsonic provides out of the box. 2011-05-23 17:34:57 -07:00
kay.one 5be99200c6 Added newzbing tests, fixed quality parse bugs 2011-05-22 23:48:52 -07:00
kay.one ae8465834b Merge branch 'markus101' 2011-05-22 22:54:15 -07:00
kay.one f33c2c4939 Added episode status to back end, getting ready for backlog 2011-05-22 09:53:06 -07:00
Mark McDowall 9c51633470 Fixed nzbs.org RSS URL.
Series Details Specials looks like the standard season grids.
2011-05-21 00:09:41 -07:00
kay.one e4ff0d6471 Diskscan/Info update job refactoring and test 2011-05-20 17:23:49 -07:00
kay.one 87ff2d1deb removed supports backlog, updated some logs in job provider. 2011-05-20 00:39:05 -07:00
kay.one 0d02b0538b fixed a concurrency issue with job provider. 2011-05-19 23:25:39 -07:00
kay.one 8fca3c3419 more test/fixes 2011-05-19 22:52:05 -07:00
kay.one 849beef5a2 Added inventory provider with basic tests 2011-05-19 21:59:35 -07:00
kay.one 53e6b60382 Renamed IndexerProviderBase to IndexerBase since its no longer a provider 2011-05-19 21:21:18 -07:00
kay.one 9c1ff4af6b initial stage of indexer refactoring. things compile. 2011-05-19 20:47:07 -07:00
kay.one 9cad9bbbd7 Optimized logging to improve performance 2011-05-19 19:13:21 -07:00
kay.one 69406a95d4 Fixed bug when a file that wasn't parsable would try to be imported 2011-05-19 19:12:36 -07:00
kay.one 7330683a4a Merge branch 'markus101' 2011-05-18 21:01:49 -07:00
kay.one f89eff9305 some cleanup 2011-05-18 20:59:12 -07:00
kay.one 67d8bf4147 Removed indexertype property 2011-05-18 20:58:42 -07:00
kay.one b4ea8838d2 Updated file scan logging 2011-05-18 20:56:19 -07:00
Mark McDowall 0645a9e552 EpisodeSorting UI has descriptions, removed extra options.
Config for EpisodeSorting variables added.
2011-05-18 16:10:25 -07:00
Mark McDowall d6ae21506c Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-17 22:32:32 -07:00
Mark McDowall 7e44ee5020 Merge with Kayone's branch. 2011-05-17 22:32:23 -07:00
Mark McDowall 8aad53f291 Added tests for SingleId and not updating last execution time or success/fail.
Job information will only be updated if a job did not have a targetId.
2011-05-17 22:29:23 -07:00
kay.one f2ce5bef18 Super smart season ignore logic. ;) 2011-05-17 22:10:46 -07:00
kay.one 6c4f19b365 Added GetSeasonFiles to MediaFileProvider 2011-05-17 21:21:13 -07:00
kay.one 4ac4ba5067 Mediascan job doesn't scan series that aren't fully added to the db yet 2011-05-17 20:52:49 -07:00
Mark McDowall 8e214029c9 Renamed Download settings to Sabnzbd settings.
Moved Download Propers to Quality settings.
Cleaned up Quality UI and enhanced it with some jQuery goodness. Mmmmm jQuery.
2011-05-17 20:39:26 -07:00
kay.one c01595a9c4 removed leftover merge files 2011-05-17 20:23:09 -07:00
kay.one 2cd4e1649f Diskscan now updates the last scan time of the series object 2011-05-17 20:18:35 -07:00
kay.one 45fde370d8 Removed post processor from solution 2011-05-17 20:10:39 -07:00
Mark McDowall 58b19b6f10 Removed blackhole downloading from IndexerProviderBase.
ConfigProvider returns defaults from SabHost and SabPort.
2011-05-17 17:19:05 -07:00
Mark McDowall c0b7ebef4b LastExecutionTime will only be updated if no targetId was found. 2011-05-17 08:33:32 -07:00
unknown 617b23f5e3 minor cleanup in JobProvider 2011-05-17 00:24:29 -07:00
unknown 13f37cd405 Added test to make sure disabled jobs aren't actually running automatically 2011-05-17 00:16:45 -07:00
unknown 2f786bf424 JobProvider now fully works based on a queuing logic, which allows more than one job to be queued. (EasyButton included!) 2011-05-17 00:04:49 -07:00
Mark McDowall fdd6e37b24 Added NextScheduledRun to get the next scheduled run for a job, with a test. 2011-05-16 21:01:01 -07:00
Mark McDowall 85c17c9270 Changed nzbs.org provider URL to grab only xvid and x264 rips (cats 1, 14) instead of type 1 (All TV) 2011-05-16 18:22:45 -07:00
unknown 8c372e938c fixed some settings value convert issues. would cause crash on clean installs. 2011-05-16 00:32:01 -07:00
Mark McDowall 9caacc4809 Added Season Monitored editor (linked from Season Count on Series Grid), It would be under AJAX Edit, but it won't play nice with lists.
Editor should support about 40 seasons without scrolling (TvDb doesn't list all seasons for large series)

Removed &pp=3 from SabProvider (it will use SAB's configured Post Processing value).
2011-05-15 23:27:02 -07:00
Mark McDowall fa2b609ad3 Removed retundant logging for Series deletion. 2011-05-15 16:39:46 -07:00
Mark McDowall 13da5ff7f7 Returned series deletion back to SeriesProvider. 2011-05-15 16:35:45 -07:00
Mark McDowall d65d79a5c9 Replaced save notifications for settings on page with AJAX Notifications. 2011-05-12 21:46:26 -07:00
Mark McDowall 3cc052e9b6 DeleteSeriesJob now uses the providers properly. 2011-05-12 17:55:26 -07:00
Mark McDowall d97382ad0c Added DeleteSeriesJob to remove series in BG.
Fixed SeriesUpdate Grid Edit to properly save SeasonFolder changes.
Added Delete to SeriesGrid.
2011-05-11 19:53:19 -07:00
Mark McDowall 4d7bb451f2 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-11 11:38:28 -07:00
Keivan 3083ff6fcf Added a quick patch to support disabled by default jobs. setting interval to 0 will disable the job 2011-05-11 11:25:32 -07:00
Mark McDowall e4c9e11ee1 Deleting a series will also delete all items in history for that series. 2011-05-11 08:21:09 -07:00
Mark McDowall 49a059bdea AutoConfigure for SAB is setup, it works for systems with NzbDrone and SABnzbd on the same server only. 2011-05-10 23:46:26 -07:00
Mark McDowall 70bfc49b4e Series Grid AJAX'd.
Edit in popup for Series Grid using custom editing template.
2011-05-09 23:32:33 -07:00
Mark McDowall 11b96afd75 Merge conflicts resolved.
Added Language parsing.
2011-05-08 23:16:26 -07:00
kay.one cb4d0e2450 fixed blackhole config to be boolean 2011-05-08 20:31:01 -07:00
kay.one 343c303bc6 minor cleanup in sabprovider, sabprovider tests 2011-05-08 15:33:46 -07:00
kay.one 34f7b9ca7d removed some warnings, logging tweaks 2011-05-08 14:49:15 -07:00
Mark McDowall 0f170e8a03 Fixed SAB getting the string value for Priority (instead of the integer value).
Fixed SAB tests.
Icarus appears to be deleting files from Debug\Files when running tests.
2011-05-02 08:40:21 -07:00
Mark McDowall 0e429f58a1 Added Supports backlog boolean for Indexers. 2011-05-01 01:04:44 -07:00
Mark McDowall d4ef96f97b Moved filename only piece to Parser.
Added .mp4 to media file extensions.
.mp4 will be treated as TV quality.
2011-04-30 16:25:35 -07:00
Mark McDowall 5e0427f927 MediaFileProvider, ImportFile will return null if episode cannot be properly parsed. Will only try to parse the filename, not the full episode path. 2011-04-30 14:29:58 -07:00
Mark McDowall 9518c61fc2 Changed constructor for ExternalNotificationProviderBase. 2011-04-28 23:32:51 -07:00
Mark McDowall a36d5fae2f Added ExternalNotificationProviderBase based on IndexProviderBase. 2011-04-28 23:06:13 -07:00
Mark McDowall 671dcd074c Added job to scan for media files every hour... So easy! 2011-04-27 23:46:56 -07:00
Mark McDowall b146b62ef3 Added images for provider, shown on the History grid. 2011-04-27 21:27:02 -07:00
Mark McDowall 7e946277bb IndexerType added, this will store the source indexer in history, so users can see (if they care) and we can add an icon if we want. 2011-04-27 17:11:08 -07:00
Mark McDowall de003b9774 Added "Tomorrow" view for the upcoming episodes page so it was separate from the weekly forecast. 2011-04-27 16:51:38 -07:00
Mark McDowall f1cf6ace73 Set Meridiem to Uppercase. 2011-04-27 09:47:53 -07:00
Mark McDowall 4e9f8bd2d0 Handle failed downloading on NZB so it will not get added to the History if it fails. 2011-04-27 08:40:00 -07:00
Mark McDowall 3a6cf56db1 RootDir Adds/Deletes update the database when the action occurs, no more awkward saving tactic. 2011-04-27 08:34:53 -07:00
Mark McDowall fbdc752f77 Fixed NzbDownloadUrl for NzbsRUsProvider 2011-04-27 08:09:38 -07:00