[Bug 249483] Bring back multimedia/quodlibet with latest version 4.3.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 24 16:03:23 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249483
--- Comment #13 from Aaron LI <aly at aaronly.me> ---
(In reply to Fernando Apesteguía from comment #12)
Hi Fernando, thank you for the testing.
I looked into the QuodLibet code and find that error comes from:
https://github.com/quodlibet/quodlibet/blob/quodlibet-4.3/quodlibet/quodlibet/player/gstbe/util.py#L101
On *BSD, it should use the 'autoaudiosink' Gstreamer audio sink, which is
provided by the 'gstreamer1-plugins-good' package and this package is already
installed on your system. I can't figure out why it doesn't work for you :(
I'm using the new QuodLibet on my DragonFly BSD (5.9-development) desktop for
several days, and it works fine. I'm also using the Gstreamer v1.16.2, same
version as yours:
-----------------------------------------------------------------------------
% pkg info -x 'gstrea.*'
gstreamer1-1.16.2
gstreamer1-libav-1.16.2
gstreamer1-plugins-1.16.2
gstreamer1-plugins-bad-1.16.2
gstreamer1-plugins-faad-1.16.2
gstreamer1-plugins-flac-1.16.2
gstreamer1-plugins-gl-1.16.2
gstreamer1-plugins-good-1.16.2
gstreamer1-plugins-mpg123-1.16.2
gstreamer1-plugins-ogg-1.16.2
gstreamer1-plugins-speex-1.16.2
gstreamer1-plugins-ugly-1.16.2
gstreamer1-plugins-vorbis-1.16.2
gstreamer1-plugins-wavpack-1.16.2
-----------------------------------------------------------------------------
One difference here is that I don't have the legacy Gstreamer 0.10.x, but I
don't think it's the issue, because QuodLibet requires Gstreamer 1.0:
https://github.com/quodlibet/quodlibet/blob/quodlibet-4.3/quodlibet/quodlibet/_init.py#L396
Nevertheless, please try this in Python 3:
-----------------------------------------------------------------------------
>>> import gi
>>> gi.require_version('Gst', '1.0')
>>> from gi.repository import Gst
>>> Gst.init_check()
(True, argv=[])
>>> Gst.ElementFactory.make('autoaudiosink', None)
<__gi__.GstAutoAudioSink object at 0x8019dc870 (GstAutoAudioSink at
0x801fae060)>
-----------------------------------------------------------------------------
and try:
-----------------------------------------------------------------------------
% gst-inspect-1.0 autoaudiosink
Factory Details:
Rank none (0)
Long-name Auto audio sink
Klass Sink/Audio
Description Wrapper audio sink for automatically detected audio
sink
Author Jan Schmidt <thaytan at noraisin.net>
Plugin Details:
Name autodetect
Description Plugin contains auto-detection plugins for
video/audio in- and outputs
Filename /usr/local/lib/gstreamer-1.0/libgstautodetect.so
Version 1.16.2
License LGPL
Source module gst-plugins-good
Source release date 2019-12-03
Binary package GStreamer Good Plug-ins source release
Origin URL Unknown package origin
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBin
+----GstAutoDetect
+----GstAutoAudioSink
-----------------------------------------------------------------------------
Hope this helps.
Regards,
Aaron
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list