Question about MODStream Artist - Title

You have a question or need an advice about how to do something? Ask it here!
Post Reply
rhroy
Posts: 8
Joined: 31 Dec 2022 09:33
Question about MODStream Artist - Title

Post by rhroy »

Hi Bernd,

I was trying to find where I can retieve the Artist Title from the MODStream URL that is currently connected.
In MODStream I can see the Artist - Title being updated and I want to use that data for further processing.

My template file looks like this:
{
"playing": {
"id": "${cpltrackguidcurrent}",
"title": "${cpltracktitlecurrent}",
"artist": "${cpltrackartistcurrent}",
"base64": "${cpltrackalbumartcurrent}",
"modstreamurl": "${modstreamurl}",
"modstreamstatus": "${modstreamstatus}",
"modstreamisplaying": "${modstreamisplaying}"
}
}

I tried searching in the docs and found these:
${modstreamstatus} : the MODStream player status (None,Paused,ConnectedWaiting,Playing)
${modstreamstatusid} : the MODStream player status (0,1,2,3,4)
${modstreamisrunning} : is the MODStream player running (1/True, 0/False)
${modstreamisplaying} : is the MODStream player playing (1/True, 0/False)
${modstreamurl} : the currently used MODStream Url

I was then expecting maybe a modstreamartist and modstreamtitle exist.

Perhaps i'm missing something or have something misconfigured.

Kind regards,
Roy
Attachments
Screenshot Proppfrexx Trigger.png
Screenshot ProppFrexx.png
User avatar
radio42
Site Admin
Posts: 9142
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Question about MODStream Artist - Title

Post by radio42 »

The regular ${artist} and ${title} should Sontheim job.
rhroy
Posts: 8
Joined: 31 Dec 2022 09:33
Re: Question about MODStream Artist - Title

Post by rhroy »

I would expect so, interestingly enough it does send it directly to the stream servers (shoutcast & azuracast) properly with ${artist} - ${title}.

Is there something I can test?

The ProppFrexx version I currently have installed is: 4.4.4.1
User avatar
radio42
Site Admin
Posts: 9142
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Question about MODStream Artist - Title

Post by radio42 »

You must use the Streaming.OnSongTitleChanged event.
rhroy
Posts: 8
Joined: 31 Dec 2022 09:33
Re: Question about MODStream Artist - Title

Post by rhroy »

I will try that with the next livestream.

Post Reply