scanner/mpd: Add TODOs for later and fix flake8 warning

This commit is contained in:
Thomas Adamcik 2013-11-06 18:40:12 +01:00
parent e6381a1a0a
commit dc3cf427b6
2 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@ from __future__ import unicode_literals
import pygst
pygst.require('0.10')
import gst
import gobject
import datetime
import os

View File

@ -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)