I wrote a plugin for Rhythmbox and have got it to work with the Debian installed Rhythmbox package. This means I can activate and deactivate my plugin from Rhythmbox -> Menu -> Preferences -> Plugins and also run it from Rhythmbox -> Menu -> Tools. My plugin folder is placed in ~/.local/share/rhythmbox/plugins.
Presently, I am trying to test the performance of my plugin on Rhythmbox that is installed via Flatpak at the user level. However, I can’t get my plugin to appear in Rhythmbox. I have tried putting my plugin into these directories but they don’t work:
~/.var/app/org.gnome.Rhythmbox3/data/rhythmbox/plugins
~/.local/share/flatpak/app/org.gnome.Rhythmbox3/current/active/files/lib/rhythmbox/plugins/
~/.local/share/flatpak/app/org.gnome.Rhythmbox3/x86_64/stable/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/files/lib/rhythmbox/plugins
The last directory listed above is also where all the source code of the plugins used by the flatpak installed Rhythmbox are found.
How do I get my plugin to appear and run in Rhythmbox that is installed via flatpak?