Change the stream title based on VLC currently playing

Hi,

In the end, how did you manage to automatically change the stream title based on VLC currently playing? For a non-developer, how would that be implemented?

manually via the dashboard. If you are not a developer then you are stuck.

You need some sort of signal from VLC to provide information, then match that information to a game category in some program or plugin to VLC, which then makes the relevant API call to Twitch.

So you need a developer for this. Even if VLC can provide information you can match to a game category on Twitch (as you need the Category/Game ID not just the title of the game), assuming you want to update both the title and the game/category of the stream as needed.

Split from: How To Set Title? - #5 by da_coder a 10 year old post

Thanks.
I am using the VLC plugin within OBS and playing a playlist without changing the category, just looking to change the title accordingly.
The previous user said he made a java program to do that.

The only topic I could find online pointed here:
cURL via the API. With no additional indication.
https://www.reddit.com/r/Twitch/comments/4z74pa/any_pluginspromrams_that_auto_change_the_stream/

Any idea how I could implement that?

Well your first problem is: does the VLC Plugin for OBS provide the title of the current video being played somewhere for you to consume.

Then you write program to fetch that then you call the API

The language you write the program will generally provide some way to make HTTP calls

The documentation here Reference | Twitch Developers

Describes how to do that, and provides an example in curl.

curl is the lowest common denominator for anyone to convert from curl to the programming language they are using

No, actually the VLC plugin does not provide a title. Only a path to folder.
I am also using the Tuna plugin in OBS to display the file name onscreen via a Text GDI+. Not sure if this can be pulled to inject a new title in Twitch for every new file being read.

Then you just do what the plugin is doing and instead of outputting to text do an API call isntead

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.