diff --git a/README.md b/README.md index 779893ebb5..78c1bcbc48 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 8a15f8c7cc..e3edf999d3 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -634,8 +634,6 @@ private static ParsedTrackInfo ParseAudioTags(string path) 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 7d1460f0fe..98f1291d38 100644 --- a/src/NzbDrone.Core/Parser/ParsingService.cs +++ b/src/NzbDrone.Core/Parser/ParsingService.cs @@ -267,7 +267,12 @@ private Album GetAlbum(Artist artist, ParsedTrackInfo parsedTrackInfo) { Album album = null; - if (parsedTrackInfo != null && parsedTrackInfo.ReleaseMBId.IsNotNullOrWhiteSpace()) + if (parsedTrackInfo == null) + { + return null; + } + + if (parsedTrackInfo.ReleaseMBId.IsNotNullOrWhiteSpace()) { album = _albumService.FindAlbumByRelease(parsedTrackInfo.ReleaseMBId); }