Commit graph

5505 commits

Author SHA1 Message Date
Adrian Sampson
1a60e7d129 Changelog for #858/#918 2014-08-25 09:03:37 -07:00
Adrian Sampson
dcb21ecfb3 Merge pull request #918 from geigerzaehler/formatting
Model formatting: Refactor and fix precedence
2014-08-25 09:02:47 -07:00
Adrian Sampson
22dc67f382 Changelog for #878 2014-08-25 08:51:18 -07:00
Adrian Sampson
8880750b4f Changelog for #917/#855 2014-08-25 08:49:21 -07:00
Adrian Sampson
b227aabfee Merge pull request #917 from geigerzaehler/stats
Improvements for stats command
2014-08-25 08:44:55 -07:00
Thomas Scholtes
6d67365df6 PEP8 fix 2014-08-25 17:17:02 +02:00
Thomas Scholtes
9f4b3b811d Refactor modfiy command and tests
Parsing of the modify command line is handled by `modfiy_parse_args()`.
Test use the command line.
2014-08-25 15:46:57 +02:00
Thomas Scholtes
c0b248c4a2 convert: Catch errors when writing tags
Fixes #878.
2014-08-25 14:52:40 +02:00
Thomas Scholtes
91c5d0ae12 Item fields take precedence over Album fields in formatting
For consistency, this is reversed when formatting paths. Fixes #858.
2014-08-25 14:38:58 +02:00
Thomas Scholtes
0798af7774 Refactor model formatting
Remove all formatting related code from models. It now lives in the
`FormattedMapping` class. Only API change is from `model.formatted` to
`model.formatted()`.
2014-08-25 14:24:39 +02:00
Thomas Scholtes
2d2c84b505 Stats only count albums in the database
Items might have the `album` field set without belonging to an album in
the beets database. We only count the albums that are represented in
the database.
2014-08-25 11:34:40 +02:00
Thomas Scholtes
9e2b6d0253 Show album artist stats
See #855
2014-08-25 11:33:10 +02:00
Adrian Sampson
b5c9271baa Changelog/thanks for #912 2014-08-24 15:44:25 -07:00
Adrian Sampson
bc3347fc5f Merge pull request #912 from dreewoo/UnreadableFileError
Catch UnreadableFileError when reading files in a (try_)write context
2014-08-24 15:42:12 -07:00
Adrian Sampson
1263fbdf7e Changelog for #910 (fix #915) 2014-08-24 10:22:23 -07:00
Adrian Sampson
900e44f1b9 Merge pull request #910 from andriykohut/master
Fix problems with new discogs_client version
2014-08-24 10:17:16 -07:00
Adrian Sampson
904baa6bc1 Debug log for unreadable state files (#913) 2014-08-24 10:09:31 -07:00
Andrii Kohut
f8af931caa Seems like something broken in new version of discogs_client 2014-08-24 17:34:31 +03:00
Thomas Scholtes
b512a0ce37 lyrics: Use multiple lyrics search strings.
In particular we use the original artist and title before stripping
*and* and *featuring* suffixes.

Fixes #914.
2014-08-24 16:17:21 +02:00
Andrii Kohut
9a80179059 this should fix UnicodeEncodeError with non-ascii queries 2014-08-24 16:37:24 +03:00
Thomas Scholtes
32626fedc4 mediafile: Catch IndexError when file has empty list tag
Fixes #913
2014-08-24 15:03:04 +02:00
Thomas Scholtes
225ce62a33 Catch all errors when loading state file.
A crash during the multi-threaded import process may leave the pickled
state invalid (see #913). We recover from all these errors.
2014-08-24 14:40:38 +02:00
Jocelyn De La Rosa
dd58f1b452 Catch UnreadableFileError when reading files in a (try_)write context 2014-08-24 00:21:07 +02:00
Andrii Kohut
d0115f1110 set user agent as Client parameter, remove imports 2014-08-23 13:12:28 +03:00
Andrii Kohut
a663e52bad Fix problems with new discogs_client version 2014-08-23 13:00:25 +03:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
5f5ee40172 displayable_path clean up error 2014-08-23 12:17:24 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
5fe012f27a Just go back to basics 2014-08-23 12:02:30 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
cbb7aaf56b Oh the formatting 2014-08-23 11:56:11 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
b5f60c52d4 Fix Travis errors
I was over zealous on the brackets for formatting
2014-08-23 11:48:26 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
89c5448ef5 flake8 cleanup
Cleanup after cleanup
2014-08-23 11:26:44 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
bd3f1ca5c0 Merge branch 'master' of https://github.com/sampsyo/beets 2014-08-23 11:00:23 +10:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
a8daba2a75 Clean up of logging messages as described here
All logging now prefers the ' (single quote) over the " (double quote)

https://github.com/sampsyo/beets/wiki/Hacking
2014-08-23 09:26:34 +10:00
Adrian Sampson
132fad847b Changelog for sorting (#823) 2014-08-22 15:02:50 -07:00
Adrian Sampson
eb579cf14b Merge pull request #823 from PierreRust/sortquery
Sorting support in beets query mecanism (dbcore)
2014-08-22 14:59:44 -07:00
Adrian Sampson
787f0e25c5 Version bump: 1.3.8 2014-08-22 12:52:03 -07:00
Adrian Sampson
91295d8d7b Refine changelog for 1.3.7 release 2014-08-22 12:48:43 -07:00
Adrian Sampson
e52ca41456 Changelog and style for #908
Use a defaultdict for more idiomatic collection.
2014-08-21 23:11:23 -07:00
Adrian Sampson
9ca6ae6a86 Merge pull request #908 from ruippeixotog/issue-230
Add support for releases with multiple versions of the same recording
2014-08-21 23:06:13 -07:00
Rui Gonçalves
7c196799e5 Add support for releases with multiple versions of the same recording 2014-08-21 23:35:27 +01:00
Olin Gay
2118a41435 Adding album artist fix 2014-08-19 21:01:18 -04:00
Adrian Sampson
8467b5e2be Changelog for #906 2014-08-19 13:36:33 -07:00
Adrian Sampson
850540c89f Merge pull request #906 from hkhanna/write-always-flag
Add --force flag for write subcommand
2014-08-19 13:31:53 -07:00
Adrian Sampson
b31ad388b1 Clean up properly after DistanceTest
One more ordering dependency. That's all of them, right???
2014-08-19 12:52:48 -07:00
Adrian Sampson
61416da0a7 Better isolation for ConfigTest 2014-08-19 12:27:35 -07:00
Harry Khanna
4944686090 Change flag from --always to --force for symmetry with other beets commands 2014-08-19 14:07:17 -04:00
Harry Khanna
65c4ae627e Clarify the default behavior for the write subcommand 2014-08-19 14:06:41 -04:00
Adrian Sampson
6b9df4e0f5 Fix harness in test_zero
May have been the cause of some intermittent failures on Travis.
2014-08-19 10:51:48 -07:00
Harry Khanna
2ffd3e287f Add --always flag for write subcommand
Forces a write of tags to file even if the file's tags match the database.
This is useful to force plugins that respond to write (e.g., Scrub and Zero) to run on those tags.
This may also make the TODO comment in zero.py less important since creates a way to manually run the zero plugin on a file imported as-is.
2014-08-19 13:43:16 -04:00
Adrian Sampson
4f2fe19e03 Flake8 fix in spotify 2014-08-19 09:53:26 -07:00
Adrian Sampson
d8c4be100d Spotify: Use logging (#892)
Instead of one-off logging functions. This also obviates the need for a
separate verbose flag.
2014-08-18 22:30:42 -07:00