Commit graph

2634 commits

Author SHA1 Message Date
Zsin Skri
fbc8cc484d update replaygain target level documentation
- document `r128_targetlevel`
- explain difference between `targetlevel` and `r128_targetlevel`
- deprecate `method` option: use `targetlevel` instead.
2019-07-22 13:42:26 +02:00
Zsin Skri
f9ff56f496 improve wording in the ffmpeg replaygain backend
This commit mostly addresses feedback:
- remove some unused parenthesis
- fix a typo
- expand some docstrings
- document that ffmpeg is usually easy to install
2019-07-21 01:18:49 +02:00
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