mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 09:04:33 +01:00
replaygain: Fix #1518, GStreamer missing plugins
This commit is contained in:
parent
18bd4471e4
commit
493fbab1a5
2 changed files with 8 additions and 0 deletions
|
|
@ -388,6 +388,12 @@ class GStreamerBackend(Backend):
|
|||
self._res = self.Gst.ElementFactory.make("audioresample", "res")
|
||||
self._rg = self.Gst.ElementFactory.make("rganalysis", "rg")
|
||||
|
||||
if self._src is None or self._decbin is None or self._conv is None \
|
||||
or self._res is None or self._rg is None:
|
||||
raise FatalReplayGainError(
|
||||
"Failed to load required GStreamer plugins"
|
||||
)
|
||||
|
||||
# We check which files need gain ourselves, so all files given
|
||||
# to rganalsys should have their gain computed, even if it
|
||||
# already exists.
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ Fixes:
|
|||
* Some messages in the console UI now use plural nouns correctly. Thanks to
|
||||
:user:`JesseWeinstein`. :bug:`1521`
|
||||
* Sorting numerical fields (such as track) now works again. :bug:`1511`
|
||||
* :doc:`/plugins/replaygain`: Missing GStreamer plugins now cause a helpful
|
||||
error message instead of a crash. :bug:`1518`
|
||||
|
||||
|
||||
1.3.13 (April 24, 2015)
|
||||
|
|
|
|||
Loading…
Reference in a new issue