Commit Graph

205 Commits

Author SHA1 Message Date
Devin Buhl 50fdbd896c Bug fixes (#874)
* Update Torrent and Usenet DownloadStation

* Update Download Tests

* Fix TorrentPotato not finding results #754

* Update UpdateMediaInfoService and Tests #572

* Ignore plex otimized versions w/ tests #391

* Remove Xem Serivce files and tests #386

* Ignore TV Episode from IMDb lists
2017-02-24 09:40:25 -05:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Taloth Saldono 9fbe06ad68 New: Added support to override Copy vs Move import logic for DownloadedEpisodesScan API and Manual Import UI. 2016-11-02 20:28:45 +01:00
Mark McDowall aa37b65842 Fixed tests for EpisodeFileMovingService 2016-09-02 12:26:04 -07:00
Mark McDowall 28f6777f9a Fixed media info test 2016-08-16 21:12:18 -07:00
Mark McDowall 459715b9b4 Fixed UpdateMediaInfoService tests 2016-08-11 16:20:40 -07:00
Taloth Saldono 006dc9202b Fixed: Tweaked sample detection for short episodes. 2016-06-25 22:50:16 +02:00
Mark McDowall e9248e284e Return decisions when catching exceptions during decision making
Fixed: Manual Import not showing files that failed to process
Closes #1131
2016-04-17 14:17:46 -07:00
Taloth Saldono 71ecc96c70 Refactored IntegrationTests to work with Nunit3 VS adapter. 2016-04-06 22:06:40 +02:00
Taloth Saldono 72f0085ef7 Fixed: DownloadedEpisodesScan API command couldn't be used to process individual files. 2016-02-15 21:55:53 +01:00
Taloth Saldono 91d91bc673 Fixed: Sample files of daily episodes should also be deleted after import. 2016-02-11 21:27:41 +01:00
Mark McDowall dda0d3259f Fixed broken test 2016-01-07 15:49:51 -08:00
Mark McDowall b62ef0c40c Fixed: Use folder quality when better than file quality (regression)
Closes #1022
2016-01-04 23:12:14 -08:00
Mark McDowall a9444cef30 Fixed: Folder quality when file quality determined by its extension
Closes #603
2015-11-23 23:00:51 -08:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Mark McDowall 92cff8c4cc OS Agnostic Paths 2015-06-13 00:53:34 -07:00
Mark McDowall 4c1e211675 Fixed: Speed up disk rescaning during series refresh 2015-06-13 00:42:16 -07:00
Taloth Saldono 70544738ed Merge branch 'metadata-creation' into develop 2015-05-27 08:01:01 +02:00
Taloth Saldono 6b9c686390 Fixed tests. 2015-05-25 14:31:53 +02:00
Mark McDowall bbcabf0632 Fixed: Don't use folder quality when it is unknown and file quality is
Closes #560
2015-05-24 23:18:57 -07:00
Taloth Saldono b540307dbd Fixed: Series/season metadata also created on episode import. 2015-05-25 01:36:29 +02:00
Taloth Saldono f1a5261e0a Properly dispose filestream after getting mediainfo. 2015-05-17 18:48:00 +02:00
Taloth cef6eb7509 Merge pull request #544 from Sonarr/mediainfo-unicode
Integrated MediaInfo wrapper to be able to properly handle Unicode
2015-05-15 10:40:45 +02:00
Mark McDowall f88e2e2b79 Fix tests 2015-05-14 18:35:13 -07:00
Mark McDowall 69dd1c6ec4 Test to make sure we scan files in root of series folder (no season folders) 2015-05-14 18:23:57 -07:00
Taloth Saldono 5cd2d71e6f Integrated MediaInfo wrapper to be able to properly handle Unicode on Linux. 2015-05-14 13:31:05 +02:00
Mark McDowall 96578ca59b Stricter rejection of series subfolders
Fixed: Exclude .@__thumb folders from series disk scans

Fixes #538
2015-05-13 21:13:13 -07:00
Taloth Saldono 6e7a2af86b Ignore unicode test for now, fails on tc. 2015-05-12 01:42:11 +02:00
Taloth Saldono 852f97012f Fixed broken test. 2015-05-12 01:05:15 +02:00
Taloth Saldono af060d73cc Updated MediaInfo code for syno/linux. 2015-05-12 00:30:45 +02:00
Mark McDowall 587aff602a Fixed: Don't delete downloads unless a file was imported 2015-05-05 08:37:11 -07:00
Mark McDowall 27246de623 Fixed: Ignore @eaDir inside Series folders 2015-04-27 17:07:22 -07:00
Mark McDowall 2a4fd2bbde Fixed: Better error messaging when import fails due to inaccessible path 2015-04-14 20:35:07 -07:00
Mark McDowall 638e3ca898 Command queue
New: Adding multiple series will queue them instead of running all at once
New: Slower scheduled tasks won't be block others from running
2015-03-16 22:07:02 -07:00
Taloth Saldono dc2c1f7928 Fixed: Import of single-file anime torrents. 2015-03-10 22:43:24 +01:00
Mark McDowall e466c77487 Fixed: Ignore .AppleDouble subfolders of season folder 2015-02-21 11:49:56 -08:00
Mark McDowall 20782bbbc1 Episode import improvements
Fixed: Use folder name when file name is not parsable on import
2015-02-08 00:07:08 -08:00
Mark McDowall 6054dd8ee6 Fixed: Don't scan subfolders in series folders that start with a period 2015-01-26 22:29:18 -08:00
Taloth Saldono 2f048f4217 Fixed: DownloadEpisodesScan api command regressed during a refactoring causing nzbToMedia to fail. 2015-01-22 21:33:48 +01:00
Mark McDowall 2bbce39faa Show title mismatches, but don't import them automaticallys
Fixed: Show Series title mismatches in the UI
Fixed: Force import from Queue for title mismatches
2015-01-21 14:34:11 -08:00
Mark McDowall d277420849 Fixed: Do not scan series folder if root folder is empty 2015-01-19 21:55:54 -08:00
Mark McDowall 6711ba2549 Fixed: Do not remove directories when they contain a RAR file over 10MB 2015-01-16 00:07:02 -08:00
Mark McDowall 2b050cf88c OS Agnostic paths 2015-01-03 23:33:29 -08:00
Mark McDowall 90ce35abee Fixed: Import files for the series Extras 2015-01-03 23:07:25 -08:00
Keivan Beigi a6d34caf2c New: Rebuilt Completed/Failed download handling from scratch 2014-12-18 16:26:42 -08:00
Mark McDowall e637d68157 Advanced option to disable media info for add series/rescan 2014-12-14 10:50:38 -08:00
Mark McDowall 7aee3c5ac4 Fixed: Don't check for sample for anime specials 2014-12-12 07:39:51 -08:00
Mark McDowall d93bd52a01 Queue actions
New: Remove items from queue/history from Activity
New: Force import of series title mismatch from Activity
2014-12-09 21:52:41 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Keivan Beigi a46b542bfd updated MediaInfo to 0.7.71 2014-11-26 11:17:58 -08:00
Mark McDowall d6ed475c63 Removed old test 2014-11-18 22:05:34 -08:00
Mark McDowall f8c002db9f Fixed: Use runtime of series for sample checks instead of constant 2014-11-18 21:45:43 -08:00
Taloth Saldono 5fed3670c8 Drone factory would throw exception on unknown series instead of proper error. 2014-11-16 19:49:01 +01:00
Taloth Saldono eb5de4a3fa Removed obsolete tests. 2014-11-16 01:46:24 +01:00
Taloth Saldono 0b48630c00 New: Improved the DownloadedEpisodesScanCommand endpoint to better support external triggers to CDH. (nzbToMedia) 2014-11-15 01:48:40 +01:00
Mark McDowall 7af9748ff3 Fixed: Do not scan episode files in .AppleDouble folders 2014-11-13 22:15:45 -08:00
Mark McDowall 64e7cc69b9 Fixed: Extras folder detection is case insensitive 2014-11-06 20:02:07 -08:00
Keivan Beigi ef1e290311 Removed redunent UTC/non-utc File/dire methods.
everything is in UTC now.
2014-10-14 14:31:35 -07:00
Taloth Saldono cc8c88e921 Fixed: Extensions are now removed from scene names during import. 2014-09-26 23:28:24 +02:00
Mark McDowall a3d013d908 New: v2/v3/etc handling for anime 2014-09-22 11:08:30 -07:00
Mark McDowall f63476260b New: Show episode file file deletions in history and episode activity 2014-09-06 08:08:12 -07:00
Keivan Beigi 3a287bf7e7 Merge pull request #108 from NzbDrone/scene-name
Fixed: Use Nzb title as scene name when available
2014-09-04 09:24:37 -07:00
Mark McDowall b638e09f24 Fixed: Don't mark releases as imported unless at least one file is imported 2014-09-03 17:57:27 -07:00
kayone ee285c2d4a made ImportApprovedEpisodesFixture Os Agnostic 2014-09-02 15:07:30 -07:00
kayone 20287f84ce Fixed: Use Nzb title as scene name when available 2014-09-02 15:07:29 -07:00
Mark McDowall bf1547a524 Pneumatic will set the download client ID for strm files 2014-09-01 11:14:54 -07:00
Mark McDowall 2651cd63a8 Fixed: Don't mark a download as successful unless all valid files are imported 2014-08-30 14:42:24 -07:00
Mark McDowall 6671934c0f Relative episode file paths 2014-08-13 17:08:24 -07:00
Taloth Saldono 8a5edfeaf5 Rewrote most of the renamer token handling code to give it a bit more generic architecture. Also added MediaInfo as possible token. 2014-08-05 18:14:09 +02:00
Taloth Saldono 7b420fc033 Added MediaInfo to EpisodeFile. 2014-08-05 18:14:06 +02:00
Taloth Saldono b427954f5f null EmbeddedDocuments are now stored as DBNull instead of json null. 2014-08-05 18:14:03 +02:00
Mark McDowall 74a38415cf Profiles
Indexes are created with the same uniqueness when copying a table

New: Non-English episode support
New: Renamed Quality Profiles to Profiles and made them more powerful
New: Configurable wait time before grabbing a release to wait for a better quality
2014-07-25 23:21:44 -07:00
Mark McDowall 08b2e293d3 Verify disk scan won't scan if root folder doesn't exist 2014-07-24 18:02:47 -07:00
Taloth Saldono 50303ce470 Fixed: Checks full path for _UNPACK_ prefix so that full season downloads are properly checked for unpacking. 2014-06-04 23:44:38 +02:00
Taloth Saldono 2035fe8578 New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature) 2014-05-30 19:40:29 +02:00
Mark McDowall ceb06378ad Fixed: Daily series won't get treated as specials during sample checks 2014-04-10 18:32:37 -07:00
Mark McDowall 31deff1ea3 Fixed: Daily shows will no longer skip sample detection 2014-04-08 07:12:21 -07:00
Mark McDowall 0f9360bccb New: Advanced option to skip checking free space when importing files 2014-04-04 09:25:18 -07:00
Mark McDowall e5263f143d Import process improvements
New: Post processing scripts can pass "Path" via API to scan a specific folder directly
Fixed: Do not delete folder from drone factory when non-sample video files exist
2014-04-03 17:08:51 -07:00
Mark McDowall 01d3decf7e Added Mono version health check 2014-03-14 03:15:30 -07:00
Mark McDowall a02108922f Set episode file modified date to local or utc air date 2014-03-12 22:27:36 -07:00
JackDandy d9eab04029 Add new feature, set file date to episode aired date. Fix, use alternative Trakt API field for episode air time. Improve the Preview Rename tip.
Add, new setting "Set File Date to Airdate" on the Media Management tab of the Settings page to toggle this feature for new, imported and auto updating media files.

Change, home page "Series Editor" - "Rename" button to "Update Files" and add "Set File Date To Air Date" action button to this modal to add capability of updating legacy media.

Add, non UTC functions given that Windows undesirably adds time to file times set when using UTC.

Fix, the Trakt API response show.air_time_utc contains erroneous data, this is replaced with show.air_time.
2014-03-09 02:13:40 +00:00
Mark McDowall 0b2b8e9bbe Cleaned up parser tests, 1103/1113 parsing is less greedy
Fixed: Importing of hashed releases
2014-02-20 09:18:32 -08:00
Mark McDowall e9db0fc14a Fixes after rebase 2014-02-12 01:05:29 -08:00
Mark McDowall 3ca5e478ff Almost everything working except importing episode thumbs 2014-02-12 01:04:54 -08:00
Taloth Saldono 3e97106aa7 Updated QualityProfile to contain a list of Items each with a 'Allowed' bool. 2014-01-29 01:53:59 +01:00
Taloth Saldono c90791b266 Quality Order can now be change on per Quality Profile. Quality Title used in Renaming can now be changed by the user. Both options require Advanced Settings to be enabled. 2014-01-27 19:21:29 +01:00
Mark McDowall 24430aef07 Use proper path for episode file moving 2014-01-26 15:12:06 -08:00
Mark McDowall 37231d1ef0 DiskProvider split to Windows and Mono projects 2014-01-25 23:51:33 -08:00
Mark McDowall 72e56a1845 Fixed: Some specials will no longer be treated as containing the full season on import 2013-12-28 01:22:03 -08:00
Mark McDowall f76c4700a6 New: Release Group can now be used in rename patterns 2013-12-08 22:25:11 -08:00
Mark McDowall 9cb220bf2a dllmap added for MediaInfo.DLL
Fall back to filesize check if mediainfo is not available
Ubuntu package depends on sqlite3 and mediainfo
New: mediainfo now used on mono to check runtime when available
2013-12-01 14:44:01 -08:00
kayone 91d64f0b6a path performance optimization 2013-11-30 16:33:59 -08:00
Mark McDowall f3fbbf66e0 Catching InvalidOperationExceptions when Inheriting folder permissions
Fixed: Issue sorting files when series is on a share running on UFS
2013-11-28 00:03:58 -08:00
Mark McDowall e42ac25657 Rename preview for full series and season
New: Preview before renaming files
2013-11-27 01:26:10 -08:00
kayone ec63053fe7 cleaned up using directives. 2013-11-19 16:42:17 -08:00
Mark McDowall d71ca52467 Fixed broken tests 2013-11-18 10:23:36 -08:00
Mark McDowall 07386f12e6 New: Only clean XBMC Library when a file is being upgraded 2013-11-17 22:28:49 -08:00
Mark McDowall 410bf0d846 Use folder quality when it is better than file quality
Fixed: Better handling of downloads that don't have the quality in the filename
2013-11-11 19:59:51 -08:00
Mark McDowall d111be17ad Fixed broken sample tests 2013-11-03 22:44:35 -08:00
Mark McDowall 77a5fd62d2 Better sample checks
Fixed: Sample checking relies on runtime instead of file size (Windows)
Fixed: Minimum file size for 1080p releases is now 140MB (lower will be considered samples)
2013-11-03 22:39:37 -08:00
Mark McDowall a5e08eefae Made NotUnpackingSpec test WindowsOnly 2013-10-22 22:25:17 -07:00
Mark McDowall 46bd5d1767 Fixed: Skip last write time check on linux for _UNPACK_ folders 2013-10-22 17:42:43 -07:00
Mark McDowall 741279b596 Import episodes will import largest files first (to reject samples) 2013-10-14 09:22:16 -07:00
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00