Commit graph

6487 commits

Author SHA1 Message Date
Rovanion Luckey
b0a843cfbe Failing to link a file now throws a FilesystemError. 2014-08-28 19:42:57 +02:00
Rovanion Luckey
3b898163ee Style fixes. 2014-08-28 19:41:40 +02:00
Rovanion Luckey
68b6317c59 Now reads config['import']['link'], style fix and default setting added. 2014-08-28 19:33:51 +02:00
Rovanion Luckey
36550a0f23 First commit towards a linking move_file(). 2014-08-28 19:11:47 +02:00
Adrian Sampson
4b11eed79f Minor cleanup and changelog for #922 2014-08-27 10:55:16 -07:00
Adrian Sampson
e36dfa3e99 Merge pull request #922 from olinbg/olinbg-features
mbcollection: Automatically update collection on import #793
2014-08-27 10:49:12 -07:00
Olin Gay
3b82be1a23 Changes for issue -- mbcollection: Automatically update collection on import #793 2014-08-27 10:26:31 +05:30
Olin Gay
1f5cac687d Merge branch 'master' of https://github.com/sampsyo/beets into olinbg-features 2014-08-27 10:21:59 +05:30
Adrian Sampson
b869dbed0e info: Add syspath calls
Sorry for interposing, @geigerzaehler. 😃
2014-08-26 10:28:32 -07:00
Thomas Scholtes
71060f1453 info refcator 2014-08-26 18:58:42 +02:00
Adrian Sampson
2518f654bf info: Two minor fixes
* Decode query arguments before constructing query.
* Don't print "None" for the path in summary mode.
2014-08-26 09:16:27 -07:00
Adrian Sampson
b5239e626d info: Add documentation for recent features 2014-08-26 09:15:04 -07:00
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