ezarcel / OBS-now-playing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OBS Now Playing

Widget for OBS that shows the song you are now listening to.

Set up

Prerequisites

  • Node.js (tested on 16.14.2)
  • A previously-configured OBS

Steps

  1. Clone this repo or download the latest release.
  2. Run npm run install-dependencies to install the dependencies.
  3. Run npm run compile:all to compile the source code (only do once and if the repo was cloned).
  4. Run npm run start. It'll create the default config.json file and exit.
  5. Go to your Spotify for Developers dashboard.
  6. Click Create an app, give it the name & description you want & agree to everything.
  7. Click Edit settings & under Redirect URIs add http://localhost:3000/api/login-callback.
    Note: if you plan on modifying the code, add http://localhost:3001/api/login-callback too.
  8. Click Show client secret & replace <client_id> with your Client ID, and <client_secret> with your Client Secret in config.json.
  9. Run npm run start again and open http://localhost:3000. Follow the on-screen instructions.

To-do

  • Get the now playing song
  • Config file
  • Frontend
  • Fix ads giving "UnhandledPromiseRejectionWarning"
  • Mini variant
  • A more user-friendly UI (some sort of dashboard maybe)
  • Set up section in README.md
  • Skin settings

About

License:GNU General Public License v3.0


Languages

Language:Svelte 55.8%Language:TypeScript 32.0%Language:SCSS 8.5%Language:JavaScript 1.8%Language:HTML 1.8%