Keivan Beigi
ae1a32b874
Fixed an issue where GetEpisodesByParseResult would throw object reference when episode list was null
13 years ago
Keivan Beigi
6af98f9e96
more better exception handling.
13 years ago
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.
13 years ago
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).
13 years ago
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.
13 years ago
Mark McDowall
33930534c2
Ignore Episode Zero when adding a new episode to the database, either via GetEpisodesByParseResult
...
or RefreshEpisodeInfo. With tests.
13 years ago
Mark McDowall
79472964ed
DeleteInvalidEpisodes Deletes by TvDbId only, skipping any manually added episodes (TvDbEpisodeId is 0 or null)
13 years ago
Mark McDowall
30ffe79442
DeleteInvalidEpisodes with tests added to delete episodes that TheTvDb no longer has (previously bad data).
13 years ago
Mark McDowall
4b2427ade7
Report size is now verified to ensure it is under the MaxSize for that quality type, with tests.
13 years ago
Mark McDowall
179de93a6e
Removed AttachSeries for IEnumerable and using join instead, speed difference is negligible or in some cases faster .
13 years ago
Mark McDowall
8592ae4c88
AttachSeries is no longer used for single episodes, PetaPoco will get the series in a single call for us.
13 years ago
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)
13 years ago
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 :(
13 years ago
kay.one
9244a4e6ef
Update episode info now uses UpdateMany, InsertMany
13 years ago
Mark McDowall
f604c35768
Backlog search added (disabled) - It will search for a full season if a full season is missing.
13 years ago
Mark McDowall
412a3fc476
EpisodesWithoutFiles now skips ignored episodes, Tests updated.
13 years ago
Mark McDowall
4f68d07c9a
Fixed issue with missing episodes incorrectly using include specials.
...
Added tests for missing episodes.
13 years ago
Mark McDowall
c88ead0585
Wired in the season and episode ignore saving.
...
Converted setSeasonIgnore & setEpisodeIgnore to use inline SQL.
Added tests for setSeasonIgnore & setEpisodeIgnore.
13 years ago
kay.one
28b840766e
Merge branch 'markus101'
13 years ago
kay.one
b4fb3002a4
Updated Add Series
13 years ago
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.
14 years ago
kay.one
c37544d4ce
Episode is now marked as grabbed on download
14 years ago
kay.one
69239bc371
Switched to SQLCE 4.0
14 years ago
kay.one
5fb2c61c77
Fixed sab title issue
...
Added profiling to OpenSharedconnection
14 years ago
kay.one
31c16b9004
Merge branch 'markus101'
14 years ago
kay.one
01163a4f87
Cleanup and tests around ImportFile
14 years ago
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.
14 years ago
Mark McDowall
244e0f04f4
Fixed UnitTests (set EpisodeFileId to zero where no episo.de file is expected back)
14 years ago
kay.one
852b1e9bb5
Merge branch 'markus101'
14 years ago
kay.one
45549fa50b
Fixed attach series issue and null episodes.
14 years ago
kay.one
d3f823734e
Cleanedup get GetNewFilename
14 years ago
Mark McDowall
b084a3bc46
EpisodeProvider GetEpisode(s) returns episodes with EpisodeFiles.
14 years ago
kay.one
3d3e864094
EpisodeProvider now fills Series property for all episodes returned.
14 years ago
Mark McDowall
5c055ebb9a
Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB.
14 years ago
Mark McDowall
a771d2cfa9
Changed all Single<T> to SingleOrDefault<T>
14 years ago
kay.one
b00e437e56
Added Fluent.cs to allow string default extention method eg. "Series.Title.WithDefault(series.SeriesId)"
14 years ago
Mark McDowall
d6920ee8ea
Fixed EpisodeProvider queries with multiple terms.
...
SeriesProvider.FindSeries will now return the QualityProfile when a series is found.
14 years ago
kay.one
acf23d4fc2
Removed subsonic completely
14 years ago
kay.one
33a38481dc
Fixed IsIgnored issues
14 years ago
kay.one
cb8cb1691f
SeriesProvider is now Subsonic free.
14 years ago
kay.one
63f6899894
Added PetaPoco
14 years ago
kay.one
add780b431
Ninject is now forced to use proper constructor.
14 years ago
Mark McDowall
560706ae8f
Fixed Renaming of episodes to include extension.
...
PostDownload Importing setup, need to setup job for period scan.
14 years ago
Mark McDowall
9cb1eb7597
Rename Provider returns proper name for single episode series.
14 years ago
kay.one
54d1d5e379
GetEpisodeFilesCount should be around 5 times faster.
14 years ago
kay.one
57690f49a0
Fixed IsSeasonIgnore logic, added tests
14 years ago
Mark McDowall
08b7b8c3e1
SeasonEditor moved to Gird Editor.
14 years ago
kay.one
d3be516fb2
removed Season/SeasonProvider, updated dbBenchmark tests.
14 years ago
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.
14 years ago
kay.one
e547792020
More episode update fixes, tests
14 years ago