From 28aa2eeeed33bfbcfc31aa427c3ae0dbaeb33c9d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 7 Apr 2018 01:06:22 -0400 Subject: [PATCH] Added: Readme OpenCollective Info --- README.md | 29 ++++++++++++++++++++++ src/NzbDrone.Core/Parser/Parser.cs | 2 -- src/NzbDrone.Core/Parser/ParsingService.cs | 7 +++++- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 779893ebb..78c1bcbc4 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Build status](https://ci.appveyor.com/api/projects/status/tpm5mj5milne88nc?svg=true)](https://ci.appveyor.com/project/lidarr/lidarr) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4e6d014aee9542189b4abb0b1439980f)](https://www.codacy.com/app/Lidarr/Lidarr?utm_source=github.com&utm_medium=referral&utm_content=lidarr/Lidarr&utm_campaign=Badge_Grade) ![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/lidarr.svg) +[![Backers on Open Collective](https://opencollective.com/lidarr/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/lidarr/sponsors/badge.svg)](#sponsors) Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. @@ -59,6 +60,34 @@ Lidarr is a music collection manager for Usenet and BitTorrent users. It can mon * Make sure `NzbDrone.Console` is set as the startup project * Change build to 'Debug x86' +## Contributors + +This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. + + + +## Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/lidarr#backer)] + + + + +## Sponsors + +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/lidarr#sponsor)] + + + + + + + + + + + + ### License * [GNU GPL v3](http://www.gnu.org/licenses/gpl.html) diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index 8a15f8c7c..e3edf999d 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -634,8 +634,6 @@ namespace NzbDrone.Core.Parser ArtistTitleInfo = artistTitleInfo, Title = trackTitle }; - - Logger.Trace("File Tags Parsed: Artist: {0}, Album: {1}, Disc: {2}, Track Numbers(s): {3}, TrackTitle: {4}", result.ArtistTitle, result.AlbumTitle, result.DiscNumber, trackNumber, result.Title); diff --git a/src/NzbDrone.Core/Parser/ParsingService.cs b/src/NzbDrone.Core/Parser/ParsingService.cs index 7d1460f0f..98f1291d3 100644 --- a/src/NzbDrone.Core/Parser/ParsingService.cs +++ b/src/NzbDrone.Core/Parser/ParsingService.cs @@ -267,7 +267,12 @@ namespace NzbDrone.Core.Parser { Album album = null; - if (parsedTrackInfo != null && parsedTrackInfo.ReleaseMBId.IsNotNullOrWhiteSpace()) + if (parsedTrackInfo == null) + { + return null; + } + + if (parsedTrackInfo.ReleaseMBId.IsNotNullOrWhiteSpace()) { album = _albumService.FindAlbumByRelease(parsedTrackInfo.ReleaseMBId); }