diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-24 14:46:14 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-24 14:46:14 +0200 |
commit | 38bbce52008ac02e0dd691d5f3c873b85a7ffd4f (patch) | |
tree | d665f94e55c78779d6e2f37319fa6d84ba4e612f /app.py | |
parent | e75a735a5cfe5f0c43315a9156e943277bf1e612 (diff) |
Send file track in search results.
Diffstat (limited to 'app.py')
-rwxr-xr-x | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ class Application(object): try: session = db.Session() r = db.Track.search(session, *l, **d) - results = [File(x.get_path(), metadata = x.get_metadata()).json() for x in r] + results = [File(x.get_path(), metadata = x.get_metadata(), track = x.file_index).json() for x in r] finally: session.close() |