From 27dea9cfc184cafc46434bb9015826145717b877 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 30 Aug 2012 11:25:58 -0400 Subject: [PATCH] cc-4241: removed broken code --- python_apps/media-monitor2/media/monitor/metadata.py | 2 +- python_apps/media-monitor2/media/monitor/organizer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python_apps/media-monitor2/media/monitor/metadata.py b/python_apps/media-monitor2/media/monitor/metadata.py index 70828faeb..e7a450219 100644 --- a/python_apps/media-monitor2/media/monitor/metadata.py +++ b/python_apps/media-monitor2/media/monitor/metadata.py @@ -106,7 +106,7 @@ class Metadata(Loggable): # here. Also interface is not very consistent @staticmethod - def fix_title(self, path): + def fix_title(path): # If we have no title in path we will format it # TODO : this is very hacky so make sure to fix it m = mutagen.File(path, easy=True) diff --git a/python_apps/media-monitor2/media/monitor/organizer.py b/python_apps/media-monitor2/media/monitor/organizer.py index e8b22d680..c632c0bb2 100644 --- a/python_apps/media-monitor2/media/monitor/organizer.py +++ b/python_apps/media-monitor2/media/monitor/organizer.py @@ -66,8 +66,8 @@ class Organizer(ReportHandler,Loggable): directory=d) return cb - Metadata.fix_title(event.path) - + # TODO : Workaround doesn't work. Fix later + #Metadata.fix_title(event.path) mmp.magic_move(event.path, new_path, after_dir_make=new_dir_watch(dirname(new_path)))