From 240881b8b451a6afff4c06022a3e7d7a3edc2fff Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 14 Sep 2012 11:21:53 -0400 Subject: [PATCH] Added TODO to shank md5 in code --- python_apps/media-monitor2/media/monitor/pure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_apps/media-monitor2/media/monitor/pure.py b/python_apps/media-monitor2/media/monitor/pure.py index 61c635a58..0038f4b99 100644 --- a/python_apps/media-monitor2/media/monitor/pure.py +++ b/python_apps/media-monitor2/media/monitor/pure.py @@ -350,6 +350,8 @@ def organized_path(old_path, root_path, orig_md): filepath = os.path.join(path, fname) return filepath +# TODO : Get rid of this function and every one of its uses. We no longer use +# the md5 signature of a song for anything def file_md5(path,max_length=100): """ Get md5 of file path (if it exists). Use only max_length characters to save