Commit Graph

429 Commits (develop)

Author SHA1 Message Date
Joseph Milazzo ef4da4ac9f Track Parsing Code (#10)
7 years ago
Qstick c6ac0878a7 Fix Crash due to ForeignArtistId not being in DB for TrackFile Table
7 years ago
Joseph Milazzo ee90d8021a Merge conflicts
7 years ago
Joseph Milazzo bf7f890c48 Restabilized add artist flow with NodeJS API
7 years ago
Joseph Milazzo dc0db08ca8 Merge conflicts
7 years ago
Qstick 916db8d356 Add Track and TrackFile API Resources
7 years ago
Joseph Milazzo e96cf08409 Back to a stable build. Fixedtrackrepo.findtracks
7 years ago
Qstick fafe4e93f3 Clean up and back to build state
7 years ago
Joseph Milazzo 1024555f75 At a point where we can build. Many TODOs and existing Series-based APIs need to be removed. No track code actually works.
7 years ago
Joseph Milazzo 235e753b93 Merge branch 'develop' of https://github.com/mattman86/Lidarr into feature/trackParse
7 years ago
Joseph Milazzo 7acad802fb Merge pull request #8 from mattman86/feature/trackRepository
7 years ago
Joseph Milazzo 76db95947c Refactored most code for track parsing.
7 years ago
d7ad9b8218 Support music qualities. This is a work in progress, lots of code still references tv series
7 years ago
Joseph Milazzo fbb6691ea1 Implemented Tracks and ability to save to the DB. Updated SkyHook to support ArtistSlug.
7 years ago
Joseph Milazzo fa52eabb79 Almost finished linking frontend to backend. A few issues with DB mapping to work out.
7 years ago
Joseph Milazzo 9ce71ff698 Added Music models and basic database
7 years ago
TCBWZA e73158d5fa Update _fileExtensions to include .mp3 (quality unknown), .m4a quality DVD and .flac quality RAWHD
7 years ago
Matthew Despain 20c8dec50a First round of refactoring.
7 years ago
Mark McDowall 83370ddbbb New: Episode files sent to Recycling Bin are put into subfolders
7 years ago
Taloth Saldono 2e08f195e4 Fixed: Zero length file causes MediaInfo hanging in 100% cpu load.
7 years ago
Mark McDowall bf485f6f2c Log number of files found when getting video/non-video files
7 years ago
Daniel Smith 37d5a3f2ad Fixed: Clear EpisodeFile records from database if Series folder is missing, but root folder appears to be mounted.
7 years ago
Mark McDowall fc15daa37e New: Improve parsing of audio channels from MediaInfo output
7 years ago
Mark McDowall c6eb19c04d Exclude .grab and Plex Version folders
7 years ago
Keivan Beigi 73840dcacc The great logger.Error cleanup!
8 years ago
Keivan Beigi 8252a2a60f RIP
8 years ago
Keivan Beigi ad7d571b24 New: Better platform detection specifically for Non-Windows Systems
8 years ago
Keivan Beigi 0214c8e0f0 Removed unused using statements
8 years ago
Keivan Beigi aba613acd1 Because it's 2016!
8 years ago
Taloth Saldono 9fbe06ad68 New: Added support to override Copy vs Move import logic for DownloadedEpisodesScan API and Manual Import UI.
8 years ago
Mark McDowall ff33f15bac Fixed: Import episodes in season packs in numerical order
8 years ago
Mark McDowall 0de1f3f17a Fixed: Ignore extrafanart subfolder when scanning for extra files
8 years ago
Mark McDowall a621f0d49b Fixed: Prevent duplicate parsing of extra files
8 years ago
Mark McDowall 2e96c4e798 New: Parse existing subtitles and extra files
8 years ago
Mark McDowall aa37b65842 Fixed tests for EpisodeFileMovingService
8 years ago
Mark McDowall 422371d118 Fixed: Episode import when the series folder had a trailing slash and folder was not on disk
8 years ago
Mark McDowall 5fcd65ef57 Fixed: MediaInfo.AudioChannels for some eac3 and mp3 files
8 years ago
Taloth Saldono 4486317888 Fixed: Manual Import failing to parse series title from certain nested folders.
8 years ago
Mark McDowall db4b0de5e2 New: MediaInfo VideoBitDepth and AudioChannels
8 years ago
Mark McDowall ab63c3e83d Fixed: Parsing series title during manual import
8 years ago
Taloth Saldono 006dc9202b Fixed: Tweaked sample detection for short episodes.
8 years ago
Mark McDowall e4e3770e54 Log message makes sense now
8 years ago
Mark McDowall e9248e284e Return decisions when catching exceptions during decision making
8 years ago
Taloth Saldono c29e49da95 Clarified error message in MatchesFolderSpecification.
8 years ago
Taloth Saldono 72f0085ef7 Fixed: DownloadedEpisodesScan API command couldn't be used to process individual files.
8 years ago
Taloth Saldono 6a90035a4c Updated NLog to v4.2.3.
8 years ago
Taloth Saldono 91d91bc673 Fixed: Sample files of daily episodes should also be deleted after import.
8 years ago
Mark McDowall 1a5eafd2b1 New: Remove empty subfolders after renaming FileSetLastWriteTime
8 years ago
Taloth Saldono 5550565d6a Fixed: Manual Import didn't revert to parent folder when trying to parse series leading to issues with obfuscated releases.
8 years ago
Mark McDowall b62ef0c40c Fixed: Use folder quality when better than file quality (regression)
9 years ago
Mark McDowall b4f83d8a4e New: Media file extension .webm
9 years ago
Mark McDowall a9444cef30 Fixed: Folder quality when file quality determined by its extension
9 years ago
Mark McDowall 0e90bf5227 Fixed: Don't import single files that start with ._
9 years ago
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords.
9 years ago
Taloth Saldono d6a135857d Clarified error message when parsed episode doesn't exist in the database.
9 years ago
Mark McDowall 49dea2cd7f Fixed: Log error message when moving file to recycling bin fails
9 years ago
Mark McDowall 28a70a0cf1 Fixed: Import episodes in ascending numerical order
9 years ago
Mark McDowall 7286ccdd56 return early for existing files in UnverifiedSceneNumberingSpecification
9 years ago
Taloth Saldono 1a402a9cf4 MediaInfo should use ParseSpeed > 0.2 for .ts files to get accurate readings.
9 years ago
Taloth Saldono 648a16c1bb Fixed: Don't check for missing TheXEM numbering when importing existing series.
9 years ago
Taloth Saldono 6d046a8df8 Fixed: Extrapolate scene numbering but won't auto import.
9 years ago
Taloth Saldono c4430ab4de MediaInfo Dispose only when handle was created.
9 years ago
Taloth Saldono c9f720885e Fixed: Renaming episodes on OSX with case-insensitive filesystem.
9 years ago
Taloth 51f705d89a Merge pull request #139 from Sonarr/verified-file-transfer
9 years ago
Mark McDowall 4c1e211675 Fixed: Speed up disk rescaning during series refresh
9 years ago
Mark McDowall 92b87b9d21 Fixed: Improved error messaging for manual import
9 years ago
Taloth Saldono 5effca92b8 New: Now checks the file size of moved episodes to verify if the transfer was completed successfully to be able to detect errors with mounted network storage.
9 years ago
Taloth Saldono 1fbbfb3317 Fixed: A bug caused way too much data being read during MediaInfo discovery (often the entire file).
9 years ago
Taloth Saldono 70544738ed Merge branch 'metadata-creation' into develop
9 years ago
Mark McDowall bbcabf0632 Fixed: Don't use folder quality when it is unknown and file quality is
9 years ago
Taloth Saldono b540307dbd Fixed: Series/season metadata also created on episode import.
9 years ago
Mark McDowall f57dea7f1f New: Store last 5 used folders from manual import
9 years ago
Taloth Saldono f1a5261e0a Properly dispose filestream after getting mediainfo.
9 years ago
Taloth cef6eb7509 Merge pull request #544 from Sonarr/mediainfo-unicode
9 years ago
Mark McDowall 57bcc9f4c1 Don't filter excluded files twice
9 years ago
Taloth Saldono 5cd2d71e6f Integrated MediaInfo wrapper to be able to properly handle Unicode on Linux.
9 years ago
Mark McDowall 96578ca59b Stricter rejection of series subfolders
9 years ago
Mark McDowall 9d980a8ac7 Manual Import sends progress messages
9 years ago
Mark McDowall c3acfe34fe Fixed: Exclude OS X Metadata files when scanning for files
9 years ago
Taloth Saldono 429298c68c Fixed manual import of unknown episodes.
9 years ago
Taloth Saldono af060d73cc Updated MediaInfo code for syno/linux.
9 years ago
Mark McDowall 6dd22e7dcb New: Manual Import episodes
9 years ago
Mark McDowall 587aff602a Fixed: Don't delete downloads unless a file was imported
9 years ago
Mark McDowall 0c6ca6971d Fixed: Do not replace a file unless it contains the same episodes
9 years ago
Taloth Saldono 2a83088045 Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible.
9 years ago
Mark McDowall 4b7ee3cb9e Fixed: Monitoring options not be applied when adding a new series to an empty root folder
9 years ago
Mark McDowall 27246de623 Fixed: Ignore @eaDir inside Series folders
9 years ago
Mark McDowall 2a4fd2bbde Fixed: Better error messaging when import fails due to inaccessible path
9 years ago
Taloth Saldono d4532c3856 Fixed: MediaInfo now also works on linux with unicode filenames.
9 years ago
Taloth Saldono 9dd66879a2 Fixed: Better handling for Remote NAS errors.
9 years ago
Mark McDowall 1efb7446c9 Log full path when moving or copying
9 years ago
Mark McDowall c5f2c2823e Separate log messages for hardlinking and copying
9 years ago
Mark McDowall 638e3ca898 Command queue
9 years ago
Taloth Saldono dc2c1f7928 Fixed: Import of single-file anime torrents.
9 years ago
Taloth Saldono 46da14f3bf And the same fix for the actual import.
9 years ago
Taloth Saldono 2e81e278e1 Fixed a couple of logging errors.
9 years ago
Mark McDowall e466c77487 Fixed: Ignore .AppleDouble subfolders of season folder
9 years ago
Mark McDowall ec88c2c2ca Parsing improvements
9 years ago
Mark McDowall 20782bbbc1 Episode import improvements
9 years ago
Mark McDowall 05ee57a972 New: options when adding series, including the ability to search for all missing episodes
9 years ago
Mark McDowall 6054dd8ee6 Fixed: Don't scan subfolders in series folders that start with a period
10 years ago
Mark McDowall f5de5c3a24 Rename preview shows same order as series details (descending)
10 years ago
Taloth Saldono 2f048f4217 Fixed: DownloadEpisodesScan api command regressed during a refactoring causing nzbToMedia to fail.
10 years ago
Mark McDowall 2bbce39faa Show title mismatches, but don't import them automaticallys
10 years ago
Mark McDowall d277420849 Fixed: Do not scan series folder if root folder is empty
10 years ago
Mark McDowall 6711ba2549 Fixed: Do not remove directories when they contain a RAR file over 10MB
10 years ago
Mark McDowall 90ce35abee Fixed: Import files for the series Extras
10 years ago
Keivan Beigi a6d34caf2c New: Rebuilt Completed/Failed download handling from scratch
10 years ago
Keivan Beigi 0a341199a8 safer log configuration
10 years ago
Mark McDowall 9686c2579b Don't fetch media info when adding existing episodes
10 years ago
Mark McDowall e637d68157 Advanced option to disable media info for add series/rescan
10 years ago
Mark McDowall 7aee3c5ac4 Fixed: Don't check for sample for anime specials
10 years ago
Mark McDowall d93bd52a01 Queue actions
10 years ago
Keivan Beigi f4c202441c Cleaned up environment detection
10 years ago
Keivan Beigi cf77104a02 removed redundant else
10 years ago
Keivan Beigi 0be8f55a2f Cleaned up using directive
10 years ago
Mark McDowall 6467167046 Moved Extension methods in common to subfolder
10 years ago
Taloth Saldono 08d92c5511 Fixed: File imports via CDH are no longer checked for file locks.
10 years ago
Taloth Saldono 94311bda1f Fixed: CDH erroneously reported a locked file on import.
10 years ago
MythJuha 67cd5703a1 New: Implemented Torrent Download Clients: uTorrent, Transmission and Deluge. And several public and private Torrent Indexers.
10 years ago
Taloth Saldono ffa814f387 Added support for Hardlinking instead of Copy.
10 years ago
Mark McDowall fd71bd6969 Refactored setting attributes on media/metadata files to its own service
10 years ago
Mark McDowall f8c002db9f Fixed: Use runtime of series for sample checks instead of constant
10 years ago
Taloth Saldono 5fed3670c8 Drone factory would throw exception on unknown series instead of proper error.
10 years ago
Taloth Saldono 0b48630c00 New: Improved the DownloadedEpisodesScanCommand endpoint to better support external triggers to CDH. (nzbToMedia)
10 years ago
Mark McDowall 7af9748ff3 Fixed: Do not scan episode files in .AppleDouble folders
10 years ago
Mark McDowall 18f0e3d536 New: .wtv extension as video file
10 years ago
Mark McDowall 64e7cc69b9 Fixed: Extras folder detection is case insensitive
10 years ago
Mark McDowall 6a3bea5adc Log path being deleted when deleting permanently at info
10 years ago
Keivan Beigi ef1e290311 Removed redunent UTC/non-utc File/dire methods.
10 years ago
Keivan Beigi f684d2f0d7 Fixed: Missing MediaInfo doesn't block import anymore
10 years ago
Keivan Beigi a44be4d902 log newsnab 429 errors as warn instead of exceptions
10 years ago
Mark McDowall 22c9bc402f Fixed: File upgrade rejections will be reported properly when importing
10 years ago
Taloth Saldono cc8c88e921 Fixed: Extensions are now removed from scene names during import.
10 years ago
Mark McDowall f63476260b New: Show episode file file deletions in history and episode activity
10 years ago
Keivan Beigi 3a287bf7e7 Merge pull request #108 from NzbDrone/scene-name
10 years ago
Mark McDowall b638e09f24 Fixed: Don't mark releases as imported unless at least one file is imported
10 years ago
Mark McDowall 96c1ceaa29 Fixed: Set permissions on new metadata files (mono)
10 years ago
kayone 20287f84ce Fixed: Use Nzb title as scene name when available
10 years ago
Mark McDowall bf1547a524 Pneumatic will set the download client ID for strm files
10 years ago
Mark McDowall 2651cd63a8 Fixed: Don't mark a download as successful unless all valid files are imported
10 years ago
Taloth Saldono bd60133274 Fixed: Framerate in mediainfo is now parsed culture invariant.
10 years ago
Mark McDowall 74ff7803a9 Only set last write time for recycling bin on Windows
10 years ago
Mark McDowall 807ed7df1a New: Show disk space used by series on series details
10 years ago
Mark McDowall 6671934c0f Relative episode file paths
10 years ago
Mark McDowall 9ffdf18935 Fixed: Set permissions on new series folders (mono)
10 years ago
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.
10 years ago
Taloth Saldono 7b420fc033 Added MediaInfo to EpisodeFile.
10 years ago
Mark McDowall c11c2c831d Don't set folder write time on Mono
10 years ago
Mark McDowall f657afc424 Fixed: don't try to delete series folder if it doesn't exist
10 years ago
Taloth Saldono e5e00fd346 Fixed: Renaming Episodes will never overwrite existing files.
10 years ago
Mark McDowall 74a38415cf Profiles
10 years ago
Mark McDowall 08b2e293d3 Verify disk scan won't scan if root folder doesn't exist
10 years ago
Taloth Saldono 47089d360d New: The History->Queue UI now show some elementary error information for failed imports.
10 years ago
Mark McDowall c5bd8b27fb Backups
10 years ago
Mark McDowall 83207a0baf listenTo instead of on
10 years ago
Taloth Saldono 50303ce470 Fixed: Checks full path for _UNPACK_ prefix so that full season downloads are properly checked for unpacking.
10 years ago
Mark McDowall ce89469c9b Drone factory folder not being set is now logged at trace
10 years ago
Taloth Saldono 1a63b1caba Updated migration to attempt associate old grabbed & imported events and associate drone factory imports during CompletedDownloadHandling.
10 years ago
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)
10 years ago
Mark McDowall 48ac09baae Roto folder fixes
10 years ago
Mark McDowall 859e36aa6b New: Do not import files inside the EXTRAS folder within a Series
10 years ago
Mark McDowall cde3d0b44a Don't throw permissions errors when importing files
10 years ago
Mark McDowall ceb06378ad Fixed: Daily series won't get treated as specials during sample checks
10 years ago
Mark McDowall 946406f456 Rescan all series via RescanSeriesCommand
10 years ago
Mark McDowall 31deff1ea3 Fixed: Daily shows will no longer skip sample detection
10 years ago
Mark McDowall 0f9360bccb New: Advanced option to skip checking free space when importing files
10 years ago
Mark McDowall e5263f143d Import process improvements
10 years ago
Mark McDowall a0aaac0fd9 Added some stopwatches for disk scanning
10 years ago
Mark McDowall f52c151f0a Call DiskScanService.Scan directly
10 years ago
Mark McDowall 69f5c8444e New: Added drone factory rescan button to Wanted
10 years ago
Mark McDowall c6e492af4e Fixed: Ended series will be refreshed from trakt every 30 days instead of daily
10 years ago
Mark McDowall 2f3430387e Major logging overhaul
10 years ago
Mark McDowall a02108922f Set episode file modified date to local or utc air date
10 years ago
Mark McDowall 8478379ff4 Merge branch 'AirDate' of https://github.com/JackDandy/NzbDrone into set-file-date
10 years ago
Mark McDowall 8885bbb60f OS X and linux can be treated separately
10 years ago
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.
10 years ago
Mark McDowall 9d74693bb7 Added Series Scanned Event
10 years ago
Mark McDowall 9dcd58a631 Prevent queue/history from blowing up
10 years ago
Mark McDowall 366034c969 Return MoveFile
10 years ago
Mark McDowall 7758db5324 EpisodeFileMover updates episode file path after move
10 years ago
Mark McDowall 33ebf1bf78 New: Rename all selected series from the series editor
10 years ago
Mark McDowall 99336595b0 Removed SetFolderWriteTime in favour of FolderSetLastWriteTimeUtc
10 years ago
Mark McDowall 828e8eb147 Fixed: Orphaned episode file was preventing rename preview from functioning
10 years ago
Mark McDowall 259c408b67 Added size information when Size spec rejects import
10 years ago
Mark McDowall 0b2b8e9bbe Cleaned up parser tests, 1103/1113 parsing is less greedy
10 years ago
Mark McDowall e9db0fc14a Fixes after rebase
10 years ago
Mark McDowall 409e1cca94 No more dupes and house cleaner added
10 years ago
Mark McDowall 3ca5e478ff Almost everything working except importing episode thumbs
10 years ago
Mark McDowall a6361d0bbd New: XBMC Metadata (Frodo+)
10 years ago
markus101 f9b0b2206c Added RescanSeries command
10 years ago
Mark McDowall 958c2f1fe1 Merge branch 'quality-definitions' into develop
10 years ago
Mark McDowall 7218772b32 Support for setting uid/gid on *nix systems
11 years ago
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.
11 years ago
Mark McDowall 47a8d93c18 Added .ogv as a file extension
11 years ago
Mark McDowall 543cc4e6c1 If folder does not exist...
11 years ago
Mark McDowall 49168cad25 UI and opt-in for setting permissions
11 years ago
Mark McDowall 5459b5fed4 New: Setting file permissions on import (Linux)
11 years ago
Mark McDowall 37231d1ef0 DiskProvider split to Windows and Mono projects
11 years ago
Mark McDowall 7d46f4d64d Logging destination filename when importing/renaming files.
11 years ago
Mark McDowall 72e56a1845 Fixed: Some specials will no longer be treated as containing the full season on import
11 years ago
Mark McDowall f76c4700a6 New: Release Group can now be used in rename patterns
11 years ago
Mark McDowall c03f01172e Use audio and general stream runtimes when video runtime is zero
11 years ago
Mark McDowall 0de25988a5 Added logging when folder quality is parsed
11 years ago
Mark McDowall 54fcbc311f Logging quality again when using it from folder during import
11 years ago
Mark McDowall d4a9bd25bd Decimal.TryParse the frame rate instead of Decimal.Parse
11 years ago
Mark McDowall 9cb220bf2a dllmap added for MediaInfo.DLL
11 years ago
kayone b43c4e04f8 don't report DirectoryNotFoundException in FreeSpaceSpecification
11 years ago
kayone 91d64f0b6a path performance optimization
11 years ago
kayone a7d5b3761b Fixed: Memory leak in Ensure.That
11 years ago
Mark McDowall 3266d05c82 Rename previews are now ordered in asscending season and epsiode order
11 years ago
Mark McDowall e6a4008fad Adding some more logging to import process
11 years ago
Mark McDowall f3fbbf66e0 Catching InvalidOperationExceptions when Inheriting folder permissions
11 years ago
Mark McDowall e42ac25657 Rename preview for full series and season
11 years ago
kayone 7efac124c7 added input validation around MoveFile
11 years ago
Mark McDowall 061da0573a Fixed: Another runtime parsing issue for .ts files
11 years ago
kayone ec63053fe7 cleaned up using directives.
11 years ago
Mark McDowall ea36c6ed47 Create missing series folders on disk scan (if enabled)
11 years ago
Mark McDowall 07386f12e6 New: Only clean XBMC Library when a file is being upgraded
11 years ago
Mark McDowall 410bf0d846 Use folder quality when it is better than file quality
11 years ago
Mark McDowall 3789602e56 Refresh series logs more and is done in alphabetical order
11 years ago
Mark McDowall 94d50de6cb Fixed: Parsing .ts files for runtime should work now
11 years ago
Mark McDowall 77a5fd62d2 Better sample checks
11 years ago
Mark McDowall 46bd5d1767 Fixed: Skip last write time check on linux for _UNPACK_ folders
11 years ago
Mark McDowall 743754a041 Catch any errors setting last write time so we don't blow up the whole process
11 years ago
Mark McDowall e7780af212 Better name from LocalEpisode in EpisodeImportedEvent
11 years ago
Mark McDowall c708b5ce1a Only run InheritFolderPermissions on Windows
11 years ago
Mark McDowall 741279b596 Import episodes will import largest files first (to reject samples)
11 years ago
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change
11 years ago