From 3eb8008b1128cd0aa5273b714e9281a5b328d59f Mon Sep 17 00:00:00 2001 From: Peter Kessen Date: Thu, 19 Nov 2015 18:41:01 +0100 Subject: [PATCH] added encoding as comment in files added line like # -*- coding: utf-8 -*- to all files with correct license in header --- beets/__init__.py | 1 + beets/art.py | 1 + beets/autotag/__init__.py | 1 + beets/autotag/hooks.py | 1 + beets/autotag/match.py | 1 + beets/autotag/mb.py | 1 + beets/dbcore/__init__.py | 1 + beets/dbcore/db.py | 1 + beets/dbcore/query.py | 1 + beets/dbcore/queryparse.py | 1 + beets/dbcore/types.py | 1 + beets/importer.py | 1 + beets/library.py | 1 + beets/logging.py | 1 + beets/mediafile.py | 1 + beets/plugins.py | 1 + beets/ui/__init__.py | 1 + beets/ui/commands.py | 1 + beets/util/__init__.py | 1 + beets/util/artresizer.py | 1 + beets/util/confit.py | 1 + beets/util/enumeration.py | 1 + beets/util/functemplate.py | 1 + beets/util/pipeline.py | 1 + beets/vfs.py | 1 + beetsplug/__init__.py | 1 + beetsplug/bench.py | 1 + beetsplug/bpd/__init__.py | 1 + beetsplug/bpd/gstplayer.py | 1 + beetsplug/bpm.py | 1 + beetsplug/bucket.py | 1 + beetsplug/chroma.py | 1 + beetsplug/convert.py | 1 + beetsplug/cue.py | 1 + beetsplug/discogs.py | 1 + beetsplug/duplicates.py | 1 + beetsplug/echonest.py | 1 + beetsplug/embedart.py | 1 + beetsplug/fetchart.py | 1 + beetsplug/filefilter.py | 1 + beetsplug/freedesktop.py | 1 + beetsplug/fromfilename.py | 1 + beetsplug/ftintitle.py | 1 + beetsplug/fuzzy.py | 1 + beetsplug/ihate.py | 1 + beetsplug/importfeeds.py | 1 + beetsplug/info.py | 1 + beetsplug/inline.py | 1 + beetsplug/ipfs.py | 1 + beetsplug/keyfinder.py | 1 + beetsplug/lastgenre/__init__.py | 1 + beetsplug/lastimport.py | 1 + beetsplug/lyrics.py | 1 + beetsplug/mbcollection.py | 1 + beetsplug/mbsync.py | 1 + beetsplug/metasync/__init__.py | 1 + beetsplug/metasync/amarok.py | 1 + beetsplug/metasync/itunes.py | 1 + beetsplug/missing.py | 1 + beetsplug/mpdstats.py | 2 +- beetsplug/mpdupdate.py | 1 + beetsplug/play.py | 1 + beetsplug/random.py | 1 + beetsplug/replaygain.py | 1 + beetsplug/rewrite.py | 1 + beetsplug/scrub.py | 1 + beetsplug/smartplaylist.py | 1 + beetsplug/the.py | 1 + beetsplug/types.py | 1 + beetsplug/web/__init__.py | 1 + beetsplug/zero.py | 1 + setup.py | 1 + test/_common.py | 1 + test/helper.py | 1 + test/lyrics_download_samples.py | 1 + test/test_art.py | 1 + test/test_autotag.py | 1 + test/test_convert.py | 1 + test/test_datequery.py | 1 + test/test_dbcore.py | 1 + test/test_echonest.py | 1 + test/test_embedart.py | 1 + test/test_fetchart.py | 1 + test/test_filefilter.py | 1 + test/test_files.py | 1 + test/test_ftintitle.py | 1 + test/test_importadded.py | 1 + test/test_importer.py | 1 + test/test_info.py | 1 + test/test_ipfs.py | 1 + test/test_keyfinder.py | 1 + test/test_lastgenre.py | 1 + test/test_lyrics.py | 1 + test/test_mb.py | 1 + test/test_mbsync.py | 1 + test/test_mediafile.py | 1 + test/test_mediafile_edge.py | 1 + test/test_metasync.py | 1 + test/test_mpdstats.py | 1 + test/test_pipeline.py | 1 + test/test_player.py | 1 + test/test_plugins.py | 1 + test/test_query.py | 1 + test/test_replaygain.py | 1 + test/test_smartplaylist.py | 1 + test/test_sort.py | 1 + test/test_template.py | 2 +- test/test_thumbnails.py | 1 + test/test_types_plugin.py | 1 + test/test_ui.py | 1 + test/test_ui_commands.py | 2 +- test/test_ui_importer.py | 1 + test/test_ui_init.py | 2 +- test/test_util.py | 1 + test/test_vfs.py | 1 + test/testall.py | 1 + 116 files changed, 116 insertions(+), 4 deletions(-) diff --git a/beets/__init__.py b/beets/__init__.py index 8447ef96f..0b64ac388 100644 --- a/beets/__init__.py +++ b/beets/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/art.py b/beets/art.py index 79bdfefe4..9f280ca01 100644 --- a/beets/art.py +++ b/beets/art.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/autotag/__init__.py b/beets/autotag/__init__.py index 6ccd59d09..9ad02b8eb 100644 --- a/beets/autotag/__init__.py +++ b/beets/autotag/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index b2b635ad2..6b654573f 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/autotag/match.py b/beets/autotag/match.py index c747f47c2..f9146d027 100644 --- a/beets/autotag/match.py +++ b/beets/autotag/match.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index 78c5fb2f4..f823f7211 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/dbcore/__init__.py b/beets/dbcore/__init__.py index 093591882..059f1fc4f 100644 --- a/beets/dbcore/__init__.py +++ b/beets/dbcore/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index df796a134..d54e3a0d3 100644 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/dbcore/query.py b/beets/dbcore/query.py index c04e734b8..0a67cbdae 100644 --- a/beets/dbcore/query.py +++ b/beets/dbcore/query.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/dbcore/queryparse.py b/beets/dbcore/queryparse.py index 89b7bd64a..34eea6b16 100644 --- a/beets/dbcore/queryparse.py +++ b/beets/dbcore/queryparse.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/dbcore/types.py b/beets/dbcore/types.py index 7f3b2e39e..40183c059 100644 --- a/beets/dbcore/types.py +++ b/beets/dbcore/types.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/importer.py b/beets/importer.py index 5bdcaff8f..c26fbcbec 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/library.py b/beets/library.py index cad39c232..870c46856 100644 --- a/beets/library.py +++ b/beets/library.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/logging.py b/beets/logging.py index dee5faf35..b1b0ad73c 100644 --- a/beets/logging.py +++ b/beets/logging.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/mediafile.py b/beets/mediafile.py index 5fe1fa308..f2dc1027d 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/plugins.py b/beets/plugins.py index d06debe22..cf4c76036 100755 --- a/beets/plugins.py +++ b/beets/plugins.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index 4c99b937a..c51c3acb6 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 307945a03..2d943eee1 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/util/__init__.py b/beets/util/__init__.py index 2a861ce88..ec8eec9c4 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/util/artresizer.py b/beets/util/artresizer.py index 741ebda1b..c5dcb6055 100644 --- a/beets/util/artresizer.py +++ b/beets/util/artresizer.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte # diff --git a/beets/util/confit.py b/beets/util/confit.py index 2614f7ed7..7dca300d7 100644 --- a/beets/util/confit.py +++ b/beets/util/confit.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of Confit. # Copyright 2015, Adrian Sampson. # diff --git a/beets/util/enumeration.py b/beets/util/enumeration.py index dc0a6fa42..c7761be89 100644 --- a/beets/util/enumeration.py +++ b/beets/util/enumeration.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/util/functemplate.py b/beets/util/functemplate.py index 3d5b0e871..e2854e205 100644 --- a/beets/util/functemplate.py +++ b/beets/util/functemplate.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/util/pipeline.py b/beets/util/pipeline.py index a0bb6af38..62772540f 100644 --- a/beets/util/pipeline.py +++ b/beets/util/pipeline.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beets/vfs.py b/beets/vfs.py index e3cebafb1..e7b7970d2 100644 --- a/beets/vfs.py +++ b/beets/vfs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/__init__.py b/beetsplug/__init__.py index 811ee0539..6aba6481a 100644 --- a/beetsplug/__init__.py +++ b/beetsplug/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/bench.py b/beetsplug/bench.py index ebb9f981f..278704aa0 100644 --- a/beetsplug/bench.py +++ b/beetsplug/bench.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index ef02574fa..2b1f4a272 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/bpd/gstplayer.py b/beetsplug/bpd/gstplayer.py index adac1f5a4..80f6622a6 100644 --- a/beetsplug/bpd/gstplayer.py +++ b/beetsplug/bpd/gstplayer.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/bpm.py b/beetsplug/bpm.py index 85c8d6636..f8074005a 100644 --- a/beetsplug/bpm.py +++ b/beetsplug/bpm.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, aroquen # diff --git a/beetsplug/bucket.py b/beetsplug/bucket.py index d673b0bd4..32c25ed93 100644 --- a/beetsplug/bucket.py +++ b/beetsplug/bucket.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte. # diff --git a/beetsplug/chroma.py b/beetsplug/chroma.py index 3446661d3..028ba5ce1 100644 --- a/beetsplug/chroma.py +++ b/beetsplug/chroma.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/convert.py b/beetsplug/convert.py index ca28d7ffd..fd82e80f2 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Jakob Schnitzer. # diff --git a/beetsplug/cue.py b/beetsplug/cue.py index 25205f8e8..59e27072e 100644 --- a/beetsplug/cue.py +++ b/beetsplug/cue.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Copyright 2015 Bruno Cauet # Split an album-file in tracks thanks a cue file diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 7ab2d217b..e9c912afb 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/duplicates.py b/beetsplug/duplicates.py index a8ad4ac90..83bc492e5 100644 --- a/beetsplug/duplicates.py +++ b/beetsplug/duplicates.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Pedro Silva. # diff --git a/beetsplug/echonest.py b/beetsplug/echonest.py index 312a8b620..0075cc835 100644 --- a/beetsplug/echonest.py +++ b/beetsplug/echonest.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index 6dc235979..632952dd8 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index 6847d8828..e3769a260 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/filefilter.py b/beetsplug/filefilter.py index 432388c5a..b3c26ff79 100644 --- a/beetsplug/filefilter.py +++ b/beetsplug/filefilter.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Malte Ried. # diff --git a/beetsplug/freedesktop.py b/beetsplug/freedesktop.py index 675061925..7660d13fb 100644 --- a/beetsplug/freedesktop.py +++ b/beetsplug/freedesktop.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Matt Lichtenberg. # diff --git a/beetsplug/fromfilename.py b/beetsplug/fromfilename.py index dc040a0a2..bb3363bfe 100644 --- a/beetsplug/fromfilename.py +++ b/beetsplug/fromfilename.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Jan-Erik Dahlin # diff --git a/beetsplug/ftintitle.py b/beetsplug/ftintitle.py index d2369bf52..71be9630a 100644 --- a/beetsplug/ftintitle.py +++ b/beetsplug/ftintitle.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Verrus, # diff --git a/beetsplug/fuzzy.py b/beetsplug/fuzzy.py index d017ff0c2..cf6440438 100644 --- a/beetsplug/fuzzy.py +++ b/beetsplug/fuzzy.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Philippe Mongeau. # diff --git a/beetsplug/ihate.py b/beetsplug/ihate.py index b4a877fbc..d795da130 100644 --- a/beetsplug/ihate.py +++ b/beetsplug/ihate.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Blemjhoo Tezoulbr . # diff --git a/beetsplug/importfeeds.py b/beetsplug/importfeeds.py index 6b0a46778..cdf59c122 100644 --- a/beetsplug/importfeeds.py +++ b/beetsplug/importfeeds.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte. # diff --git a/beetsplug/info.py b/beetsplug/info.py index 82bcbe965..d6988d097 100644 --- a/beetsplug/info.py +++ b/beetsplug/info.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/inline.py b/beetsplug/inline.py index fb99e729a..0f7279ecc 100644 --- a/beetsplug/inline.py +++ b/beetsplug/inline.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/ipfs.py b/beetsplug/ipfs.py index f785a582b..6e5a5c7d4 100644 --- a/beetsplug/ipfs.py +++ b/beetsplug/ipfs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # # Permission is hereby granted, free of charge, to any person obtaining diff --git a/beetsplug/keyfinder.py b/beetsplug/keyfinder.py index d76448a4c..33bfd4764 100644 --- a/beetsplug/keyfinder.py +++ b/beetsplug/keyfinder.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index f276fe4f1..8242d9453 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/lastimport.py b/beetsplug/lastimport.py index c2ba976fa..f0469c91c 100644 --- a/beetsplug/lastimport.py +++ b/beetsplug/lastimport.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Rafael Bodill http://github.com/rafi # diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index 16f669f53..0bd49589c 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/mbcollection.py b/beetsplug/mbcollection.py index 6dc724636..2e24ae59e 100644 --- a/beetsplug/mbcollection.py +++ b/beetsplug/mbcollection.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Copyright (c) 2011, Jeffrey Aylesworth # # Permission to use, copy, modify, and/or distribute this software for any diff --git a/beetsplug/mbsync.py b/beetsplug/mbsync.py index 6e7c208a7..99456da2c 100644 --- a/beetsplug/mbsync.py +++ b/beetsplug/mbsync.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Jakob Schnitzer. # diff --git a/beetsplug/metasync/__init__.py b/beetsplug/metasync/__init__.py index fd40590bb..7ddbb3091 100644 --- a/beetsplug/metasync/__init__.py +++ b/beetsplug/metasync/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Heinz Wiesinger. # diff --git a/beetsplug/metasync/amarok.py b/beetsplug/metasync/amarok.py index b544c22ec..a591cf923 100644 --- a/beetsplug/metasync/amarok.py +++ b/beetsplug/metasync/amarok.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Heinz Wiesinger. # diff --git a/beetsplug/metasync/itunes.py b/beetsplug/metasync/itunes.py index 17139f549..75a612c28 100644 --- a/beetsplug/metasync/itunes.py +++ b/beetsplug/metasync/itunes.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Tom Jaspers. # diff --git a/beetsplug/missing.py b/beetsplug/missing.py index 75b3e58e8..648b202ba 100644 --- a/beetsplug/missing.py +++ b/beetsplug/missing.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Pedro Silva. # diff --git a/beetsplug/mpdstats.py b/beetsplug/mpdstats.py index fce04440a..dcf43ec62 100644 --- a/beetsplug/mpdstats.py +++ b/beetsplug/mpdstats.py @@ -1,4 +1,4 @@ -# coding=utf-8 +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Peter Schnebel and Johann Klähn. # diff --git a/beetsplug/mpdupdate.py b/beetsplug/mpdupdate.py index a6e14e48e..8b072ecf3 100644 --- a/beetsplug/mpdupdate.py +++ b/beetsplug/mpdupdate.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/play.py b/beetsplug/play.py index eb04faeaa..a33074312 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, David Hamp-Gonsalves # diff --git a/beetsplug/random.py b/beetsplug/random.py index 43fb7957c..7f3317b81 100644 --- a/beetsplug/random.py +++ b/beetsplug/random.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Philippe Mongeau. # diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py index 75f2ab947..422c345d8 100644 --- a/beetsplug/replaygain.py +++ b/beetsplug/replaygain.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte, Yevgeny Bezman, and Adrian Sampson. # diff --git a/beetsplug/rewrite.py b/beetsplug/rewrite.py index fd6346f9b..b08fb1fb6 100644 --- a/beetsplug/rewrite.py +++ b/beetsplug/rewrite.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/scrub.py b/beetsplug/scrub.py index ac0017474..4636b477d 100644 --- a/beetsplug/scrub.py +++ b/beetsplug/scrub.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/smartplaylist.py b/beetsplug/smartplaylist.py index c88fe38c5..f404d98d1 100644 --- a/beetsplug/smartplaylist.py +++ b/beetsplug/smartplaylist.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Dang Mai . # diff --git a/beetsplug/the.py b/beetsplug/the.py index 538b81245..d13eb1aca 100644 --- a/beetsplug/the.py +++ b/beetsplug/the.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Blemjhoo Tezoulbr . # diff --git a/beetsplug/types.py b/beetsplug/types.py index dad892bc9..a203834d5 100644 --- a/beetsplug/types.py +++ b/beetsplug/types.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index 18750ebb3..a6e6f55c9 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/beetsplug/zero.py b/beetsplug/zero.py index 8fe61a0b8..8e81473db 100644 --- a/beetsplug/zero.py +++ b/beetsplug/zero.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Blemjhoo Tezoulbr . # diff --git a/setup.py b/setup.py index 94a1c7d27..c7e4af3a0 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. diff --git a/test/_common.py b/test/_common.py index 4588dbb41..9e6ec0f85 100644 --- a/test/_common.py +++ b/test/_common.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/helper.py b/test/helper.py index c23e036e4..0c9e2befa 100644 --- a/test/helper.py +++ b/test/helper.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/lyrics_download_samples.py b/test/lyrics_download_samples.py index f144263fa..c340b3f05 100644 --- a/test/lyrics_download_samples.py +++ b/test/lyrics_download_samples.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte # diff --git a/test/test_art.py b/test/test_art.py index e4a070b1a..04bfe3eed 100644 --- a/test/test_art.py +++ b/test/test_art.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_autotag.py b/test/test_autotag.py index 59c564066..46059d461 100644 --- a/test/test_autotag.py +++ b/test/test_autotag.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_convert.py b/test/test_convert.py index 034d8a465..86c6e5d2a 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_datequery.py b/test/test_datequery.py index 0533846bf..ba23b910d 100644 --- a/test/test_datequery.py +++ b/test/test_datequery.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_dbcore.py b/test/test_dbcore.py index 6fc07d0f6..49fca2bb3 100644 --- a/test/test_dbcore.py +++ b/test/test_dbcore.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_echonest.py b/test/test_echonest.py index 1289decd2..143d2633d 100644 --- a/test/test_echonest.py +++ b/test/test_echonest.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes # diff --git a/test/test_embedart.py b/test/test_embedart.py index a4c88a429..3cd67b54e 100644 --- a/test/test_embedart.py +++ b/test/test_embedart.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_fetchart.py b/test/test_fetchart.py index b199e7139..0c8911c55 100644 --- a/test/test_fetchart.py +++ b/test/test_fetchart.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_filefilter.py b/test/test_filefilter.py index a8a046a37..1b1d326f1 100644 --- a/test/test_filefilter.py +++ b/test/test_filefilter.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Malte Ried. # diff --git a/test/test_files.py b/test/test_files.py index 27aa93cd8..e78c50511 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_ftintitle.py b/test/test_ftintitle.py index 67b952a51..663cf2b68 100644 --- a/test/test_ftintitle.py +++ b/test/test_ftintitle.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte. # diff --git a/test/test_importadded.py b/test/test_importadded.py index f070b1e60..7ca61318e 100644 --- a/test/test_importadded.py +++ b/test/test_importadded.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Stig Inge Lea Bjornsen. # diff --git a/test/test_importer.py b/test/test_importer.py index 675ac7796..dd093377d 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_info.py b/test/test_info.py index e382f4872..797950be3 100644 --- a/test/test_info.py +++ b/test/test_info.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_ipfs.py b/test/test_ipfs.py index cfb74f203..2b2acdc2d 100644 --- a/test/test_ipfs.py +++ b/test/test_ipfs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # # Permission is hereby granted, free of charge, to any person obtaining diff --git a/test/test_keyfinder.py b/test/test_keyfinder.py index 95c06754a..8a3bfe4e3 100644 --- a/test/test_keyfinder.py +++ b/test/test_keyfinder.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_lastgenre.py b/test/test_lastgenre.py index 4b1a50207..d61738fc5 100644 --- a/test/test_lastgenre.py +++ b/test/test_lastgenre.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte. # diff --git a/test/test_lyrics.py b/test/test_lyrics.py index 960a94e33..33b8c6bb5 100644 --- a/test/test_lyrics.py +++ b/test/test_lyrics.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Fabrice Laporte. # diff --git a/test/test_mb.py b/test/test_mb.py index 7662e0722..d68be7e4d 100644 --- a/test/test_mb.py +++ b/test/test_mb.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_mbsync.py b/test/test_mbsync.py index ff6e01cf3..47517f4ee 100644 --- a/test/test_mbsync.py +++ b/test/test_mbsync.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_mediafile.py b/test/test_mediafile.py index cd149e7e4..784703f2c 100644 --- a/test/test_mediafile.py +++ b/test/test_mediafile.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_mediafile_edge.py b/test/test_mediafile_edge.py index 7886abdd2..87b2b7c1f 100644 --- a/test/test_mediafile_edge.py +++ b/test/test_mediafile_edge.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_metasync.py b/test/test_metasync.py index 8e2669c41..e37ef3364 100644 --- a/test/test_metasync.py +++ b/test/test_metasync.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Tom Jaspers. # diff --git a/test/test_mpdstats.py b/test/test_mpdstats.py index c2db78f1f..b07da5e32 100644 --- a/test/test_mpdstats.py +++ b/test/test_mpdstats.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015 # diff --git a/test/test_pipeline.py b/test/test_pipeline.py index aaa12d2a3..8c9191293 100644 --- a/test/test_pipeline.py +++ b/test/test_pipeline.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_player.py b/test/test_player.py index 6115b92c2..6afa0ba21 100644 --- a/test/test_player.py +++ b/test/test_player.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_plugins.py b/test/test_plugins.py index 2e8bedca1..8e6689c6d 100644 --- a/test/test_plugins.py +++ b/test/test_plugins.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_query.py b/test/test_query.py index 0515c2910..36df04fd0 100644 --- a/test/test_query.py +++ b/test/test_query.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_replaygain.py b/test/test_replaygain.py index 3eb93520f..e85c4504b 100644 --- a/test/test_replaygain.py +++ b/test/test_replaygain.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes # diff --git a/test/test_smartplaylist.py b/test/test_smartplaylist.py index ddfa8a156..4d9826539 100644 --- a/test/test_smartplaylist.py +++ b/test/test_smartplaylist.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Bruno Cauet. # diff --git a/test/test_sort.py b/test/test_sort.py index e763b6167..7fadc54b2 100644 --- a/test/test_sort.py +++ b/test/test_sort.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_template.py b/test/test_template.py index 1a0daa42e..318c2d5b5 100644 --- a/test/test_template.py +++ b/test/test_template.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_thumbnails.py b/test/test_thumbnails.py index 0b4eddd05..2468e30b5 100644 --- a/test/test_thumbnails.py +++ b/test/test_thumbnails.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Bruno Cauet # diff --git a/test/test_types_plugin.py b/test/test_types_plugin.py index 7e0e6e082..57bfb2282 100644 --- a/test/test_types_plugin.py +++ b/test/test_types_plugin.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Thomas Scholtes. # diff --git a/test/test_ui.py b/test/test_ui.py index c1c853e03..78e4f5891 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_ui_commands.py b/test/test_ui_commands.py index dd8eb47a3..c8995aedf 100644 --- a/test/test_ui_commands.py +++ b/test/test_ui_commands.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_ui_importer.py b/test/test_ui_importer.py index 2c571925f..e8e43a6f7 100644 --- a/test/test_ui_importer.py +++ b/test/test_ui_importer.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_ui_init.py b/test/test_ui_init.py index f31deefe7..667b0a56d 100644 --- a/test/test_ui_init.py +++ b/test/test_ui_init.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_util.py b/test/test_util.py index b72410c9c..6dacb7f57 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/test_vfs.py b/test/test_vfs.py index 0d6b280e5..e1569b2c3 100644 --- a/test/test_vfs.py +++ b/test/test_vfs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson. # diff --git a/test/testall.py b/test/testall.py index 320e2c677..3e6255f6d 100755 --- a/test/testall.py +++ b/test/testall.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # This file is part of beets. # Copyright 2015, Adrian Sampson.