From d90a31afc7dc530666030c478133bc92b5a32f9b Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 23 Jul 2015 18:09:38 +0100 Subject: [PATCH] Fix for #2282 --- headphones/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/webserve.py b/headphones/webserve.py index b247e067..6c430adb 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -274,7 +274,7 @@ class WebInterface(object): logger.info(u"Scanning artist: %s", artist_name) full_folder_format = headphones.CONFIG.FOLDER_FORMAT - folder_format = re.findall(r'(.*[Aa]rtist?)\.*', full_folder_format)[0] + folder_format = re.findall(r'(.*?[Aa]rtist?)\.*', full_folder_format)[0] acceptable_formats = ["$artist","$sortartist","$first/$artist","$first/$sortartist"]