This is a Java program I made in order to display information from my Youtube Subscribers on my stream. The setup that I know this script will work on is Windows 10 with Java 8.111 (also 121) but it should be cross platform although I cannot guarantee that.
The program will update your subscribers every 5 seconds
Require
I. Java
II. API key for Youtube v3 https://console.developers.google.com
Instructions (Version 0.1.0)
1. unzip any place you want and run YoutubeSubs.jar with double click;
2. place your Channel ID and API Key in config screen;
3. open your OBS, create a text element and check "get content from file"
4. locate subs.txt (will be in the same dir of YoutubeSubs.jar) and you're done!
If you prefer I have a Python version here:
https://obsproject.com/forum/resources/youtubesubscribers.478/
The program will update your subscribers every 5 seconds
Require
I. Java
II. API key for Youtube v3 https://console.developers.google.com
Instructions (Version 0.1.0)
1. unzip any place you want and run YoutubeSubs.jar with double click;
2. place your Channel ID and API Key in config screen;
3. open your OBS, create a text element and check "get content from file"
4. locate subs.txt (will be in the same dir of YoutubeSubs.jar) and you're done!
1. unzip this file any place you want
2. open a cmd sreen and navigate where is the jar file
3. run with: java -jar YoutubeSubs.jar and stop (using Ctrl-C or closing the window).
4. The program will create a file config.properties and subs.wav in same jar folder
5. edit with your API Key and Youtube Channel, save it
6. run again and the program now will create a subs.txt
7. open your OBS, create a text element and check "get content from file"
8. locate subs.txt (will be in the same dir of YoutubeSubs.jar) and you're done!
You can also customize the sound (some extensions may not work, I recomend .wav type).
If you change the sound file name, remember to update in config.properties
2. open a cmd sreen and navigate where is the jar file
3. run with: java -jar YoutubeSubs.jar and stop (using Ctrl-C or closing the window).
4. The program will create a file config.properties and subs.wav in same jar folder
5. edit with your API Key and Youtube Channel, save it
6. run again and the program now will create a subs.txt
7. open your OBS, create a text element and check "get content from file"
8. locate subs.txt (will be in the same dir of YoutubeSubs.jar) and you're done!
You can also customize the sound (some extensions may not work, I recomend .wav type).
If you change the sound file name, remember to update in config.properties
If you prefer I have a Python version here:
https://obsproject.com/forum/resources/youtubesubscribers.478/