VLC Current Song

OBS Python VLC Current Song 2018-04-01

THIS SCRIPT IS AN ENHANCED VERSION OF TYPHER88'S VLC NOW PLAYING.

Latest version:
0.1
Python version: 3.6+

This is a python script that will update a GDI+ Text Source in OBS Studio with the name of the song currently played in VLC.
You may follow the instructions below for it to work properly.

Installation instructions:
Follow this step for this script to work:
Python:
1
. Install python (64 bits, this is important)
2. Install requests
- Open a command prompt with administrator privileges
- Type in "pip install requests"

VLC:
1
. Go to Tools Preferences
2. Select the "All" radio button on the bottom left
3. Click "Main Interfaces" in the list
4. Check the "Web' checkbox
5. Expand "Main Interfaces", select "Lua"
6. Set a password in the Lua HTTP groupbox
7. Make sure "Source directory" as a value similar to "C:\Program Files (x86)\VideoLAN\VLC\lua\http"
8. Save settings and restart VLC

OBS:
1
. Create a GDI+ Text Source with the name of your choice
2
. Go to Tools › Scripts
3. Click the "+" button and add this script
4
. Set the same password as the one in VLC
5. Set the same source name as the one you just created
6. Check "Enable"
7. Click the "Python Settings" tab
8. Select your python install path

Screenshots:
75Ex1G0.png
  • Like
Reactions: Luis Bordis
Author
Hawezo
Downloads
5,675
Views
5,675
First release
Last update
Rating
3.67 star(s) 3 ratings

Latest reviews

brilliant, is there any way to also have the "now playing" album art image saved somewhere or point to the images vlc saves in %APPDATA%\vlc\art\artist

havent found any 1 package solution that can show or save an image to import to OBS yet along with all the text needed.
Functions perfectly.
Top