Commit graph

3713 commits

Author SHA1 Message Date
Thomas Scholtes
3554c0925c Fix doc and flake8 build (again) 2014-08-26 12:44:23 +02:00
Thomas Scholtes
fe0a2482f3 info: add --summarize option
Closes #409.
2014-08-26 12:32:26 +02:00
Thomas Scholtes
5e4600afd8 info: add tests and omit None values 2014-08-26 12:01:53 +02:00
Thomas Scholtes
9774692dc8 PEP8 fixes 2014-08-26 11:55:36 +02:00
Thomas Scholtes
9d0156e0da info: Check if normalized path is file 2014-08-26 11:54:12 +02:00
Thomas Scholtes
b278db42be info: print library fields and sort output 2014-08-25 23:47:16 +02:00
Thomas Scholtes
a9f839bbf8 info: Specify files through library query 2014-08-25 23:01:02 +02:00
Andrii Kohut
8017b062fe Merge branch 'master' of github.com:sampsyo/beets 2014-08-25 20:22:59 +03:00
Andrii Kohut
4279ac0b67 New api requires client and dict as parameters for Release initialization 2014-08-25 20:22:47 +03:00
Adrian Sampson
71645ea7cd Changelog for #158 2014-08-25 09:55:37 -07:00
Thomas Scholtes
1e207395b3 Formatted mapping uses field type to determine default 2014-08-25 18:53:05 +02:00
Thomas Scholtes
659a0862f6 PEP8 fixes 2014-08-25 18:46:19 +02:00
Thomas Scholtes
4835475fb7 Tags are not read while walking the import tree.
This makes skipping directories on incremental imports much faster and
fixes #158.
2014-08-25 18:40:56 +02:00
Thomas Scholtes
b1f670ada3 Move albums_in_dir() from autotag to import module
Has nothing to do with the former
2014-08-25 18:40:56 +02:00
Adrian Sampson
81bd217b0d Merge pull request #920 from andriykohut/master
With new discogs api there is no need for filtering releases with isinstance
2014-08-25 09:33:33 -07:00
Andrii Kohut
34584eadd1 Works faster then checking each result item with isinstance 2014-08-25 19:14:41 +03:00
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
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