Commit graph

2682 commits

Author SHA1 Message Date
Zsin Skri
b589521755 changelog entry: ffmpeg replaygain backend
Add changelog entry for the new ffmpeg replaygain backend.
2019-07-19 21:54:47 +02:00
Zsin Skri
c3af5b3763 replaygain: add ffmpeg backend
Add replaygain backend using ffmpeg's ebur128 filter.

The album gain is calculated as the mean of all BS.1770 gating block powers.
Besides differences in gating block offset, this should be equivalent to a
BS.1770 analysis of a proper concatenation of all tracks.

Just calculating the mean of all track gains (as implemented by the bs1770gain
backend) yields incorrect results as that would:
- completely ignore track lengths
  - just using length in seconds won't work either (e.g. BS.1770 ignores
    passages below a threshold)
- take the mean of track loudness, not power

When using the ffmpeg replaygain backend to create R128_*_GAIN tags, the
targetlevel will be set to -23 LUFS. GitHub PullRequest #3065 will make this
configurable.
It will also skip peak calculation, as there is no R128_*_PEAK tag.

It is checked if the libavfilter library supports replaygain calculation. Before
version 6.67.100 that did require the `--enable-libebur128` compile-time-option,
after that the ebur128 library is included in libavfilter itself. Thus we
require either a recent enough libavfilter version or the `--enable-libebur128`
option.
2019-07-19 21:54:47 +02:00
Zsin Skri
5e5cb3cd43 changelog: fix "Sporadic test failures in BPD tests #3309" #3330
Add a changelog entry asking plugin developers to report any further occurrences
of this failure.
2019-07-17 19:26:45 +02:00
Adrian Sampson
f835cca235 Expand changelog for #3329 2019-07-15 09:51:18 -04:00
Zsin Skri
45aa75a4ef document util.command_output return value change
After commit `30395911 util.command_output: return stderr, too`,
`command_output` returns a tuple of stdout and stderr. Document that change by
adding a changelog entry and add a usage note to `command_output`'s docstring.
2019-07-15 11:39:30 +02:00
Adrian Sampson
ca4b101ef4 Changelog for #3322 (fix #465) 2019-07-01 17:24:12 -04:00
Adrian Sampson
23c9f87142 Typography (#3319) 2019-06-28 09:24:15 -04:00
Justin Mayer
9e5c45d6dd
Convert plugin skips previously-converted files
Clarifies documentation so it's clear that one can run `beet convert` without fearing that previously-converted files will be needlessly re-converted.
2019-06-28 14:47:38 +02:00
Adrian Sampson
090711eeb2 Changelog for #3318 2019-06-27 22:49:56 -04:00
Susanna Maria
f254b33c6e Findings from PR 2019-06-25 20:22:26 +02:00
Susanna Maria
2bfc7723fa Fix findings from travis-ci 2019-06-23 18:01:21 +02:00
Susanna Maria
f99b4841df Better documentation 2019-06-23 17:04:43 +02:00
Susanna Maria
1643eea3f5 Parameter handling 2019-06-23 13:04:17 +02:00
Susanna Maria
43d7446df7 Right listing of mosaic plugin 2019-06-22 17:44:18 +02:00
Susanna Maria
2477443e58 Add mosaic plugin 2019-06-22 17:01:43 +02:00
Adrian Sampson
55c2b2912c Refine changelog for #3314 2019-06-20 17:23:51 -04:00
Zsin Skri
299cd01437 changelog: fix storage format in R128_ALBUM_GAIN 2019-06-20 22:15:22 +02:00
Adrian Sampson
3bdbaecc3a
Merge pull request #3307 from beetbox/arcresu-patch-2
docs: mention mpdstats needs to be running
2019-06-11 11:56:05 -04:00
Adrian Sampson
7dd0ed77f9 Merge pull request #3302 from Holzhaus/fix-3301
beetsplug/importadded: Add missing path kwarg to update_after_write_time()
2019-06-11 11:50:36 -04:00
Jan Holthuis
7e4a80133e docs: Add changelog entry for #3301 fix 2019-06-11 13:47:47 +02:00
Carl Suster
bf26e2cc7e
docs: mention mpdstats needs to be running
Clarify that `mpdstats` is an MPD client and needs to be running all the time to collect statistics.

See https://discourse.beets.io/t/mpdstats-requirements/796
2019-06-11 18:34:33 +10:00
Adrian Sampson
a94e4b0473 Changelog for #3251 2019-06-10 13:28:01 -04:00
Adrian Sampson
6a9616796c Break up a long paragraph 2019-06-08 21:38:42 -04:00
Adrian Sampson
bfb94363c3 Changelog & doc tweaks for #3279 2019-06-08 21:37:24 -04:00
Adrian Sampson
c2fdf04539 Merge pull request #3279 from dosoe/beets_parentwork_3
add parentwork plugin
2019-06-08 21:35:05 -04:00
Dorian Soergel
fd14b5b649 docstrings and style 2019-06-08 22:55:05 +02:00
Dorian Soergel
2c3389beae
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:47 +02:00
Dorian Soergel
c8c206f19e
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:32 +02:00
Dorian Soergel
022e3d44ea
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:17 +02:00
Adrian Sampson
f865fc00cd replaygain: Fix py3 crash in audiotools backend
Fixes #3305.
2019-06-08 16:23:49 -04:00
Samuel Nilsson
f5c8650dc9 Fixed merge issue regarding replaygain per_disc option 2019-06-08 16:44:03 +02:00
Samuel Nilsson
2c0d9b07db Fixed changelog for replaygain per_disc option 2019-06-08 16:23:24 +02:00
Samuel Nilsson
b8b99d9396 Merge branch 'master' into replaygain 2019-06-08 16:15:27 +02:00
FichteFoll
728203e15a
beets.io now supports HTTPS
See https://github.com/beetbox/beets/pull/3297.
2019-06-06 15:34:15 +02:00
FichteFoll
9631616b53
Replace a couple URLs that don't point to anything
I'm unsure regarding the pygst tutorial, so I just added another URL
of the best resource I could find with a quick web search.
2019-06-05 23:08:18 +02:00
FichteFoll
c144141e9a
Update a few more http URLs to https that I missed
Should really be all now (pending the next commit).
2019-06-05 23:07:11 +02:00
Dorian Soergel
8363dedaeb logging and minor comments 2019-06-05 11:10:11 +02:00
Carl Suster
6769da29ae docs: add dev importer and cli text from wiki 2019-06-05 13:28:06 +10:00
Carl Suster
de78151eea docs: rename api -> library 2019-06-05 13:18:46 +10:00
Carl Suster
918024a465 docs: document mtime management 2019-06-05 13:16:12 +10:00
Carl Suster
e27c6e480b docs: add query API reference 2019-06-05 13:10:10 +10:00
Carl Suster
984aa223c6 docs: highlight model field API 2019-06-05 13:03:36 +10:00
Carl Suster
0e65800fbc Expand library API docs 2019-06-05 12:49:39 +10:00
FichteFoll
aa31fea037
Update a lot of URLs to use HTTPS
*All* URLs were checked manually, but only once per domain!

I mostly concerned myself with URLs in documentation rather than source
code because the latter may or may not have impactful changes, while the
former should be straight forward.

Changes in addition to simply adding an s:

- changed pip and pypi references as their location has changed
- MPoD (iOS app) url redirects to Regelian, so I replaced those
- updated homebrew references

Notable observations:

- beets.io does have HTTPS set up properly (via gh-pages)
- beatport.py uses the old HTTP url for beatport
- as does lyrics.py for lyrics.wikia.com
- https://tomahawk-player.org/ expired long ago, but the http page
  redirects to https regardless
- none of the sourceforge subdomains have https (in 2019!)
2019-06-05 03:11:49 +02:00
Dorian Soergel
380003a2fb fix documentation 2019-06-03 20:01:02 +02:00
Carl Suster
be1daa9771
Merge pull request #3214 from arcresu/bpd-mpd16
bpd: support MPD 0.16 protocol and more clients
2019-06-03 10:39:35 +10:00
Adrian Sampson
5a3157d85d Try to make a test more reliable
As @arcresu pointed out on Gitter, this openSUSE patch adds a safeguard
to this test, which was apparently failing for them:
https://build.opensuse.org/package/view_file/openSUSE:Factory/beets/fix_test_command_line_option_relative_to_working_dir.diff?expand=1

Reading the configuration once here to make sure that we're in a clean
state seems harmless enough. The culprit is likely that a previous test
was modifying the configuration and not properly cleaning up. This
change defends against that kind of mistake.
2019-06-02 20:16:51 -04:00
Carl Suster
65432bbb2d Changelog for #3214 2019-06-02 23:50:20 +10:00
Carl Suster
62aa358ce7 bpd: bump protocol version to 0.16 2019-06-02 23:37:07 +10:00
Carl Suster
fdd809fd36 bpd: support more tagtypes 2019-06-02 23:37:07 +10:00
Carl Suster
176fac781f docs: update cookbook for modern beets 2019-06-02 22:25:26 +10:00
Carl Suster
aa9e39327d docs: document 'quiet' config item 2019-06-02 22:25:26 +10:00
Carl Suster
8bea1cc7f5 docs: add report recipe 2019-06-02 16:07:07 +10:00
Carl Suster
001183ec54 docs: add cron import recipe 2019-06-02 16:01:10 +10:00
Adrian Sampson
81b1faa053 inline: Fix a ridiculously subtle flexattr bug
As detailed here:
https://github.com/beetbox/beets/issues/2406#issuecomment-274423601

In a *function-style* definition, we didn't properly *un-define* the
values for a given item after each function invocation. So when a field
wasn't defined, it would get the value for the previously-formatted
object instead. It now properly throws a NameError.
2019-06-01 12:28:47 -04:00
Adrian Sampson
cd66c5d752 Link to beet-summarize (fix #3177) 2019-06-01 12:03:03 -04:00
Carl Suster
57d5c77b33 Changelog for #3224 2019-06-01 10:24:15 +10:00
Carl Suster
a82002e6c1 confit: replace with confuse in core beets 2019-06-01 09:51:56 +10:00
Dorian Soergel
b28d685059 wrong file name for parentwork documentation 2019-05-31 15:13:55 +02:00
Dorian Soergel
080680c950 add parentwork plugin, first try 2019-05-31 14:35:51 +02:00
Adrian Sampson
1da34f26ff Changelog for #3272 2019-05-30 20:58:30 -04:00
Adrian Sampson
d778a5236b Move changelog for #3237 to the right release 2019-05-30 20:24:11 -04:00
Adrian Sampson
c82072aa80 Merge pull request #3237 from arcresu/mediafile
mediafile: replace with a re-export of beetbox/mediafile
2019-05-30 20:23:17 -04:00
Adrian Sampson
1835422934 Version bump: 1.5.0 2019-05-30 20:08:03 -04:00
Adrian Sampson
2b8a2eb96b Release date for 1.4.9 2019-05-30 19:32:42 -04:00
Adrian Sampson
2c6efc3127 Changelog for #3278 2019-05-30 19:32:14 -04:00
Adrian Sampson
0ad084a706 Slight changelog reorg 2019-05-30 19:27:39 -04:00
Adrian Sampson
a0f326e7b5 Changelog for #3275 2019-05-30 09:11:25 -04:00
Carl Suster
7dfaec664a Update distro package links 2019-05-30 16:02:07 +10:00
Carl Suster
1de894ab83 Remove direct dependency on Mutagen 2019-05-29 09:36:01 +10:00
Carl Suster
48568c0e70 Changelog for #3237 2019-05-29 09:36:01 +10:00
Carl Suster
1289efeeee mediafile: update docs for MediaFile split 2019-05-29 09:35:14 +10:00
David Logie
899d09fc2d Add changelog entry for #3273. 2019-05-28 12:12:50 +01:00
Adrian Sampson
d77a13eb34 gmusic: Fix compatibility with gmusicapi>=12.0.0
Fixes #3270.
2019-05-18 16:32:56 -04:00
Adrian Sampson
d6dc1b7c4e gmusic: Use as_filename for oauth_file (#3270) 2019-05-18 16:27:13 -04:00
Adrian Sampson
3399154adf Changelog for #3269 2019-05-17 19:37:03 -04:00
Adrian Sampson
a34f19e01c Version bump: 1.4.9
Given what we have in the pipeline, we may need to change this to 1.5.0
instead...
2019-05-16 20:44:38 -04:00
Adrian Sampson
2f9ce7e43c Date for 1.4.8 release 😱 2019-05-16 16:42:42 -04:00
Adrian Sampson
217915bd69 Slightly longer changelog section headings 2019-05-16 16:42:15 -04:00
Adrian Sampson
967c08cf47 Changelog summary 2019-05-16 16:39:51 -04:00
Adrian Sampson
909fd1eb27 Reorganize changelog for performance improvements 2019-05-12 11:21:19 -04:00
Simon Persson
89aa5c7be8 Merge branch 'master' into lazy-album-fetch-in-formatter 2019-05-10 20:08:50 +02:00
Simon Persson
0754940465 Add changelog entry. 2019-05-10 19:41:11 +02:00
Adrian Sampson
d236e1edff Changelog refinement for #3258 2019-05-09 14:17:11 -04:00
Simon Persson
c5075b2855 Create a cached template() function
We were previously doing calls to Template() directly, sometimes in a
loop. This caused the same template to be recompiled over and over. This
commit introduces a function template() which caches the results, so
that multiple calls with the same template string does not require
recompilation.
2019-05-09 18:24:59 +02:00
Adrian Sampson
83ac5ed022 Changelog for #3247 2019-05-02 09:35:14 -04:00
Adrian Sampson
6ec061b8a5 Changelog for #3236 2019-04-30 16:57:27 -04:00
Adrian Sampson
ff73a056f5 Changelog for #3238 (fixes #2790) 2019-04-30 11:52:29 -04:00
Adrian Sampson
fc084ae975 More changelog proofreading 2019-04-30 11:47:26 -04:00
Adrian Sampson
0bfe0e9a67 Link to the aunique config option 2019-04-30 11:42:44 -04:00
Carl Suster
9b0fcff216 playlist: remove "smart" from title in docs 2019-04-27 12:43:33 +10:00
Carl Suster
2e0230789f docs: fix some markup issues and typos 2019-04-27 12:43:13 +10:00
Adrian Sampson
8ba2ccdc63 Improve changelog text
Co-Authored-By: arcresu <carl@contraflo.ws>
2019-04-24 11:06:19 +10: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
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