From 632255d2dc88caa244aaa3d48f26e7222ad5c6c7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 15 Jan 2018 01:43:35 +0100 Subject: [PATCH] typo --- platypush/backend/music/mpd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/music/mpd/__init__.py b/platypush/backend/music/mpd/__init__.py index 8b3b9632bb..1da0b5ab79 100644 --- a/platypush/backend/music/mpd/__init__.py +++ b/platypush/backend/music/mpd/__init__.py @@ -43,7 +43,7 @@ class MusicMpdBackend(Backend): if 'title' in track and ('artist' not in track or not track['artist'] - or re.search('^tunein:', track_info['file'])): + or re.search('^tunein:', track['file'])): m = re.match('^\s*(.+?)\s+-\s+(.*)\s*$', track['title']) if m and m.group(1) and m.group(2): track['artist'] = m.group(1)