Commit graph

8756 commits

Author SHA1 Message Date
Rainer Hihn
e1c061a010 Merge branch '2790-acousticbrainz' of github.com:rain0r/beets into 2790-acousticbrainz 2019-04-24 20:42:07 +02:00
Rainer Hihn
55fe077e54 Removed PaddedFloat in favour of adding a constructor parameter 2019-04-24 20:39:05 +02:00
Rainer Hihn
7240a826bc Fixed PaddedFloat-type and set precision to 8 2019-04-24 20:05:26 +02:00
Rainer Hihn
07b617b307 Converted all float types to PaddedFloat 2019-04-24 19:55:44 +02:00
Rainer Hihn
7676d2ae5a PaddingInt -> PaddingFloat 2019-04-24 19:54:12 +02:00
Rainer Hihn
3f3b102885 added PaddingFloat 2019-04-24 19:53:01 +02:00
ababyduck
a8f137bf95 Rename isLegacy to im_legacy for consistency and flake8 compliance 2019-04-24 10:09:31 -07:00
ababyduck
e00640e7dd Handle TypeError exception when no ImageMagick install is present
Fixes an error introduced in 1a6e0a7 where a TypeError exception was
raised when calling `_check_method()` with no ImageMagick installation
present.
2019-04-24 09:35:56 -07:00
ababyduck
666790bd83 Refactor to eliminate use of global variable
`get_im_version` now returns an additional bool `isLegacy`, which
indicates whether the the `magick` binary is accessible. It is stored
in `self.im_legacy` on initialization of an `ArtResizer` object, and
can be accessed via `ArtResizer.shared.im_legacy`
2019-04-24 09:07:38 -07:00
ababyduck
1a6e0a7a29 Fix whitespace for flake8 compliance
Fixed various whitespace issues and a global variable reference to
comply with flake8 linting.
2019-04-24 07:00:27 -07:00
ababyduck
f15f8a08f9 Added fallback to ImageMagick's legacy utilities
When the `magick` binary is not available, artresizer will fall back
to the "legacy" binaries (`convert`, `identify`, etc.)
2019-04-24 05:30:17 -07:00
Adrian Sampson
8ba2ccdc63 Improve changelog text
Co-Authored-By: arcresu <carl@contraflo.ws>
2019-04-24 11:06:19 +10:00
Rainer Hihn
76e333c054 Added item_types 2019-04-23 19:20:55 +02:00
ababyduck
ad9f256058 Update artresizer's ImageMagick commands to use the magick binary
Updated artresizer's ImageMagick commands to use the magick binary
added in ImageMagick 7.x, rather than the legacy utilities ('convert',
'identify', etc.) This resolves an issue where beets is failing to
detect or use ImageMagick on Windows even when it is set correctly
on the PATH, which in turn restores functionality to the fetchart and
embedart plugins on Windows.

Closes #2093
2019-04-22 23:12:51 -07:00
Carl Suster
2aeb0fa80d Improve message for packagers 2019-04-23 12:35:41 +10:00
Jack Wilsdon
750ddc1129
Update docs/changelog.rst
Co-Authored-By: arcresu <carl@contraflo.ws>
2019-04-23 12:30:58 +10:00
Carl Suster
0a7c5cb163 Prepare changelog for 1.4.8 2019-04-23 12:26:36 +10:00
Rainer Hihn
a60935ed1c Prevent scientific notation 2019-04-22 19:50:11 +02:00
Adrian Sampson
4d55e6dfbb Add changelog link for #3220 (fix #3219) 2019-04-21 20:41:18 -04:00
Adrian Sampson
8b23411767 Simplify docs for #3220 2019-04-21 20:40:18 -04:00
Adrian Sampson
5f9b28124d Merge pull request #3220 from rain0r/3219
Update __init__.py
2019-04-21 20:39:46 -04:00
Rainer Hihn
b7d3ef6274 - Improved doc and changelog
- Cleaner implementation of mutual excursion of the command line
arguments.
2019-04-21 18:32:41 +02:00
Adrian Sampson
84c29d0275
Merge pull request #3226 from jackwilsdon/loadext
Add loadext plugin
2019-04-21 12:22:49 -04:00
Jack Wilsdon
f5f9aed641
Add loadext plugin 2019-04-21 15:10:28 +01:00
Jack Wilsdon
b08db06c05
Add load_extension method for loading SQLite extensions 2019-04-21 01:30:50 +01:00
Carl Suster
063e4f259b
Merge pull request #3222 from arcresu/bpd-decoders
bpd: support decoders command
2019-04-21 09:20:42 +10:00
Adrian Sampson
0f8a748ade
Merge pull request #3227 from arcresu/doc-plugin-listen
docs: remove reference to BeetsPlugin.listen
2019-04-20 14:49:44 -04:00
Adrian Sampson
1edd21fab1
Merge pull request #3223 from arcresu/mpd-port
mpdupdate, mpdstats: use MPD_PORT env variable
2019-04-20 14:21:20 -04:00
Carl Suster
d5507dc956 docs: remove reference to BeetsPlugin.listen
This decorator was removed in 4578c4f0e1 and now
`BeetsPlugin.register_listener` should be used instead. Fixes #2885.
2019-04-20 18:13:28 +10:00
Carl Suster
bdc053d14b Changelog for #3225 2019-04-20 17:29:43 +10:00
Carl Suster
f9633edf3b
Merge pull request #3225 from sbraz/safe_load
Replace more instances of unsafe calls to yaml.load
2019-04-20 17:24:40 +10:00
Louis Sautier
4d98088cc1
Replace more instances of unsafe calls to yaml.load 2019-04-20 01:14:15 +02:00
Rainer Hihn
ddd7b4b3b4 Removed empty line 2019-04-19 21:17:15 +02:00
Rainer Hihn
5c643a8f16 Removed ipdb import 2019-04-19 21:08:26 +02:00
Rainer Hihn
e4b2e7b476 Made -a and -A mutually exclusive. 2019-04-19 20:58:13 +02:00
Carl Suster
869d6b280f Changelog for #3223 2019-04-19 17:35:42 +10:00
Carl Suster
21cba304bd mpdupdate: use MPD_PORT env variable 2019-04-19 17:35:42 +10:00
Carl Suster
dc5f110844 mpdstats: use MPD_PORT env variable 2019-04-19 17:35:42 +10:00
Carl Suster
c9327511f6 Changelog for #3222 2019-04-19 16:21:52 +10:00
Carl Suster
3da23167ca bpd: support decoders command
This uses GStreamer APIs to extract a list of audio decoders and the
relevant MIME types and file extensions. Some clients like ncmpcpp use
this command to fetch a list of supported file extensions.
2019-04-19 16:08:05 +10:00
Rainer Hihn
0b2334f8e8 Added command line options to query explicit for albums and / or tracks. 2019-04-18 22:31:49 +02:00
rain0r
fc95fb86a1
Update __init__.py
Also fetch genres for single tracks via query.
2019-04-17 20:57:58 +02:00
Carl Suster
7b910c3fde
Merge pull request #3215 from arcresu/bpd-compat
bpd: support short form of list command for albums
2019-04-15 13:39:23 +10:00
Carl Suster
7ddde2a10c Changelog for #3215 2019-04-15 13:25:02 +10:00
Carl Suster
9182f18e6f bpd: support short form of list command for albums
Some clients list the albums belonging to an artist by issuing the
command `list album <ARTIST NAME>`. This change inserts the tag `artist`
before the artist name so that this succeeds. Fixes #3007
2019-04-15 13:25:02 +10:00
Adrian Sampson
818f5bd07b
Merge pull request #3205 from arcresu/bpd-idle
bpd: support idle command and with it MPD 0.14
2019-04-11 09:42:02 -04:00
Carl Suster
241e23eae8 bpd: document new control_port config 2019-04-10 15:54:41 +10:00
Carl Suster
826244777e bpd: minor control socket refactor 2019-04-10 15:52:47 +10:00
Carl Suster
d55f061f0b bpd: add control socket
A new `ControlConnection` is created each time a client connects over
a new control socket. This is used to forward events from the player,
and also for debugging utilities that are not part of the real MPD
protocol.

This new feature reuses as much infrastructure from the normal protocol
handling as possible (e.g. `Command` for parsing messages). While the
normal connection delegates to server `cmd_*` methods which are string
generators, the control connections delegate to `ctrl_*` methods defined
on the connection itself that are full coroutines.
2019-04-09 12:19:15 +10:00
Carl Suster
fa3813844c bpd: reimplement idle without polling 2019-04-08 16:33:34 +10:00