mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 03:52:51 +01:00
Merge pull request #1534 from multikatt/docfix
Fix capitalization of examples and add a comma
This commit is contained in:
commit
cc03c55397
1 changed files with 4 additions and 4 deletions
|
|
@ -361,11 +361,11 @@ method.
|
|||
|
||||
Here's an example plugin that provides a meaningless new field "foo"::
|
||||
|
||||
class fooplugin(beetsplugin):
|
||||
class FooPlugin(BeetsPlugin):
|
||||
def __init__(self):
|
||||
field = mediafile.mediafield(
|
||||
mediafile.mp3descstoragestyle(u'foo')
|
||||
mediafile.storagestyle(u'foo')
|
||||
field = mediafile.MediaField(
|
||||
mediafile.MP3DescStorageStyle(u'foo'),
|
||||
mediafile.StorageStyle(u'foo')
|
||||
)
|
||||
self.add_media_field('foo', field)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue