From 7242c5ed03bdf43935f1286de22870b41bf76910 Mon Sep 17 00:00:00 2001 From: Max Ammann Date: Wed, 26 Oct 2016 23:08:44 +0200 Subject: [PATCH] Revert "Expose the relative path to the library instead of omitting the 'path' variable" This reverts commit 5e8ac9e4a5d06de791fe051a419ba070bbdd5bec, because of a slowdown. Resolves #2182. --- beetsplug/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index 07e68638b..810de8718 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -37,7 +37,7 @@ def _rep(obj, expand=False): out = dict(obj) if isinstance(obj, beets.library.Item): - out['path'] = obj.destination(fragment=True) + del out['path'] # Get the size (in bytes) of the backing file. This is useful # for the Tomahawk resolver API.