From 0c293f2e575db75280dc3727cd1cb4f96aab970a Mon Sep 17 00:00:00 2001 From: jaywk Date: Thu, 7 Dec 2017 21:06:31 -0500 Subject: [PATCH] Update searcher.py This sends an API search for the "Audio" category instead of the "Audio Flac" category. This fixes an issue where an MP3 file would not be selected if available but no Flac file was available. --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 2fc5e78db..b97275b62 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -609,7 +609,7 @@ def searchNZB(album, new=False, losslessOnly=False, albumlength=None, if headphones.CONFIG.PREFERRED_QUALITY == 3 or losslessOnly: categories = "3040" elif headphones.CONFIG.PREFERRED_QUALITY == 1 or allow_lossless: - categories = "3040,3010" + categories = "3000" else: categories = "3010"