Commit graph

3691 commits

Author SHA1 Message Date
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
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
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
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
Adrian Sampson
4eb23f7c06 Update tests for #900 2014-08-18 22:26:17 -07:00
Adrian Sampson
eab90ffded Changelog for #900 2014-08-18 22:08:56 -07:00
Adrian Sampson
a45415fd77 Duplicate summaries work with singletons (#900) 2014-08-18 22:07:50 -07:00
Adrian Sampson
0ec285f96c Formatting and style refinements for #900 2014-08-18 21:37:13 -07:00
Adrian Sampson
44e0dee16d Merge pull request #900 from howardjones/duplicate_album_hints
Basic summary information for duplicates
2014-08-18 21:25:09 -07:00
Adrian Sampson
05170c17d6 Docs refinements and changelog for Spotify (#892) 2014-08-18 17:39:34 -07:00
Adrian Sampson
ff875c5d61 Spotify (#892): Simplify interface
This changes the flag from --show_failures to --show-failures, which is more
standard among Unixy CLIs. It also reduces some space and line noise in the
output.
2014-08-18 17:29:58 -07:00
Adrian Sampson
3981a6bca0 Merge pull request #892 from olinbg/spotify-plugin
Pull request for Spotify plugin development
2014-08-18 17:22:27 -07:00
Adrian Sampson
aba4284dc9 Changelog for #902 2014-08-18 17:18:27 -07:00
Adrian Sampson
23503e9f09 Merge pull request #902 from hkhanna/fix-autoscrub
Fix bug causing autoscrubber to be ineffective
2014-08-18 17:16:53 -07:00
Adrian Sampson
4ecaa4239f Fix unittest.skip decorator use
This fixes the py26 build.
2014-08-18 17:11:08 -07:00
Harry Khanna
1b61b97e7b Fix bug causing autoscrubber to be ineffective 2014-08-18 19:12:35 -04:00
Adrian Sampson
bf553eae34 MediaFile: detect missing numbers (fix #901) 2014-08-18 10:17:01 -07:00
Howard Jones
4aa783f09d Final reshuffle to put summarize_items in beets.ui
Also improved duration display.
2014-08-18 12:21:45 +01:00