How to automatically display song titles in OBS based on a schedule?

I've been using OBS to stream music for a few weeks now and I'm trying to find a way to automatically display the song title on my stream based on a playlist I've created. I've been manually changing the title for each song, but is there a feature or plugin that can automate this process or allow for scheduled title changes? Thanks for any help!
 

AaronD

Active Member
If each song is a different scene, you might use the Advanced Scene Switcher plugin to switch from one to the next, and show/hide a text source in that scene that has the relevant information.
1724167802795.png

1724167811842.png

When you add or remove a song, you'll need to add or remove the corresponding Song X macro, both in the list on the left and in the Random action of the Switch Songs macro. Each scene is expected to have a video for the song itself, and a text source for the meta info. The names of the sources don't matter.

The idea here is that the main macro triggers when the currently playing song has 1/2-second remaining. It picks a random other macro to run, from the Random list, which switches to the next one with a 1/2-second transition to match the 1/2-second remaining. Then the main one shows the text source on that one, whichever it is, waits to be able to read it, and hides it again.

If you want a specific sequence, not random, then you can replace the Random action with a Sequence action. Otherwise the same.

If you want to switch between Sequence and Random, you'll need to have both present, and use the switch at the top left of each one to disable the one you don't want. Changing an action loses all of its settings, but disabling keeps them and simply skips over it.

If it shows/hides the wrong one (might appear to simply not show at all), you might need to check the "Wait for complete" box in the switching macros, and/or add a Wait to the main macro so that it's shown after the main transition is complete.

Since the trigger time is so close to something critical (only 500ms from end of song), you should probably run the "Check every" setting all the way down. It takes a *little* bit more CPU load that way, but if that's a problem, then you probably have other issues anyway.
1724168708318.png

My old version only goes down to 50ms, but the latest I believe will do 10ms. Just run it all the way down.

---

Poke around Adv. SS and see what else you find useful. It does a LOT!
 

bcoyle

Member
I've been using OBS to stream music for a few weeks now and I'm trying to find a way to automatically display the song title on my stream based on a playlist I've created. I've been manually changing the title for each song, but is there a feature or plugin that can automate this process or allow for scheduled title changes? Thanks for any help!
Look up casttor and 24/7 automated programming. Not only song title, but also band,alum etc.
 

bcoyle

Member
Here is a music video
 

Lawrence_SoCal

Active Member
If each song is a different scene, you might use the Advanced Scene Switcher plugin to switch from one to the next, and show/hide a text source in that scene that has the relevant information.

Poke around Adv. SS and see what else you find useful. It does a LOT!

I also thought of AdvSS, though one could make it 'simple' and simply make the title change based on Sequence... the issue is timing, little timing calculation errors add up over course of a day, etc...

but in the keep-it-simple mindset, I'd consider what is the source of your audio (ignoring copyright issues for the time being)
- if creating and playing playlist from streaming source (ex. browser window?), might you simply display the song info being displayed from that source?
as I think about it... even if local files, you are still using a music player... could use its display as source? the challenge would be a non-UI audio source

the challenge being 1. copyright (even on text display, potentially) and 2. if the Song Title display is not consistent (ie specific/consistent area of window) and/or, you want a different 'look'
 

bcoyle

Member
I've been using OBS to stream music for a few weeks now and I'm trying to find a way to automatically display the song title on my stream based on a playlist I've created. I've been manually changing the title for each song, but is there a feature or plugin that can automate this process or allow for scheduled title changes? Thanks for any help!
Why would you want to change the titles?
 

bcoyle

Member
I believe he means he has a Text box (or similar/overlay), which he manually updates with current song title. and he's looking to automate that Song Title 'update'/display
GOTTA. thought he meant the file path names. if files are local, then piece of cake for casttor. If you modify the file name with "[title = " , then casttor can read this and connect it with a screen source.
 

deaneeBoi

New Member
I have a similar requirement. We are a radio station that records all live shows for use as Auto DJ for when a live DJ isn't available. Currently when a replay is active via "Media playlist Source" it plays out as if we are live. what I want it a plugin that will take the filename of the recording (DJ Name- Day - Month -Year) and display this info on screen. Can anyone assist my please?
 

bcoyle

Member
I have a similar requirement. We are a radio station that records all live shows for use as Auto DJ for when a live DJ isn't available. Currently when a replay is active via "Media playlist Source" it plays out as if we are live. what I want it a plugin that will take the filename of the recording (DJ Name- Day - Month -Year) and display this info on screen. Can anyone assist my please?
Are you using Media playlist Source to record a new version of the file or is this part of Media playlist Source playing on obs and streaming. Also, are you a linux guy?
 

deaneeBoi

New Member
Are you using Media playlist Source to record a new version of the file or is this part of Media playlist Source playing on obs and streaming. Also, are you a linux guy?
So I tried to use VLC player to hold our recorded content and use it to replay but it kept on freezing.

Heres what happens now:
DJ connects to live stream his show
Advanced scene switcher tells OBS to record and save the file in our "Music" folder
DJ Disconnects and recording stops
NOALBS then switches to "Auto DJ" where the recorded shows will replay using Media Playlist Source.

I have tried Tuna but it refuses to work using anything other than VLC which I refuse to use.

I'm on a Windows Virtual machine
 

bcoyle

Member
I've been using OBS to stream music for a few weeks now and I'm trying to find a way to automatically display the song title on my stream based on a playlist I've created. I've been manually changing the title for each song, but is there a feature or plugin that can automate this process or allow for scheduled title changes? Thanks for any help!
what do you do for the video part if you are just streaming music?
 

AaronD

Active Member
...VLC which I refuse to use.
Why? I've never had a need for it inside of OBS, even though I do have that source available, but it *is* my primary (almost only) player otherwise.

"Refusal" suggests to me either an arbitrary tribal loyalty sort of thing, or something happened to put you off.
 

bcoyle

Member
So I tried to use VLC player to hold our recorded content and use it to replay but it kept on freezing.

Heres what happens now:
DJ connects to live stream his show
Advanced scene switcher tells OBS to record and save the file in our "Music" folder
DJ Disconnects and recording stops
NOALBS then switches to "Auto DJ" where the recorded shows will replay using Media Playlist Source.

I have tried Tuna but it refuses to work using anything other than VLC which I refuse to use.

I'm on a Windows Virtual machine
Am I understanding this right?

1. You have a lot of DJ's
2. Where do they connect to? what obs source type are you using to record.
3. NOALBS detects end of stream and switches scene/sources to the scene-source that has Media Playlist Source. It starts running from it's list.
4 .ok, it get it, Media Playlist Source can't overlay the file decoded dj name and date.

Maybe you could get the owner of Media Playlist Source to add an option where it puts the name of the current played video in a KNOWN OR SPECIFIED text file. OBS automatically detects changes in text file and updates a text source. This would be a great feature. Also, OBS sends a status message out on the websocket when it starts a new mp4.
 
Last edited:

deaneeBoi

New Member
Yes, we have 26 DJs. I’ve used python and advanced filename plugin to identify these on the recording but what we need now is that info to be displayed whist the recording is being replayed.

I have reached out to the owner of media playlist source but with no response as yet.
 

deaneeBoi

New Member
Yes, we have 26 DJs. I’ve used python and advanced filename plugin to identify these on the recording but what we need now is that info to be displayed whist the recording is being replayed.

I have reached out to the owner of media playlist source but with no response as yet.
The DJs are mainly UK but we do have a number of overseas DJs too.

They connect using RTMP via NOALBS and we use a media source for their output and recordings
 

deaneeBoi

New Member
Why? I've never had a need for it inside of OBS, even though I do have that source available, but it *is* my primary (almost only) player otherwise.

"Refusal" suggests to me either an arbitrary tribal loyalty sort of thing, or something happened to put you off.
Hi,

Yes, every time we used VLC player for replays it would freeze and I’d wake up in the morning to a silent radio station and would have to log in to restart it.

I’ve (touch wood) never had the issue with media playlist source.
 

bcoyle

Member
Hi,

Yes, every time we used VLC player for replays it would freeze and I’d wake up in the morning to a silent radio station and would have to log in to restart it.

I’ve (touch wood) never had the issue with media playlist source.
Do the Dj's have a time slot, say 9 to 9:30 am, i.e. do we know how much time they are going to be on air? Does NOALBS detect when a new DJ starts to broadcast and then switch back to that channel, so that everything is sort of dynamic.? Basically, you are just playing mp3s, no video? i.e. are you recording the image of the dj, along with the music?
 
Last edited:

bcoyle

Member
Yes, we have 26 DJs. I’ve used python and advanced filename plugin to identify these on the recording but what we need now is that info to be displayed whist the recording is being replayed.

I have reached out to the owner of media playlist source but with no response as yet.
Do you break each DJ session into clips, with the song name - etc, or do you just want the dj name, date but no song names?
 
Top