Skip to content

An OBS Plugin that reads the Spotify playstate by its window title.

Notifications You must be signed in to change notification settings

ReDiGermany/OBS-SongReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SongReader

An OBS Plugin that reads the Spotify playstate by its window title.

Features

  • Save To File: Saves the current title into a given file
  • Share via http: A Simple Webserver providing json based information about the current play state. WebServer

Downloads

Binaries for Windows are available on the Releases

WebServer

The WebServer is running on *:8080 per default but you can change it in the settings pane (Tools -> SongReader Settings)

{
  "error": false,
  "open": true,
  "playing": true,
  "track": "Diamond Eyes - Flutter"
}
  • error: true if there was an error
  • open: true if spotify client is open
  • playing: true if spotify client is playing something
  • track: the current track (main interpret - track name) C:\Users\Max ReDiGermany\source\repos\SpotifyReader

Development

  • Compile as .dll
  • Use C++20
  • Windows SDK >= 10.0.20348.0
  • Additional Includes:
    • cpp-httplib-master
    • obs-studio\libobs
    • obs-studio\UI\obs-frontend-api
    • Qt\5.15.2\msvc2019_64\include\QtCore
    • Qt\5.15.2\msvc2019_64\include\QtWidgets
    • Qt\5.15.2\msvc2019_64\include\QtGui
    • Qt\5.15.2\msvc2019_64\include\QtPlatformCompositorSupport
    • Qt\5.15.2\msvc2019_64\include\QtPlatformHeaders
    • Qt\5.15.2\msvc2019_64\include\QtThemeSupport
  • Additional Links:
    • obs-studio\build\libobs\Debug\obs.lib
    • obs-studio\build\UI\obs-frontend-api\Debug\obs-frontend-api.lib
    • Qt\5.15.2\msvc2019_64\lib\Qt5Core.lib
    • Qt\5.15.2\msvc2019_64\lib\Qt5Widgets.lib
    • Qt\5.15.2\msvc2019_64\lib\Qt5Gui.lib
    • Qt\5.15.2\msvc2019_64\lib\Qt5PlatformCompositorSupport.lib
    • Qt\5.15.2\msvc2019_64\lib\Qt5ThemeSupport.lib

Inheritances

About

An OBS Plugin that reads the Spotify playstate by its window title.

Resources

Stars

Watchers

Forks

Packages

No packages published