Commit dd0359e
committed
Remove dead code: sample detection, media info pipeline, subtitles, raw disk
Removed entire sample detection chain (DetectSample, NotSampleSpecification)
— games don't have sample files. Simplified callers to skip sample checks.
Removed UpdateMediaInfoService and its consumers — was a no-op after
FFMpeg removal but still injected in DiskScanService and FileNameBuilder.
Removed AugmentQualityFromMediaInfo — used video resolution from
MediaInfo which is never populated for games.
Removed RawDiskSpecification — rejected Blu-ray/DVD patterns but also
falsely rejected valid game ISOs.
Gutted MediaInfo token registration in FileNameBuilder — tokens still
registered (for naming format compat) but resolve to empty immediately.
Removed hardcoded subtitle parsing (HardcodedSubsRegex, ParseHardcodeSubs,
HardcodedSubs property) — games don't have hardcoded subtitles.
Removed XbmcMetadata movie remnants (watched/playcount/lastplayed/top250).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent eefb377 commit dd0359e
25 files changed
Lines changed: 30 additions & 879 deletions
File tree
- src
- NzbDrone.Core.Test
- DecisionEngineTests
- MediaFiles
- GameImport
- Aggregation/Aggregators/Augmenters/Quality
- Specifications
- MediaInfo
- OrganizerTests/FileNameBuilderTests
- ParserTests
- NzbDrone.Core
- DecisionEngine
- Specifications
- Extras/Metadata/Consumers/Xbmc
- MediaFiles
- GameImport
- Aggregation/Aggregators/Augmenters/Quality
- Specifications
- MediaInfo
- Notifications
- CustomScript
- Webhook
- Organizer
- Parser
- Model
Lines changed: 0 additions & 98 deletions
This file was deleted.
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
| |||
352 | 348 | | |
353 | 349 | | |
354 | 350 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 351 | | |
360 | 352 | | |
361 | 353 | | |
| |||
459 | 451 | | |
460 | 452 | | |
461 | 453 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | 454 | | |
467 | 455 | | |
468 | 456 | | |
| |||
Lines changed: 0 additions & 114 deletions
This file was deleted.
Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 0 additions & 37 deletions
This file was deleted.
Lines changed: 0 additions & 51 deletions
This file was deleted.
0 commit comments