Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
b1dcfa727f
|
@ -106,7 +106,7 @@ class Metadata(Loggable):
|
||||||
# here. Also interface is not very consistent
|
# here. Also interface is not very consistent
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def fix_title(self, path):
|
def fix_title(path):
|
||||||
# If we have no title in path we will format it
|
# If we have no title in path we will format it
|
||||||
# TODO : this is very hacky so make sure to fix it
|
# TODO : this is very hacky so make sure to fix it
|
||||||
m = mutagen.File(path, easy=True)
|
m = mutagen.File(path, easy=True)
|
||||||
|
|
|
@ -66,8 +66,8 @@ class Organizer(ReportHandler,Loggable):
|
||||||
directory=d)
|
directory=d)
|
||||||
return cb
|
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,
|
mmp.magic_move(event.path, new_path,
|
||||||
after_dir_make=new_dir_watch(dirname(new_path)))
|
after_dir_make=new_dir_watch(dirname(new_path)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue