Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package for use inside of /home folder #3

Open
MichaelTunnell opened this issue Feb 8, 2022 · 3 comments
Open

Package for use inside of /home folder #3

MichaelTunnell opened this issue Feb 8, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@MichaelTunnell
Copy link

I think it would be a good idea to package the plugin for use inside of the user's /home folder so you don't need to invoke sudo to install the plugin.

I have attached a modified version of 0.1.0 that would be installed in /home/username/.config/obs-studio/plugins/

obs-pulseaudio-app-capture-0.1.0.tar.gz

Note: because I have pipewire I was not able to test to make sure it worked due to issue #2

@MichaelTunnell MichaelTunnell added the enhancement New feature or request label Feb 8, 2022
@PipeL1n3
Copy link

PipeL1n3 commented Apr 2, 2022

I just wanted to try this out, but i´ve used snap to install obs-studio, so i followed their instructions and put yours version to ~/snap/obs-studio/current/.config/obs-studio/plugins/ but it never shows up, not as a source to add or in logs.

@caimandepamer
Copy link

I just wanted to try this out, but i´ve used snap to install obs-studio, so i followed their instructions and put yours version to ~/snap/obs-studio/current/.config/obs-studio/plugins/ but it never shows up, not as a source to add or in logs.

Hi! @PipeL1n3, try this:

first install the .deb:
sudo dpkg -i ~/Downloads-t460/obs-pulseaudio-app-capture_0.1.0-1_amd64.deb
then you can review which and where files was installed:
dpkg -L obs-pulseaudio-app-capture

now copy the installed files from default location to "snap" location:

mkdir -p ~/snap/obs-studio/1284/.config/obs-studio/plugins/obs-pulseaudio-app-capture/data/locale/
cp /usr/share/obs/obs-plugins/obs-pulseaudio-app-capture/locale/en-US.ini ~/snap/obs-studio/1284/.config/obs-studio/plugins/obs-pulseaudio-app-capture/data/locale/
cp /usr/lib/obs-plugins/obs-pulseaudio-app-capture.so ~/snap/obs-studio/1284/.config/obs-studio/plugins/obs-pulseaudio-app-capture/

this work for me, hope this can help you!!

@PipeL1n3
Copy link

PipeL1n3 commented May 14, 2022

@caimandepamer
Finally got it working, but not with what you wrote.

first installing .deb via dpkg will fail if obs-studio (.deb version) is not installed. I´ve downloaded the .deb and extracted the .so and .ini.
Then I tried the folder-structure as you mentioned above, but it again never showed up in log, but after trying some structures i´ve seen on other plugins, this one is finally working for me:

  • snap/
    -- obs-studio/
    --- 1287/
    ---- .config/
    ----- obs-studio/
    ------ plugins/
    ------- obs-pulseaudio-app-capture/
    -------- bin/
    --------- 64bit/
    ---------- obs-pulseaudio-app-capture.so
    -------- data/
    --------- locale/
    ---------- en-US.ini

But thanks, as your post brought me to try it again, now lets see how its working :)

edit:
well thats exactly the structure that is mentioned in the snap description of OBS studio ... i thought i´ve tested this before ... maybe i´ve forgot the data/ folder or there was a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants