Expose the relative path to the library instead of omitting the 'path' variable

This commit is contained in:
Max Ammann 2016-06-14 21:14:21 +02:00
parent 2ae26548fc
commit 5e8ac9e4a5

View file

@ -37,7 +37,7 @@ def _rep(obj, expand=False):
out = dict(obj)
if isinstance(obj, beets.library.Item):
del out['path']
out['path'] = obj.destination(fragment=True)
# Get the size (in bytes) of the backing file. This is useful
# for the Tomahawk resolver API.