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
Keivan Beigi
6af98f9e96
more better exception handling.
2011-10-17 12:23:34 -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
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
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
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
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
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
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
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
9244a4e6ef
Update episode info now uses UpdateMany, InsertMany
2011-08-28 20:03:40 -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
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
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
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
c37544d4ce
Episode is now marked as grabbed on download
2011-07-03 16:04:57 -07:00
kay.one
69239bc371
Switched to SQLCE 4.0
2011-06-22 23:56:17 -07:00
kay.one
5fb2c61c77
Fixed sab title issue
...
Added profiling to OpenSharedconnection
2011-06-21 20:38:46 -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
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
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
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
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
kay.one
3d3e864094
EpisodeProvider now fills Series property for all episodes returned.
2011-06-18 22:57:24 -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
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
acf23d4fc2
Removed subsonic completely
2011-06-17 18:46:22 -07:00
kay.one
33a38481dc
Fixed IsIgnored issues
2011-06-16 00:00:55 -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
kay.one
add780b431
Ninject is now forced to use proper constructor.
2011-06-13 18:23:04 -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
9cb1eb7597
Rename Provider returns proper name for single episode series.
2011-06-05 17:37:32 -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
kay.one
d3be516fb2
removed Season/SeasonProvider, updated dbBenchmark tests.
2011-06-03 18:56:53 -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
e547792020
More episode update fixes, tests
2011-05-28 20:37:19 -07:00