This Script allows you to impliment the Now Playing Widget using Snip, but instead of using a browser source such as this awesome widget by ZyphenVisuals it instead uses OBS Sources.
This LUA script uses a Scene named 'Snip' containing several Sources that can be nested as a single Source in other Scenes to show a Now Playing Widget.
To get Started:
Some Sample Images:
This LUA script uses a Scene named 'Snip' containing several Sources that can be nested as a single Source in other Scenes to show a Now Playing Widget.
Snip.exe - is a small application that sits in the system tray and updates a text file with the currently playing audio track.
Snip.lua - reads the information from the text files for the currently playing audio track and updates 'Text Sources' in OBS.
Snip.exe - will write a generic format output to a file called `Snip.txt` within the same folder as `Snip.exe`.
To use with OBS Lua in this script you have to choose `Save information separately` within the settings for Snip.exe
This will create the following files:
`Snip_Artist.txt`
`Snip_Track.txt`
`Snip_Album.txt`
Use Source Copy to import Snip `Scene & Sources` from Snip.json
The freeware platform for Snip is Copyright 2012-2021 David Rudie
Dependencies
Find Snip Application on GitHub
Find Snip OBS Lua on GitHub
Find OBS Source Copy
Snip.lua - reads the information from the text files for the currently playing audio track and updates 'Text Sources' in OBS.
Snip.exe - will write a generic format output to a file called `Snip.txt` within the same folder as `Snip.exe`.
To use with OBS Lua in this script you have to choose `Save information separately` within the settings for Snip.exe
This will create the following files:
`Snip_Artist.txt`
`Snip_Track.txt`
`Snip_Album.txt`
Use Source Copy to import Snip `Scene & Sources` from Snip.json
The freeware platform for Snip is Copyright 2012-2021 David Rudie
Dependencies
Find Snip Application on GitHub
Find Snip OBS Lua on GitHub
Find OBS Source Copy
- Download and install snip.
- Define snip using either iTunes or Spotify
- Important: If using Spotify, you may consider getting Spotify Premium
- Authorise Snip with Spotify
- Important: If using Spotify, you may consider getting Spotify Premium
- Download and install Source Copy as this is needed in the next step, to import Snip Scene & Sources:
- You may also create these manually:
- Create a Scene, Name it Snip (Or whatever you like)
- Add 3 x Text Sources and name them EXACTLY:
- 'Snip Track'
- 'Snip Artist'
- 'Snip Album'
- Add 1 x Image Source and name it EXACTLY:
- 'Snip Artwork'
- 'Snip Artwork'
- Create a Scene, Name it Snip (Or whatever you like)
- You may also create these manually:
- Download Snip LUA containing two files:
- Snip.json
- Snip.lua
- Add Snip LUA via the OBS LUA Script UI
- Import the Critical required OBS Scene containing Sources (see ref 3.1.2) using Source Copy
- In OBS lua Define Snip LUA settings correctly:
- Select the path where snip.exe resides as this is where the critical text (*.txt) files will be generated by snip.
- Select the path where snip.exe resides as this is where the critical text (*.txt) files will be generated by snip.
- Because Snip LUA uses OBS Sources the Text Properties (Style), layout, transitions and filters can be customised to suite your needs.
- You can safely add Source elements to the Snip scene, such as for example a Color Source as a Background color palette
- You can select your Font amily Type, Size, Color ect
- You can change the layout as you see fit.
- You can safely add Source elements to the Snip scene, such as for example a Color Source as a Background color palette
- The Widget will only show if Spotify or iTunes is Actively Playing a Track.
Some Sample Images: