Commit graph

6487 commits

Author SHA1 Message Date
multikatt
0f0329abb9 Add --play flag 2015-06-01 22:47:04 -04:00
multikatt
46202a3cf0 Properly add albums to published library 2015-06-01 22:45:49 -04:00
Markus Unterwaditzer
a91b337d3e Fix test_zero 2015-06-02 00:40:01 +02:00
Markus Unterwaditzer
f82c7ec5d1 Fix test_thumbnails 2015-06-02 00:40:01 +02:00
Markus Unterwaditzer
eed91b1c19 Changelog for #1485 2015-06-02 00:02:57 +02:00
Markus Unterwaditzer
2ebf540ea3 Merge pull request #1489 from m-urban/fix-match-ignore
Updated changelog with information on fix #1487
2015-06-02 00:01:43 +02:00
Manfred Urban
d08881a5b4 Updated changelog with information on fix #1487 2015-06-01 23:52:39 +02:00
Markus Unterwaditzer
7f36fdd3cd Pass bytestrings to command_output
Fix #1485
2015-06-01 22:09:09 +02:00
Markus Unterwaditzer
6e8f06679c Merge branch 'm-urban-fix-match-ignore'
Fix #1487
2015-06-01 22:02:08 +02:00
Manfred Urban
38f2e526bf Fix for swapped key and value in ignore-list-matching 2015-06-01 22:01:52 +02:00
multikatt
0fcea289f7 Log notification 2015-05-31 20:46:07 -04:00
multikatt
4f3a228a23 Use beets.util.command_output instead of subprocess 2015-05-31 20:45:39 -04:00
multikatt
9771d899db remove dulicate ui.decargs 2015-05-31 20:17:05 -04:00
multikatt
4dc3299dc8 Fix E226 2015-05-31 01:47:09 -04:00
multikatt
d4d3e957b3 Add to toctree 2015-05-31 01:43:09 -04:00
multikatt
5bb976d8f4 Better error handling when theres nothing imported
yet
2015-05-31 00:46:43 -04:00
multikatt
a80b402f2f -l actually queries the libraries 2015-05-31 00:46:06 -04:00
multikatt
d0dc2014f6 typo 2015-05-31 00:35:56 -04:00
multikatt
d3ec311721 Dont fail if theres no imported albums 2015-05-31 00:32:03 -04:00
Adrian Sampson
1c3a053ce5 Normalize regex query patterns/values (fix #1482) 2015-05-30 15:45:55 -04:00
Adrian Sampson
90178ab380 Always log a template literal (fix #1481)
Otherwise, we risk the user-provided string looking like a format string! If
it contains curly braces, it can behave unexpectedly.
2015-05-28 23:44:41 -04:00
Adrian Sampson
04ef371b92 A new BaseImportTask
This has been a long time coming. There's not much here yet, except for being
slightly more strict about parameter counts, but we can start shifting
more generic responsibility up to it.
2015-05-25 13:31:23 -07:00
Adrian Sampson
0a6cc25381 Another TODO comment I disagree with 😎 2015-05-25 13:09:50 -07:00
Adrian Sampson
6c792c25a9 Merge branch 'master' of github.com:sampsyo/beets 2015-05-25 12:58:03 -07:00
Adrian Sampson
7f5c274c46 Grouped-album tasks have paths
Close #1475, fix #825.
2015-05-25 12:57:23 -07:00
Adrian Sampson
fc33656a93 Remove some outdated comments and tests 2015-05-25 12:26:20 -07:00
Adrian Sampson
3b43b78b67 Merge pull request #1479 from glogiotatidis/flagsfix
[convert] Fix dest and format flags help text.
2015-05-25 11:34:51 -07:00
Adrian Sampson
7c98c1aea1 Fix print_ with no args (close #1478) 2015-05-25 09:56:43 -07:00
Pedro Silva
c93d5ce25b add changelog entry and docs for duplicate merging 2015-05-25 18:19:15 +02:00
Pedro Silva
3be593693d add merging functionality to duplicates plugin
This patch depends on %aunique not being present in config.paths
for behavior as intended.

The logic surrounding moving/copying a track from a duplicated album to
the original one could probably be extracted out and put into
library.Album.

This is based on the ordering imposed by the tiebreaking facility
introduced in 6be98b0a36. Once a natural
duplicate ordering is in place, then the strategies for merging are:

Items:

Iterate through each available field:
    Iterate through each duplicate:
        If current duplicate has a field not set in the original, set it there
        Break

Albums:

Iterate through each duplicate:
    Iterate through each item in duplicate:
        If current item is not present in original, copy it there
        Continue
2015-05-25 18:12:06 +02:00
Giorgos Logiotatidis
4a8f978f4c [convert] Fix dest and format flags help text. 2015-05-25 14:37:38 +03:00
Adrian Sampson
26380b2d72 Merge pull request #1474 from ttsda/master
Added beets-noimport plugin to the plugins documentation page.
2015-05-24 18:34:28 -07:00
Tiago Dias
476c40fce9 Added beets-noimport plugin to the plugins documentation page. 2015-05-25 00:30:35 +01:00
Adrian Sampson
167bcffb89 Changelog for #1472 2015-05-24 15:51:40 -07:00
Adrian Sampson
2c685a5eb1 Merge pull request #1473 from Somasis/master
Use python-mpd2 instead of python-mpd. Fixes #1472.
2015-05-24 15:50:50 -07:00
Kylie McClain
687dc9ddcd Use python-mpd2 instead of python-mpd. Fixes #1472. 2015-05-24 18:24:29 -04:00
Adrian Sampson
d8cc2588cd Changelog for #1470 2015-05-23 18:20:48 -07:00
Adrian Sampson
d4b07446ce Merge pull request #1470 from oldtopman/master
Fix beet web search with non-ascii characters
2015-05-23 18:19:36 -07:00
Old T. Man
acd0a902bb Fix search term encoding. 2015-05-23 13:19:28 -06:00
Adrian Sampson
9597a900e7 Changelog whitespace & expansion 2015-05-20 21:42:08 -07:00
Adrian Sampson
061f0f71bf Merge pull request #1466 from tomjaspers/move-pretend-option
Implement `--pretend` option for the move command
2015-05-20 21:41:15 -07:00
Adrian Sampson
66c9090285 Merge pull request #1468 from swt30/beet-update-doc
File modification note in docs
2015-05-20 20:35:02 -07:00
Scott Thomas
07e352143e File modification note in docs
I couldn't get beet update to read metadata changes - turns out that puddletag
doesn't touch the file modification time by default. It's a perfectly sensible
behaviour but I thought I'd add a note in the `beet update` section in case
anyone else has this problem.
2015-05-21 00:45:20 +01:00
Tom Jaspers
be484f2af0 Implement --pretend option for the move command
The method `show_path_changes` takes a list of tuples (source, destination)
that will be printed on either single / double line, as proposed in #1405.
2015-05-20 13:03:18 +02:00
Adrian Sampson
adebb850b5 Tests: fix a leaky error message
Caused by inadvertently executing too much at module-import time. By
materializing ArtResizer in a global definition, we triggered a debug log
before the test harness had a chance to capture the logging.
2015-05-19 16:50:05 -07:00
Adrian Sampson
07242f65e2 Convert always uses bytestring args (#1461) 2015-05-19 16:38:08 -07:00
Adrian Sampson
36c2241a34 Use bytestring filenames in embedart tests
First step on #1461.
2015-05-19 16:09:39 -07:00
Tom Jaspers
a7eace81d4 fetchart: improve Wikipedia art source
Artists with non-typical casing (e.g., alt-J, dEUS) would not get matched on
DBPedia, as the RDFS:label uses arbitrary casing, and SPARQL provides only exact
matches. The FOAF:name attribute is always title-cased (e.g., Alt-J, Deus).

Due to a bug in DBPedia, the cover filename is truncated when it contains
parentheses, (e.g., 'Foo bar (band).jpg' gets truncated to 'Foo bar .jpg').
To work around this, an additional Wikipedia call gets made for all its
images, in which we try to match our truncated image.

The Wikipedia art source now catches the correct exceptions, instead of
a broad catch-all.

Wikipedia album images can be gifs, so these are now added to the list of
accepted content types.
2015-05-19 09:57:54 +02:00
Tom Jaspers
a82dee35cb fetchart complains if no imaging backend available
The `enforce_ratio` and `minwidth` options depend on PIL or ImageMagick.
Previously it silently fails. Now it will log a warning, and accept the
image.

Tests concerning these options are skipped when no imaging backend is available.

Fix #1460
2015-05-18 19:44:40 +02:00
Pedro Silva
0377510522 handle albums during default attribute set completeness sorting 2015-05-17 23:56:10 +02:00