scanner/mpd: Add TODOs for later and fix flake8 warning
This commit is contained in:
parent
e6381a1a0a
commit
dc3cf427b6
@ -3,7 +3,6 @@ from __future__ import unicode_literals
|
||||
import pygst
|
||||
pygst.require('0.10')
|
||||
import gst
|
||||
import gobject
|
||||
|
||||
import datetime
|
||||
import os
|
||||
|
||||
@ -301,6 +301,7 @@ def _add_to_tag_cache(result, dirs, files, media_dir):
|
||||
relative_path = os.path.relpath(path, base_path)
|
||||
relative_uri = urllib.quote(relative_path)
|
||||
|
||||
# TODO: use track.last_modified
|
||||
track_result['file'] = relative_uri
|
||||
track_result['mtime'] = get_mtime(path)
|
||||
track_result['key'] = os.path.basename(text_path)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user