From 06ecea8e7acb5843fe62010cce8f37e56b324609 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:35:42 -0300 Subject: [PATCH 1/7] =?UTF-8?q?Typo:=20qualitiy=20=E2=86=92=20quality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/autotag/match.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/autotag/match.py b/beets/autotag/match.py index ed02cdf6b..ddd6b6ee4 100644 --- a/beets/autotag/match.py +++ b/beets/autotag/match.py @@ -382,7 +382,7 @@ def tag_album(items, search_artist=None, search_album=None, search. This can be customized by setting the parameters. The `mapping` field of the album has the matched `items` as keys. - The recommendation is calculated from the match qualitiy of the + The recommendation is calculated from the match quality of the candidates. """ # Get current metadata. From 5456704c26544396bed6a47a3ec9aa90895df7e4 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:41:36 -0300 Subject: [PATCH 2/7] Typo: beetween / wirte / Paramaterize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit beetween → between wirte → write Paramaterize → Parametrize --- beets/library.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beets/library.py b/beets/library.py index 377895eeb..edd4b11db 100644 --- a/beets/library.py +++ b/beets/library.py @@ -110,7 +110,7 @@ class PathQuery(dbcore.FieldQuery): class DateType(types.Float): # TODO representation should be `datetime` object - # TODO distinguish beetween date and time types + # TODO distinguish between date and time types query = dbcore.query.DateQuery def format(self, value): @@ -550,7 +550,7 @@ class Item(LibModel): All fields in `_media_fields` are written to disk according to the values on this object. - `path` is the path of the mediafile to wirte the data to. It + `path` is the path of the mediafile to write the data to. It defaults to the item's path. `tags` is a dictionary of additional metadata the should be @@ -1300,7 +1300,7 @@ class DefaultTemplateFunctions(object): _prefix = b'tmpl_' def __init__(self, item=None, lib=None): - """Paramaterize the functions. If `item` or `lib` is None, then + """Parametrize the functions. If `item` or `lib` is None, then some functions (namely, ``aunique``) will always evaluate to the empty string. """ From d57317f2fc76a0941a421dc2f49f11ec36770d0e Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:45:12 -0300 Subject: [PATCH 3/7] =?UTF-8?q?Typo:=20formated=20=E2=86=92=20formatted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/dbcore/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 6fb259607..274e7af64 100644 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -34,7 +34,7 @@ from .query import MatchQuery, NullSort, TrueQuery class FormattedMapping(collections.Mapping): """A `dict`-like formatted view of a model. - The accessor `mapping[key]` returns the formated version of + The accessor `mapping[key]` returns the formatted version of `model[key]` as a unicode string. If `for_path` is true, all path separators in the formatted values From dc809e3be61ea484a9575a2a2b9391f7b07b8eec Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:48:08 -0300 Subject: [PATCH 4/7] =?UTF-8?q?Typo:=20exectuted=20=E2=86=92=20executed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/importer.py b/beets/importer.py index 6e7ffcd2c..78b2ac250 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -1243,7 +1243,7 @@ def user_query(session, task): The coroutine accepts an ImportTask objects. It uses the session's `choose_match` method to determine the `action` for - this task. Depending on the action additional stages are exectuted + this task. Depending on the action additional stages are executed and the processed task is yielded. It emits the ``import_task_choice`` event for plugins. Plugins have From 9b85f88928a3a1933ce80b44be382711d620b2d2 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:54:41 -0300 Subject: [PATCH 5/7] Typo: Strucuture / descritpion / arguemnt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Strucuture → Structure descritpion → description arguemnt → argument --- beets/mediafile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beets/mediafile.py b/beets/mediafile.py index 22899dee0..842d2322e 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -315,12 +315,12 @@ class ImageType(enum.Enum): class Image(object): - """Strucuture representing image data and metadata that can be + """Structure representing image data and metadata that can be stored and retrieved from tags. The structure has four properties. * ``data`` The binary data of the image - * ``desc`` An optional descritpion of the image + * ``desc`` An optional description of the image * ``type`` An instance of `ImageType` indicating the kind of image * ``mime_type`` Read-only property that contains the mime type of the binary data @@ -812,7 +812,7 @@ class MP3ImageStorageStyle(ListStorageStyle, MP3StorageStyle): The `get_list` method inherited from ``ListStorageStyle`` returns a list of ``Image``s. Similarly, the `set_list` method accepts a - list of ``Image``s as its ``values`` arguemnt. + list of ``Image``s as its ``values`` argument. """ def __init__(self): super(MP3ImageStorageStyle, self).__init__(key='APIC') From e789b3b94c9ef3ac7b3ef774f51e025901f3c2c8 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 15:59:35 -0300 Subject: [PATCH 6/7] =?UTF-8?q?Typo:=20conveniencies=20=E2=86=92=20conveni?= =?UTF-8?q?ences?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/dbcore/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/dbcore/query.py b/beets/dbcore/query.py index 58af61ceb..4527975a8 100644 --- a/beets/dbcore/query.py +++ b/beets/dbcore/query.py @@ -368,7 +368,7 @@ class CollectionQuery(Query): def __hash__(self): """Since subqueries are mutable, this object should not be hashable. - However and for conveniencies purposes, it can be hashed. + However and for conveniences purposes, it can be hashed. """ return reduce(mul, map(hash, self.subqueries), 1) From 403f7e1ba5a3887cf7e6f769292769a24408e57f Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 10 May 2015 16:02:23 -0300 Subject: [PATCH 7/7] =?UTF-8?q?Typo:=20afinity=20=E2=86=92=20affinity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/dbcore/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/dbcore/types.py b/beets/dbcore/types.py index 90c1d7c2e..7f3b2e39e 100644 --- a/beets/dbcore/types.py +++ b/beets/dbcore/types.py @@ -96,7 +96,7 @@ class Type(object): http://www.sqlite.org/datatype3.html https://docs.python.org/2/library/sqlite3.html#sqlite-and-python-types - Flexible fields have the type afinity `TEXT`. This means the + Flexible fields have the type affinity `TEXT`. This means the `sql_value` is either a `buffer` or a `unicode` object` and the method must handle these in addition. """