bmerry / rbtempo

Rhythmbox plugin to adjust playback speed
GNU General Public License v3.0
17 stars 3 forks source link

Doesn't work anymore with newer versions of gst-python #2

Closed Ambyjkl closed 6 years ago

Ambyjkl commented 6 years ago

In newer versions of gst-python (since 1.5.2), Gst needs to be initialized with an argv array for the APIs to work. Since we don't need any arguments, the fix is to initialize Gst with an empty array as Gst.init([]) in the do_activate method.

bmerry commented 6 years ago

Looks like it's a gst-python bug that it doesn't realise that Rhythmbox has already initialised Gst without the Python bindings. I've filed https://bugzilla.gnome.org/show_bug.cgi?id=788088.

bmerry commented 6 years ago

@Ambyjkl what version of Rhythmbox are you using? I've tried with 3.4.1 in Ubuntu 17.10 beta, and 3.3 from Ubuntu 16.04, and as far as I can tell neither of them use the gst-python overrides that are causing the problem (the python-gst package isn't even installed).

bmerry commented 6 years ago

@Ambyjkl never mind I figured it out: installing python3-gst-1.0 changes the behaviour of using gst from Python and triggers the bug.