Commit Graph

69 Commits

Author SHA1 Message Date
kay.one 6778a6ed99 Moved duplicated NormalizePath method to PathExtentions 2011-11-20 16:35:29 -08:00
Mark McDowall 350e0388de Updated JobProvider to allow jobs with two targets.
JobQueueItem class created instead of using Tuples.
Added Search for Season and Rename Season jobs , plus links for them on Series/Details.
Add GetSeasonFiles added to MediaFileProvider.
2011-08-21 17:48:37 -07:00
kay.one b086414d75 some cleanup 2011-07-07 20:57:44 -07:00
kay.one 452b5c8f84 Renamed sorting config keys 2011-07-07 20:36:02 -07:00
kay.one f0735c0693 minor tweaks 2011-07-06 00:36:49 -07:00
Mark McDowall 938fa24a8e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-23 00:05:18 -07:00
kay.one 69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
Mark McDowall 9f5b461274 MediaFileProvider delete fixed to delete EpisodeFile with key of Int32 instead of object Int32. Added test to ensure File is deleted, but others remain. 2011-06-22 00:26:36 -07:00
kay.one 5a5d0852ee Updated some log levels 2011-06-21 23:36:07 -07:00
kay.one 13732a3f2e Updated some log levels 2011-06-21 23:34:33 -07:00
Mark McDowall 584a96a4f2 CalculateFilePath will use configured season folder, with tests.
MoveFile creates folder before move.
2011-06-21 20:40:24 -07:00
kay.one 01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
kay.one 1ba74e0eea Drop folder is now wired. needs more tests. 2011-06-20 23:34:45 -07:00
Mark McDowall 68b7ba9209 Added method to delete orphaned episodeFiles and also cleanup episodes that have invalid episodeFiles.
Cleanup will run aforementioned methods before doing cleanup.
2011-06-20 18:49:16 -07:00
Mark McDowall 208feb7d19 CleanFileName when getting new filename from MediaFileProvider. 2011-06-20 16:46:54 -07:00
kay.one 8b7c624d09 Reformated some files 2011-06-19 20:25:04 -07:00
kay.one 63bd972af9 Refactored MediaFileProvider 2011-06-19 20:04:08 -07:00
kay.one cfcb9e61d7 Cleaned up import file a bit 2011-06-19 19:33:43 -07:00
kay.one d3f823734e Cleanedup get GetNewFilename 2011-06-19 18:59:31 -07:00
kay.one a853f80f9e Fixed season ignore 2011-06-19 13:43:33 -07:00
kay.one f211f99960 Fix issue on in ImportFile 2011-06-19 10:57:35 -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 17d084cdf3 Removed Series.Episodes and Series.EpisodeFiles list. 2011-06-17 21:08:17 -07:00
Mark McDowall 63023d447d Using new PetaPoco Exists method in MediaFileProvider. 2011-06-16 21:12:14 -07:00
Mark McDowall 1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -07:00
Mark McDowall 3dbb38b54f MediaFileProvider moved to PetaPoco.
Season Grid now shows episodeFile quality.
2011-06-16 20:29:39 -07:00
kay.one 3cccb5858a Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-16 19:48:24 -07:00
kay.one 63f6899894 Added PetaPoco 2011-06-14 19:31:41 -07:00
Mark McDowall 1fbf9a1416 Using .ToList() to get around IEnumerable multi-DB calls and possible SubSonic bug with IQueryable. 2011-06-14 16:39:09 -07:00
kay.one add780b431 Ninject is now forced to use proper constructor. 2011-06-13 18:23:04 -07:00
Mark McDowall 5179bce37e ImportingNewDownload wasn't importing small files that weren't samples like it should. 2011-06-07 23:16:47 -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
kay.one 54d1d5e379 GetEpisodeFilesCount should be around 5 times faster. 2011-06-05 00:25:50 -07:00
Mark McDowall b68784060b Needed to reverse the tuple order for Episode count. 2011-06-04 12:02:02 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -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
kay.one 6b0aae85ee GetMediaFile should be alot easier on disk. 2011-05-29 20:56:49 -07:00
kay.one 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -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 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 b4ea8838d2 Updated file scan logging 2011-05-18 20:56:19 -07:00
Mark McDowall 7e44ee5020 Merge with Kayone's branch. 2011-05-17 22:32:23 -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
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 5faeccf098 added support for daily episode file import 2011-04-25 14:37:53 -07:00
kay.one 194c66f36a start support for daily show file import 2011-04-25 14:23:02 -07:00