Commit Graph

905 Commits

Author SHA1 Message Date
kay.one 8a3fe0f14e added more tests for seriesprovider 2011-04-04 22:30:13 -07:00
kay.one b21bdbe41f Merge branch 'mark-fork' 2011-04-04 20:19:18 -07:00
Mark McDowall a30a62f824 Removed orig files. 2011-04-04 20:06:36 -07:00
kay.one ac7c795eb6 Updated Exceptioneer.
project cleanup
2011-04-04 19:59:33 -07:00
Mark McDowall 460e48d6a1 Add GetBestMatch to TvDbProvider (Provides a way to get the best result from a list of results)
Default value for Quality Dropbox in AddExisting is now the default value from Settings.
2011-04-04 19:48:46 -07:00
Mark McDowall 148fd044ef Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
	NzbDrone.Core/Parser.cs
2011-04-04 15:46:07 -07:00
kay.one 2d9285eee2 fixed some DI issues.
fixed episode list grid width
2011-04-04 00:51:58 -07:00
kay.one 16234d6b79 Added nzbs.org using the provider model. 2011-04-04 00:21:07 -07:00
kay.one 375a0c333e Added more code to FeedProviderBase 2011-04-03 23:53:22 -07:00
kay.one 7e4c38ec3f removed most of existing rss code 2011-04-03 22:24:19 -07:00
kay.one 11e2b63b60 more rss refactoring 2011-04-03 21:54:58 -07:00
kay.one d7732cab3b fixed episode parse issue 2011-04-03 21:20:01 -07:00
kay.one 62b2cd510f started rss cleanup 2011-04-03 20:50:12 -07:00
Keivan e33f5206fa Add existing now does is reall time TvDb lookup 2011-04-01 16:11:09 -07:00
kay.one 0556c31846 Fixed add existing. needs more polish around quality and manual mapping. 2011-03-31 23:36:34 -07:00
Mark McDowall b84e8014c1 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-03-30 18:55:18 -07:00
kay.one d310c06f2e deleted some old files. updated some ui 2011-03-30 18:42:27 -07:00
Mark McDowall 722b3805d6 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-03-30 16:03:37 -07:00
Mark McDowall fd3d94c9b0 ParseEpisodeInfo will now handle repeating Episode Naming Format (S01E01E02 or S01E01-02), It will not handle ranges (S01E01-06)
Changed port back to 8989.
2011-03-30 08:42:36 -07:00
kay.one e56a529b9c Updated subsonic to latest code 2011-03-30 00:14:39 -07:00
kay.one ff75d0c555 Upgraded to MVC3, Hello Razor. 2011-03-29 23:18:35 -07:00
kay.one 6870c2326f Updated Ninject using NuGet 2011-03-28 22:10:37 -07:00
kay.one d4179818cc removed upnp code 2011-03-28 21:23:11 -07:00
Keivan 82808355c4 added sub menu for add series 2011-03-28 17:12:48 -07:00
Keivan c45729a986 removed default root property
tweaked the ui on add new show
2011-03-28 16:38:05 -07:00
Keivan 613a49c3ea Refactored BacklogProvider
Fixed some issues with root folder and settings controller
2011-03-28 14:57:06 -07:00
Mark McDowall e62cb3b5da Updated .gitignore to not store .nzb
Add [PROPER] to titleFix if it's a proper.
User can now change the QualityProfile when adding a series (new or existing), option will default to their DefaultQualityProfile.
2011-03-28 13:22:12 -07:00
Mark McDowall c6a7eaab93 Separate QualityTypes.Bluray to Bluray720 and Bluray1080. 2011-03-26 17:16:50 -07:00
Mark McDowall caa99540a6 Cleaned up RssItemProcessingProvider, will actually process Season NZBs now.
Added Newzbin ID parsing.
2011-03-26 13:11:05 -07:00
Mark McDowall 1076b3ab58 RssItemProcessingProvider will now handle full series NZBs. 2011-03-26 12:16:53 -07:00
Mark McDowall fd06987331 Fixed parsing for 1013/103/113 naming.
Added parsing for season NZBs.
2011-03-24 21:15:02 -07:00
Mark McDowall a5cd1fc490 Fixed REGEX for 103 (was looking for non-alphanumberic), still fails on 113 numbering, but will work for 103. 2011-03-24 08:27:41 -07:00
Mark McDowall f1db8f52bf Parser REGEX updated to support 103 naming and breaking out of the REGEX foreach loop when a match is found. Most strict to less strict ordering of REGEX is required. 2011-03-24 08:19:21 -07:00
Mark McDowall 302949048b Ability to delete from Edit Series (link wasn't available before).
add .nzb to file when downloading, need to change to WebRequest/WebResponse to get the file so we can retrieve the actual file name... Use %NZBDRONE_PATH% to store NZB if path is not provided...
2011-03-24 00:30:38 -07:00
Mark McDowall f07b305684 Fixed Parser (broke 103 naming convention, but it fixed more than it broke).
RssItemProcessingProvider - moved Title fix code to a better location (To ensure we actually want the episode(s) first).

SceneNameHelper was bombing when trying to find a matching scene mapping when it didn't exist, changed Single to Find to resolve.
2011-03-24 00:19:54 -07:00
Mark McDowall dc552ec873 SeasonProvider.IsIgnored will properly handle a season that does not exist in the DB (TV DB doesn't have the latest season is root of the problem, or the season just started and NB DB is out of date). 2011-03-24 00:16:22 -07:00
Mark McDowall 6c818bd8d8 Upcoming shows view added. 2011-03-23 00:06:22 -07:00
Mark McDowall 33b09567ce History VIew Added.
Fixed Relationships between History and Episode/Indexer.
Indexer now uses int as ID, string caused issues.
Get single Indexer by ID.
2011-03-22 22:19:23 -07:00
Mark McDowall 4f2f5a3d71 HttpProvider - Added Download File.
SabProvider - Added AddById (Newzbin)
Fixes to RssItemProcessingProvider
Can either download NZB to file or send to SAB...
2011-03-21 20:51:03 -07:00
Mark McDowall 84f0dfed4e Removed un-needed WebClient from XbmcProvider.
BackLog Provider created.
QueueIfWanted moved to new class (RssItemProcessingProvider) to cutdown on repeating code (between RssSyncProvider and BacklogProvider)
Style.css now sets width for rootDirectories class (when adding a new show).
2011-03-18 08:39:19 -07:00
Mark McDowall b2b4423c92 Fixed XBMC CleanLibrary 2011-03-17 13:01:21 -07:00
Mark McDowall 636f352599 Ability to manually add a show has been added.
UI cleanup for adding series (new, existing and manual).
2011-03-17 00:40:23 -07:00
Mark McDowall 3d81bc8770 AddNew is functional, using jquery for adding and display changes. 2011-03-15 08:29:14 -07:00
Mark McDowall 5a8842e3db AddExisting clears check/hides rows once submitted. Bi-winning
AddNew, currently unable to submit. Bi-polar
2011-03-11 01:04:56 -08:00
Mark McDowall c3425f493f Modified TvDbProvider to aloow returning of multiple results when requesting a list of results. 2011-03-10 12:30:22 -08:00
markus101 48b89abfeb Add Existing Series works, UI shows TVDB Name and Path so you can check before adding to DB. 2011-03-09 23:49:59 -08:00
Mark McDowall 64a1b2d28d Normalize path will now just clean it up, no longer returns the string in all lower-case. 2011-03-09 16:44:21 -08:00
Mark McDowall 2871723bfe Manage multiple Tv Root Folders in Settings/General.
Start of AddExisting.
2011-03-08 23:40:48 -08:00
markus101 df041eb300 Notifications UI Implemented, Added ExternalNotifications and Xbmc Providers to CentralDispatch. 2011-03-06 23:32:36 -08:00
markus101 9e15b27e3a XbmcProvider will use HttpProvider.
Added DownloadString for HttpProvider that allows for authenticaion (required for XBMC with username/password).
2011-03-06 22:33:59 -08:00
markus101 2f8ad5db45 Add quality to titleFix so it will be added to queue (and looked for in queue) that way. [Quality] 2011-03-06 22:20:57 -08:00
markus101 1ba6cd0d3a Removed Drone Specific parser, on 2nd look it is not needed... just need to include the quality when adding it to the SAB Queue. 2011-03-06 22:16:48 -08:00
markus101 fd038891fb Added parser for parsing the Quality of an Episode sent to SAB (So we get the proper quality) 2011-03-06 22:09:22 -08:00
markus101 70fd11231d Post Processor Done.
Will send from SAB to NzbDrone.
Changed SabCategory to SabTvCategory (Support for movies later?)
2011-03-06 14:27:52 -08:00
markus101 e166cb1b2d ExternalNotificationProvider complete, XBMC only for now. 2011-03-06 13:40:38 -08:00
markus101 0cb20b0092 XBMC Provider finished 2011-03-06 13:36:09 -08:00
markus101 2af078b23d ExternalNotifications, XBMC notification, building the framework for these, UI not implemented. 2011-03-06 12:45:35 -08:00
markus101 1314d00c97 Post Processing has been implemented, still need to finish app for SAB to NzbDrone. 2011-03-03 00:50:33 -08:00
markus101 ce79ab2827 Display Error when RSS Feed doesn't return any items. 2011-03-02 18:12:33 -08:00
markus101 46830a2777 EpisodeSorting setup, setting page created and usable, needs labels still. 2011-02-25 20:07:22 -08:00
markus101 165beda55b Use Season Folder is set in config (also set per Series), default is true. 2011-02-24 23:20:24 -08:00
markus101 3b749a39a7 Renaming fixes, extension will be used now.
Removing EpisodeFile from DB now works.
2011-02-24 19:52:06 -08:00
markus101 a950a13c30 Show Path to episode on disk in Details.
Timer to cleanup/scan for EpisodeFiles (Midnight)
Fixed Relationship for EpisodeFile to Series
2011-02-24 17:18:22 -08:00
markus101 b5c7135d24 Do not try to rename files if the source and destination path are the same. 2011-02-23 17:41:18 -08:00
markus101 9ffe8ea4cd Fixed the badly broken Renaming, it will now only attempt to rename episodes with files and works with multi-episode files. 2011-02-23 17:23:58 -08:00
markus101 e7cabfe235 Fixed Episode to EpisodeFile relationship (So getting the EpisodeFIle gets associated Episode(s) as well. 2011-02-23 16:40:11 -08:00
markus101 9d24ccd97a Fixes for Episode to EpisodeFile mapping.
Series details sorts with newest season and newest episode on top my default.
2011-02-22 22:23:59 -08:00
markus101 ce6bcbfec1 EpisodeFile parsing was incorrect due to change of relationship with Episode 2011-02-22 16:26:03 -08:00
markus101 891acfff44 Fixed issues that came up after making changes to Episode and EpisodeFile. 2011-02-22 00:13:16 -08:00
markus101 738700537e Episode RenamingProvider created, allows renaming by Every Episode for Every Series, by Series, by Season, or individual Episodes.
Currently uses Hard-Coded Naming Convention, Undecided on SAB or SB configuration style, SAB's is more robust (and flawless? -SP).
2011-02-21 22:22:40 -08:00
markus101 2a8b598f4f EpisodeFile now has a list of Episodes (support for multi-episode files), was reversed before. 2011-02-21 22:12:53 -08:00
markus101 737330d48b Added NzbTitle to History item and will set it when adding to the DB. 2011-02-21 17:05:56 -08:00
markus101 c448c17605 Add to History when SAB receives the NZB and set episode.status to grabbed. 2011-02-18 08:36:50 -08:00
markus101 88ad555e75 Delete is setup, just need to add a link to follow through on the delete.
Removes EpisodeFiles, Episodes, Season and then the Series.
2011-02-17 22:49:23 -08:00
markus101 dbca3a1974 Added UpdateSeries to SeriesProvider.
Edit now works for Series, AJAX save.
Fixed Adding new series to use the DefaultQualityProfile as the QualityProfileId value.
2011-02-17 18:50:40 -08:00
markus101 d3b7d199ab Fixed QualityProfile mapping to Series, resulted in a large number of changed files referencing ProfileId instead of QualityProfileId 2011-02-17 09:45:02 -08:00
markus101 21ac5d804c RssSync improvements and fixes. 2011-02-16 18:17:01 -08:00
markus101 445e2f59b9 Fixed SabProvider and Unit Tests for it. 2011-02-16 18:14:41 -08:00
markus101 13ab28586f More comprehensive check to see if we want this episode, will now compare episodeFile with the episode from the feed to see if it is wanted (Quality and Proper) 2011-02-16 08:37:28 -08:00
markus101 309e1ba249 Fixed issue with storing and retrieving quality profile, checking the profile. 2011-02-16 00:16:14 -08:00
markus101 a7780fab67 Issue with overwriting user settings for Indexers resolved.
Reworked RssSyncProvider to make it cleaner.

SeasonProvider was returning the reveresed boolean result

Indexer changed to not store empty strings as null when saving config (ApiUrl).
2011-02-15 23:58:39 -08:00
markus101 735668f7b3 Fixed a bug with converting default quality profile from config when adding a new series.
Re-enabled the RssSyncTimer so it will run an RSS Sync when fired.
2011-02-15 20:44:19 -08:00
markus101 da79ad147e New series will be added monitored and quality will be set to default quality.
Series now stores a QualityProfile instead of QualityType
2011-02-14 19:48:39 -08:00
markus101 ff44d05a72 Clean up SettingsController to not check for Null's as empty strings will not be null when returned.
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
2011-02-14 17:20:17 -08:00
markus101 b2524cf697 Validation changes, moved JS for Client-Side validation to Settings/Index.aspx
Still need to sort out validation for Quality Cutoff (not part of the Model so it seems to cause issues).
2011-02-14 16:45:31 -08:00
markus101 e7cbc4cbcf Added additional priorities supported by SABnzbd.
From shypike:This is the (kind of weird) priority table:

TOP_PRIORITY = 2
HIGH_PRIORITY = 1
NORMAL_PRIORITY = 0
LOW_PRIORITY = -1
DEFAULT_PRIORITY = -100
PAUSED_PRIORITY = -2

-100 won't do a thing, since it means: whatever is default.
2011-02-11 00:12:44 -08:00
markus101 6e66a7a27f Working on validation for forms, issues with server side, not sure how to post back model with AJAX submit, yet.
Split out settings model to support validation.
2011-02-10 17:22:29 -08:00
markus101 6690139616 Fixed an issue where the RssSyncTimer was not updating the NextInterval variable after expiring the first time. 2011-02-09 23:18:07 -08:00
markus101 0fc75e8907 TimerProvider will test every 1 minute to see if it matches a schedule for updating season or entire series.
Countdown now shows a real value from RSS Sync.

CentralDispatch updated to start RSSSyncTimer when run.
2011-02-09 22:51:04 -08:00
markus101 fd4cf86694 EpisodeProvider - RefreshSeasonInfo by Season added, updates only the supplied season. 2011-02-09 22:42:46 -08:00
markus101 ac20da426b SeasonProvider GetLatestSeason added 2011-02-09 22:41:24 -08:00
markus101 57f5b3ddc2 RSS Sync Timer Implemented using System.Timers.Timer 2011-02-08 17:23:01 -08:00
markus101 6d790f8939 Quality now has sortable lists for configuring Profiles, saving not implemented yet. 2011-02-05 18:52:49 -08:00
markus101 be6bdbc483 Quality Config, Dynamically add new User Profiles, just need to get them to save. 2011-02-05 10:27:14 -08:00
markus101 d083d653db Fixed updating of Default Qualities in CentralDispatch.
Default Quality can now be set through Settings/Quality using a drop down list.
Fixed QualityType for BDRip (was sharing a value with DVD).
2011-02-04 22:07:25 -08:00
markus101 48e5b36936 Fixed logging for Settings Controller and QualityProvider
Setup/Update of Default QualityProfiles will occur on start
2011-02-03 18:58:02 -08:00
Keivan bfef6166f5 some changes to unmapped view 2011-02-03 16:48:09 -08:00
Keivan 16fcda18c3 fixed episode parse, profile storage 2011-02-03 12:09:19 -08:00
Keivan ca27c75df5 simplified quality fixed some broken tests 2011-02-03 11:47:51 -08:00
markus101 9f0e512f5f Returned missing Graphics, CSS and JavaScript files.
Settings Sub-menu updated to include Quality link.
Quality config page started.
2011-02-02 18:49:52 -08:00
markus101 3b63cfb5d2 Added Quality Provider to interface with QualityProfiles.
Changed QualityProfile and AllowedQuality to be meet requirements
2011-02-02 17:07:36 -08:00
markus101 1cf5e55e61 Added in Bluray 1080P Quality Type.
Added additional columns for AllowedQuality
2011-01-31 17:01:49 -08:00
markus101 63336ed58d Added Timer, will hold timer information for RSS Sync and eventually backlog searching.
Attempt at styling configuration page, lots of work to go though.
2011-01-30 23:42:44 -08:00
markus101 c40f18e66f Fixed REGEX for episode parsing so it would correctly parse shows with a year in the title.
Fixed a config saving issue in the SettingsController.
Added bindings in Central dispatch for SabProvider and HttpProvider
2011-01-30 17:30:59 -08:00
markus101 da979639ba More config pages have been added. AJAX to save. Order with jquery sortable.
Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
2011-01-28 22:10:22 -08:00
Keivan 65ecd58111 Updated Telerik MVC to Version: 2010.3 1110 (Nov 10, 2010) 2010-12-02 10:51:22 -08:00
Scott Schlesier d5a869ac54 Parse UNC paths 2010-11-06 09:01:46 -07:00
Keivan 153e013afb cleaned up css 2010-11-06 13:09:58 +08:00
Keivan bf1ff29519 look right in IE, all episodes are ajax loaded.
commited somewhere between vancouver and vegas @ 2135ft. Alt and 480mph.
2010-10-29 20:54:48 -06:00
Keivan c9bc063a9c Updated log appearance. 2010-10-24 10:35:58 -07:00
Keivan fa0af257ff fixed a bunch of things. added basic support for file scanning. logs are now avilable in the UI 2010-10-24 00:46:58 -07:00
Keivan c8a8fb4d62 Fixed notification issues
Added basic support for file scan
Major redactor of ReportTitle/File parsing
Updated Ninject/Ninject.MVC
Removed dependency from Microsoft.Web.Administration
reactored Episode repository structure
2010-10-20 18:49:23 -07:00
Keivan 41d9b0364f updated Ninject and Ninject.Web.Mvc 2010-10-18 11:04:07 -07:00
Keivan 9c7500d4ae updated notification ui 2010-10-17 23:06:16 -07:00
Keivan 273de41d23 Cleaned up logging code
Added udp logging
Added SyncProvider to provide async long running tasks
Refactored SyncSeries to SyncProvider
Episode Info is now fetched automatically
Optimized RefreshEpisodeInfo for better performance
2010-10-17 10:25:27 -07:00
Keivan c597363bf8 Updated logging and instrumentation 2010-10-15 00:10:44 -07:00
Keivan b59d9f13b1 Oh Hai IIS 2010-10-13 23:29:01 -07:00
Keivan 76379341a7 Added series update notification. 2010-10-11 19:49:27 -07:00
Keivan 76dee4aff2 Merge branch 'master' of git://github.com/markus101/NzbDrone 2010-10-11 18:15:08 -07:00
markus101 3157ee4aba Updated EpisodeProvider methods 2010-10-10 14:20:43 -07:00
Keivan 30d38eead6 fixed ninjet's race condition 2010-10-10 12:00:07 -07:00
Keivan b112e28b80 Merged in rob's UPnP code 2010-10-08 00:10:26 -07:00
nothingmn dfbf13b868 Updated UPnP so it does disco async, updated DiscoProviders to handle that approriately, Added JsonAction result with JS Ajax call for client side detection, on a timer for media controllers 2010-10-07 22:04:25 -07:00
nothingmn 78dba9c668 Added Media Disco Providers - these will be used to auto detect media providers on the LAN 2010-10-07 21:34:32 -07:00
nothingmn 92e0a8f1a4 Added Media Provider Interface and XBMC's implementation 2010-10-07 21:19:05 -07:00
nothingmn 95c368fd04 Added UPnP reference to Core 2010-10-07 21:06:43 -07:00
nothingmn cd91913a4c Added UPnP library
Added the Intel (with some mods) UPnP library (dll)
2010-10-07 20:45:09 -07:00
Keivan 27d86a8540 Added Notification System, Renamed Repository to Entities 2010-10-07 20:35:04 -07:00
Keivan 9c7355f3fb Cleaned up some tests 2010-10-07 15:17:24 -07:00
Keivan 81e155ae42 Added basic episode support 2010-10-04 23:21:18 -07:00
Keivan 606140832d Refactored SeriesController. Updated Post title parse. 2010-10-03 18:00:50 -07:00
Keivan afafc6b032 pretty... 2010-10-02 12:01:43 -07:00
Keivan beaf0cf939 Updated subsonic to latest nightly build
Added foreign relations to all entities object
Removed unnecessary libraries
2010-09-30 17:09:22 -07:00
Keivan 899e5a9a22 aFixed QualityProfile storage test 2010-09-29 23:59:00 -07:00
Keivan 26c03d7162 Added broken tests 2010-09-29 10:19:18 -07:00
Keivan bca2e0c6b1 Added more stubbed mothods and providers 2010-09-28 13:44:33 -07:00
Keivan 8d47bcbe5e Rearanged episodes object, added method stubs 2010-09-28 12:32:19 -07:00
Keivan de212f8b98 Fixed some resharper line breaks 2010-09-27 23:09:24 -07:00
Keivan d00744aafa Resharper code cleanup 2010-09-27 22:58:49 -07:00
Keivan c7286863b0 Removed redundent classes. 2010-09-27 22:35:15 -07:00
Keivan d18029fe5b removed feed. to be replaced with System.ServiceModel.Syndication.SyndicationItem 2010-09-27 22:15:08 -07:00
Keivan a49850cc89 refactored Episode, Added Quality Enum 2010-09-27 22:01:54 -07:00
Keivan 01c1943d0e Renamed all Core.Controllers to Core.Providers to avoid confusion between Core Controllers and MVC controllers 2010-09-27 21:25:41 -07:00
Keivan e2128d2235 Merged Mark's fork in 2010-09-27 20:40:01 -07:00
Keivan babe2735ee failed attempt to write a test for Series Controller 2010-09-27 20:04:39 -07:00
Keivan 020a7462c0 updated some tests 2010-09-27 17:27:02 -07:00
kay.one d870c82147 changed seriesid to string to avoid sqlite bug 2010-09-26 17:21:38 -07:00
markus101 f5cf44c2b3 New Web theme
Added IDownloadClientController & SabController (WIP)
2010-09-25 09:26:31 -07:00
kay.one 2c0469f76e fixed tvdblib xml cache path 2010-09-24 00:24:05 -07:00
kay.one 4d4a8198eb fixed show grid, added details page 2010-09-24 00:14:42 -07:00
kay.one 772452aa8b added tests for basic config set/get to db 2010-09-23 23:16:43 -07:00
kay.one 1620721efe fixed config post issue 2010-09-23 22:37:48 -07:00
kay.one d7bae9135c added settings view to mvc project 2010-09-23 22:21:45 -07:00
kay.one 036b2e7f4f updated the apppath logic and db location 2010-09-23 19:19:55 -07:00
kay.one 74ac3bb599 Initial Commit 2010-09-22 20:19:47 -07:00