-
-
Notifications
You must be signed in to change notification settings - Fork 25
Setting up OBS
Jan Blömacher edited this page Dec 21, 2024
·
3 revisions
There are multiple ways to display the currently playing song in OBS using Songify. Choose the method that best fits your needs:
The widget is a simple and customizable way to display song information.
- Add a Browser Source to your OBS scene.
- Set the URL to the one generated by the widget generator.
- Set the width and height to 312x64 for optimal display.
This method reads song information directly from files in the Songify folder.
-
Add a Text Source:
- Create a new Text Source in OBS.
- Enable the option Read from file.
- Browse to one of the following files in the Songify folder:
-
Songify.txt
(contains the full song information as a single string). -
Artist.txt
andTitle.txt
(contains artist and title as separate files).
-
-
Add an Image Source:
- Create a new Image Source in OBS.
- Browse to the
cover.png
file in the Songify folder. This file contains the album cover of the currently playing song.
If you're familiar with web development, you can create a custom widget using Songify's web server API.
-
Access the Web Server Endpoint:
- Songify exposes a live data endpoint that provides song information in JSON format.
- The data updates with every request made to the API.
Example API response:
{ "Artists": "", "Title": "", "Albums": [ { "Url": "", "Width": 0, "Height": 0 } ], "SongId": "", "DurationMs": 0, "IsPlaying": true, "Url": "", "DurationPercentage": 0, "Progress": 0, "Playlist": { "Name": "", "Id": "", "Owner": "", "Url": "", "Image": "" }, "FullArtists": [ { "ExternalUrls": { "spotify": "" }, "Name": "", "Uri": "" } ], "CanvasUrl": "", "Requester": "", "QueueCount": 0, "Queue": [] }
Table of Contents for Songify v.1.3.9
- Getting Started
- Setting up song requests
- Setting up the widget
- Setting up OBS
-
Troubleshooting
- Songify is not working
- Songify is not showing the song info
- Songify is not showing the song cover
- Song requests are not working
- Songify uses a lot of CPU when grabbing info from Chrome
- INVALID CLIENT: Failed to get client when trying to link my Spotify account
- INVALID_CLIENT: Invalid redirect URI when trying to link my Spotify account