mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
Expose the relative path to the library instead of omitting the 'path' variable
This commit is contained in:
parent
2ae26548fc
commit
5e8ac9e4a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue