From 75656b9b3dbc4307f2e09687bf60a16636a3e17f Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 3 Jan 2016 21:07:10 +0100 Subject: [PATCH] core: Address review comments --- mopidy/core/library.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mopidy/core/library.py b/mopidy/core/library.py index 2a4ee87d..240de619 100644 --- a/mopidy/core/library.py +++ b/mopidy/core/library.py @@ -236,6 +236,8 @@ class LibraryController(object): result = future.get() if result is not None: validation.check_instances(result, models.Track) + # TODO Consider making Track.uri field mandatory, and + # then remove this filtering of tracks without URIs. results[u] = [r for r in result if r.uri] if uri: