From 155637648e932a4bd132f91118be89a53e9ed725 Mon Sep 17 00:00:00 2001 From: Adam Jakab Date: Sun, 4 Apr 2021 10:29:34 +0200 Subject: [PATCH] added todo --- beetsplug/xtractor/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/beetsplug/xtractor/__init__.py b/beetsplug/xtractor/__init__.py index dd56ef1..0f54f4d 100755 --- a/beetsplug/xtractor/__init__.py +++ b/beetsplug/xtractor/__init__.py @@ -20,5 +20,16 @@ def __init__(self): source = ConfigSource(load_yaml(config_file_path) or {}, config_file_path) self.config.add(source) + # @todo: activate this to store the attributes in media files + # field = mediafile.MediaField( + # mediafile.MP3DescStorageStyle(u'danceability'), mediafile.StorageStyle(u'danceability') + # ) + # self.add_media_field('danceability', field) + # + # field = mediafile.MediaField( + # mediafile.MP3DescStorageStyle(u'beats_count'), mediafile.StorageStyle(u'beats_count') + # ) + # self.add_media_field('beats_count', field) + def commands(self): return [XtractorCommand(self.config)]