Adrian Sampson
f6dc2cd81c
Merge pull request #1198 from brunal/logging
...
Lazy {}-style logging everywhere
2015-01-05 17:34:30 -08:00
Adrian Sampson
1fc7b70763
Version bump: 1.3.11
2015-01-05 12:21:18 -08:00
Adrian Sampson
331d50d6ee
Finish changelog for 1.3.10 release
2015-01-05 12:20:33 -08:00
Adrian Sampson
59f5fc7f7f
Remove nose dependency
2015-01-05 10:16:10 -08:00
Bruno Cauet
30f158a95e
Move "from beets import logging" statements
...
Move the import next to other beets-related imports
2015-01-05 10:05:21 +01:00
Bruno Cauet
a8b0454bfb
Minor fix in beets.logging docstring
...
formatting → logging
2015-01-05 09:55:05 +01:00
Bruno Cauet
fa696beef2
beets.logging: fix root logger access
...
logging does not export 'root', so we must use Logger.root
2015-01-05 09:53:56 +01:00
Bruno Cauet
06f0e1dee1
Port beets.logging to python 2.6
...
Multiple hacks :-)
2015-01-05 09:21:11 +01:00
Bruno Cauet
45db930457
embedart: restore an apparent typo (which wasn't)
...
hashes → phashes
2015-01-05 07:59:53 +01:00
Adrian Sampson
e13e7ed727
config -e: Parse arguments in $EDITOR ( fix #1200 )
2015-01-04 17:46:08 -08:00
Adrian Sampson
1f3fc60bad
Add missing space ( fix #1199 )
2015-01-04 17:35:16 -08:00
Bruno Cauet
4ba4f53053
Silence flake8 on logging.* import
2015-01-04 17:50:05 +01:00
Bruno Cauet
f5c5666729
Attain pep8-cleanliness
...
No more E12 or E501
2015-01-04 17:29:31 +01:00
Bruno Cauet
d409da8753
Fix docstring beets.logging.StrFormatLogger._log
2015-01-04 17:22:45 +01:00
Bruno Cauet
52243269fc
Make test/test_logging work on python 2.6
2015-01-04 17:14:34 +01:00
Bruno Cauet
408afa1b58
Add tests for beets.logging
2015-01-04 17:02:28 +01:00
Bruno Cauet
e2d3ba1c23
Fix 4 tests by str()-ing a logged exception
2015-01-04 17:02:27 +01:00
Bruno Cauet
7df8bef8b7
Update logging imports: logging → beets.logging
2015-01-04 17:02:27 +01:00
Bruno Cauet
6bdb02c721
Fix logging formatting string in duplicates plugin
...
{)} → {0}
2015-01-04 17:02:27 +01:00
Bruno Cauet
8cac47af2a
Convert beets plugins to lazy logging
2015-01-04 17:02:27 +01:00
Bruno Cauet
e75f9a703d
Convert beets core to lazy logging
2015-01-04 17:02:27 +01:00
Bruno Cauet
b40fb507c3
Offer new-style formatting for logging
...
beets.logging is a drop-in replacement for logging. Any logger created
from beets.logging.getLogger() will use {}-style formatting instead of
%-style, on python 2 and 3.
2015-01-04 17:02:27 +01:00
Fabrice Laporte
80038e2a3f
test_bucket: update test_year_single_year
...
2015 was used as an example of date outside of [1970-current year] intervall which is not true anymore
2015-01-03 23:03:29 +01:00
Adrian Sampson
405726ba13
Merge pull request #1189 from mried/import-pretend-verbose
...
A more detailed output of the `--pretend` option
2014-12-31 08:41:22 -04:00
Malte Ried
bee0a5b9fe
Album tracks are prepended by two spaces to indent them a bit.
2014-12-31 11:38:03 +01:00
Malte Ried
cc82e1cb43
Made the detailed output the default behaviour.
2014-12-31 11:30:46 +01:00
Fabrice Laporte
4d848766f2
Merge pull request #1192 from Kraymer/lyrics-fix-incomplete
...
lyrics : remove empty divs before scraping
2014-12-31 06:45:31 +01:00
Fabrice Laporte
e63a8c17a4
fix changelog
2014-12-31 06:37:05 +01:00
Fabrice Laporte
650696a5de
edit changelog
2014-12-31 06:23:39 +01:00
Fabrice Laporte
38b890cdd6
lyrics: add test checking scraping of mocked page
2014-12-31 06:16:06 +01:00
Fabrice Laporte
c34e718ab6
lyrics: introduce empty div in mocked lyrics page
2014-12-31 06:15:41 +01:00
Fabrice Laporte
d4d5c085fa
lyrics : remove empty divs before scraping
...
it may result in \n being inserted that we will strip in
_scrape_strip_cruft
2014-12-30 23:37:23 +01:00
Adrian Sampson
fd94094c1b
Changelog and name change for #1156
2014-12-30 15:27:17 -04:00
Adrian Sampson
e547426b8c
Merge pull request #1156 from djl/lastgenreunicode
...
lastgenre: Optionally replace unicode characters when performing lookups
2014-12-30 15:25:40 -04:00
David Logie
08d5b9c138
Fix line length in docstring.
2014-12-29 19:45:33 +00:00
David Logie
f2704461cf
Go back to a single lookup with specific Unicode characters replaced.
2014-12-29 19:37:03 +00:00
Malte Ried
023c13d292
Updated the test code to ignore the "Sending event" log messages.
2014-12-29 13:22:28 +01:00
Malte Ried
5123a41258
Added a flag --detailed to get a more detailed output of the --pretend option.
2014-12-29 12:54:16 +01:00
Thomas Scholtes
b33d5b577a
Catch exception when program check has non-zero return code
...
See #1175 .
2014-12-29 12:07:57 +01:00
Adrian Sampson
50a9c2c7d8
Merge pull request #1182 from Freso/patch-1
...
changelog: #1175 is unrelated to the fix in #1176
2014-12-28 19:05:44 -04:00
Frederik "Freso" S. Olesen
25171568b1
changelog: #1175 is unrelated to the fix in #1176
2014-12-29 00:02:59 +01:00
Adrian Sampson
9cfe575c3a
Changelog for #1181
2014-12-28 19:00:36 -04:00
Adrian Sampson
d0dcc74c7e
Merge pull request #1181 from marcaddeo/fix-ftintitle-duplicate-album-artist
...
Fix handling of duplicate album artists in ftintitle
2014-12-28 18:58:36 -04:00
Adrian Sampson
9c9d3ddb70
Changelog for #1176
2014-12-28 18:54:32 -04:00
Adrian Sampson
375f9259b9
Merge pull request #1176 from Freso/issue-1172-ftintitle-less-import-verbosity
...
ftintitle: use log.log() for outputting
2014-12-28 18:52:21 -04:00
Marc Addeo
8c484a273c
Fix handling of duplicate album artists in ftintitle
...
The code that determines the featured artist part of the artist only
handles two element lists. When the album artist is duplicated, it
splits into a three element list causing no featured artist to be found.
This ensures the albumartist_split can ever only have 2 elements.
Fixes #1179
2014-12-28 17:51:48 -05:00
Adrian Sampson
ac07b6915e
Changelog for #1170
2014-12-28 18:50:42 -04:00
Adrian Sampson
b6606afd79
Merge pull request #1170 from silb/importadded-in-place-link-support
...
ImportAdded support for in-place and link imports
2014-12-28 18:49:06 -04:00
Stig Inge Lea Bjørnsen
9227a51588
Add a missing space
2014-12-28 20:40:46 +01:00
Frederik "Freso" S. Olesen
0ec3396d3f
ftintitle: Use log.log() instead of ui.print_().
...
Fixes #1172 .
2014-12-28 20:33:56 +01:00