Skip to content

Commit

Permalink
Added docstring, copyright and license to plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
kerobaros committed Nov 3, 2014
1 parent 8daeb7d commit 3516fb6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions beetsplug/freedesktop.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# This file is part of beets.
# Copyright 2014, Matt Lichtenberg.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.

"""Creates freedesktop.org-compliant .directory files on an album level.
"""

from beets.plugins import BeetsPlugin
from beets.ui import Subcommand

Expand Down Expand Up @@ -43,8 +60,6 @@ def create_file(albumpath, artfile):


class FreedesktopPlugin(BeetsPlugin):
"""Creates freedesktop.org-compliant .directory files on an album level.
"""
def __init__(self):
super(FreedesktopPlugin, self).__init__()
self.config.add({
Expand Down

0 comments on commit 3516fb6

Please sign in to comment.