MCPcopy
hub / github.com/beetbox/beets / __init__

Method __init__

beetsplug/bucket.py:181–193  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179
180class BucketPlugin(plugins.BeetsPlugin):
181 def __init__(self):
182 super().__init__()
183 self.template_funcs["bucket"] = self._tmpl_bucket
184
185 self.config.add(
186 {
187 "bucket_year": [],
188 "bucket_alpha": [],
189 "bucket_alpha_regex": {},
190 "extrapolate": False,
191 }
192 )
193 self.setup()
194
195 def setup(self):
196 """Setup plugin from config options"""

Callers

nothing calls this directly

Calls 2

setupMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected