occ-ai / obs-urlsource

OBS plugin to fetch data from a URL or file, connect to an API or AI service, parse responses and display text, image or audio on scene
https://obsproject.com/forum/resources/url-api-source-fetch-live-data-and-display-it-on-screen.1756/
GNU General Public License v2.0
130 stars 18 forks source link

Does not install on Ubuntu 22.04 (XFCE) #66

Closed Amperoli closed 5 months ago

Amperoli commented 7 months ago

Congratulations on the fantastic work. I tested the plugin on Windows and it works perfectly. However, for application I use Ubuntu 22.04 (XFCE) on VPS at Vultr. I've tried several times to install the plugin but I can't. During installation via terminal, error messages do not appear, but the plugin does not appear in Note. Could someone check and help me resolve it? Thanks.

royshil commented 6 months ago

sorry i didn't get to this earlier. are you installing in home folder or in /usr ? OBS is very picky but different installs work in different ways, I think it has to do with what you choose when you install OBS...

mjanschek commented 6 months ago

Hi, I managed to install it by mimicking the install structure of the Move plugin:

  1. Download a Linux release, for instance obs-urlsource-0.2.5-x86_64-linux-gnu.tar.xz This has following structure:
    obs-urlsource-0.2.5-x86_64-linux-gnu.tar.xz
    ├ lib/obs-plugins/obs-urlsource.so
    └ share/obs/obs-plugins/obs-urlsource/locale/en-US.ini
  2. Extract this to the path /$HOME/.config/obs-studio/plugins/obs-urlsource/
  3. Reorganize the two files to this structure:
    $HOME/.config/obs-studio/plugins/obs-urlsource/
    ├ bin/64bit/obs-urlsource.so
    └ data/locale/en-US.ini
royshil commented 6 months ago

@mjanschek yes so for you it works by copying to $HOME/.config/obs-studio but for others (myself included) it works by copying to e.g. /usr/lib and it's quite difficult to nail down when one way would work and the other won't... i will add this to the README though

royshil commented 5 months ago

stale