Commit Graph

491 Commits

Author SHA1 Message Date
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 4812cb4611 Increased sqlite cache size to 30mb 2011-06-05 13:01:28 -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 72af060d68 Fixed migration issue 2011-06-04 23:35:03 -07:00
kay.one 57690f49a0 Fixed IsSeasonIgnore logic, added tests 2011-06-04 23:24:24 -07:00
kay.one ae0d925a49 Merge branch 'markus101' 2011-06-04 23:09:50 -07:00
kay.one fe5e899604 Merge branch 'markus101' 2011-06-04 23:02:55 -07:00
kay.one ecc2a7e2f6 More updates to Datastore 2011-06-04 23:02:31 -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
kay.one a1653022ad refactored Migrations 2011-06-04 11:19:22 -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 b77a91b7f7 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-01 20:37:04 -07:00
kay.one 56169b515f fixed broken episode status tests 2011-06-01 18:16:17 -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 8eb04d9de7 Updated jQuery/Ninject/Unity using nuget 2011-05-30 00:38:39 -07:00
kay.one 1399ff15f2 moved all libraries out of NzbDrone.Core\Libraries to the root of the solution 2011-05-30 00:33:07 -07:00
kay.one ae55b29bec Moved NLog, Subsonic to root library folder 2011-05-30 00:22:20 -07:00
kay.one 6ade4b4bd7 Updated sqlite to the latests official builds 2011-05-30 00:05:45 -07:00
kay.one 6b0aae85ee GetMediaFile should be alot easier on disk. 2011-05-29 20:56:49 -07:00
kay.one 18a20ff163 Some performance tweaks to speed up episode list view. 2011-05-28 23:58:24 -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 f819a24e65 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Providers/EpisodeProvider.cs
2011-05-28 12:55:51 -07:00
kay.one 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -07:00
Mark McDowall 463881843e Combined AddNew and AddExisting Series pages.
Fixed AddNew Series
2011-05-28 00:16:16 -07:00
Mark McDowall 6c7fa1674e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-27 17:24:08 -07:00
kay.one f62b02a36b Merge branch 'sschlesier' 2011-05-26 23:21:08 -07:00
Mark McDowall f5604fa955 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-26 23:04:41 -07:00
kay.one cbbb6e2b18 Oh hai search! 2011-05-26 23:03:57 -07:00
sschlesier 97c6d60e12 Make Release build compile succesfully 2011-05-26 23:01:07 -07:00
Mark McDowall fc7d3da540 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-26 22:02:55 -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
Mark McDowall f582457ddc EpisodesWithoutFiles will now only return episodes where the series and season are monitored. 2011-05-26 18:46:00 -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 4cc240a7e0 Better quality parse 2011-05-25 20:13:39 -07:00
kay.one bbdad5844f fixed quality parse bug 2011-05-23 21:41:57 -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 180da4c82a Migrator.net fails 2011-05-23 16:29:14 -07:00
kay.one fad0c6265c optimized ParseEpisodeInfo 2011-05-23 10:32:37 -07:00
kay.one c91852018e simplified some quality types 2011-05-23 10:20:43 -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 7b56711a4f Added episode status to episode grid 2011-05-22 10:29:10 -07:00
kay.one f33c2c4939 Added episode status to back end, getting ready for backlog 2011-05-22 09:53:06 -07:00
kay.one 3bfa1c52b7 Added MigratorDotNet for custom db migrations 2011-05-22 09:04:04 -07:00
kay.one bda10f0e45 Added MigratorDotNet for custom db migrations 2011-05-22 09:03:37 -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
Mark McDowall 9327ef4352 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-17 21:29:09 -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
kay.one 356650a1d3 Merge branch 'markus101' 2011-05-17 19:55:01 -07:00
kay.one 30d8da3ce8 Log is now configured earlier in the life cycle.
Glimpse now listens to all IP addresses
2011-05-17 19:53:31 -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 30d7fecff5 Added examples to EpisodeSorting Settings.
Added new Multi-Episode Naming (Scene).
2011-05-13 21:13:21 -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 56a13b2511 Added REGEX to require Series name to exist (24-7 Penguin vs Capitals couldn't be parsed on disk properly)
REGEX replace replaces illegal windows file characters, except for " (quote)
2011-04-30 17:23:10 -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
Mark McDowall 6f46a1211e Added DownloadFile method to HttpProvider.
Fixed Link that is returned from NzbMatrixProvider.NzbDownloadUrl.
IndexerProvider will now download the NZB to the disk if SABnzbd is not configured.
2011-04-26 23:27:15 -07:00
Mark McDowall ff0e0597b4 Upcoming view column width fixed for Air Date (added time). 2011-04-26 19:47:29 -07:00
Mark McDowall ee00ef8c17 Added notes for handling Full Season releases, decisions to be made on how to handle them and how to correct multi-episode releases (as long as the first episode is needed we mark it as so).
Currently full season releases can be parsed, but will not process.
2011-04-26 08:39:03 -07:00
Mark McDowall 21e14fbb84 Added parsing and tests for Full Season Releases (no episode information) 2011-04-26 08:26:41 -07:00
Mark McDowall a338b9fee5 SabTitle will return Quality in square brackets '[' or ']' 2011-04-26 08:26:01 -07:00
Mark McDowall a5d9ee17bf Episode Title added to parseResult. 2011-04-25 23:32:10 -07:00
Mark McDowall cb992f1b52 Added StatsProvider.
Bound AutoConfigureProvider to kernel.
Feed Item Parsing will now check for a SceneName match in SceneNameHelper.
2011-04-25 22:54:12 -07:00
kay.one 17c8b8803b removed some unneeded injection dependencies. renamed dependency fields to be standard across the app. 2011-04-25 17:28:33 -07:00
kay.one c8252495af fix bug where info update from tvdb would overwrite our own data, fileid, date flags ... 2011-04-25 15:27:03 -07:00
kay.one 5faeccf098 added support for daily episode file import 2011-04-25 14:37:53 -07:00