cc-2419: media monitor import on startup
-fixed syntax errors, added more logging.
This commit is contained in:
parent
ddb5e8e383
commit
c67e711a05
4 changed files with 6 additions and 5 deletions
|
@ -289,7 +289,7 @@ class AirtimeProcessEvent(ProcessEvent):
|
|||
if self.is_parent_directory(event.pathname, storage_directory):
|
||||
file_md = self.md_manager.get_md_from_file(event.pathname)
|
||||
if file_md is not None:
|
||||
filepath, is_recorded_show = self.create_file_path(event.pathname)
|
||||
filepath, is_recorded_show = self.create_file_path(event.pathname, file_md)
|
||||
self.move_file(event.pathname, filepath)
|
||||
self.renamed_files[event.pathname] = filepath
|
||||
self.file_events.append({'mode': self.config.MODE_CREATE, 'filepath': filepath, 'data': file_md, 'is_recorded_show': False})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue