Commit Graph

699 Commits

Author SHA1 Message Date
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