Nowplaying track in embedded container
Nowplaying track in embedded container
I use a php script to display the current playing track, and also the albumart with it.
All works ok, exept when i use an embedded containter. Than it displays embedded container.
I know that it is possible within a stream, but why doesn't it work in my liveassist mode?
Thanx
Friso
All works ok, exept when i use an embedded containter. Than it displays embedded container.
I know that it is possible within a stream, but why doesn't it work in my liveassist mode?
Thanx
Friso
Re: Nowplaying track in embedded container
From where is your PHP script getting its data?
What is your PHP script doing? And why do you believe, that this is a ProppFrexx issue?
What do you mean by "it is possible within a stream, but why doesn't it work in my liveassist mode"?
Also check the general settings, section 'Streaming' to enable the 'Streaming Option' called 'Use Embedded Container Tracks' - if that is what you are looking for.
What is your PHP script doing? And why do you believe, that this is a ProppFrexx issue?
What do you mean by "it is possible within a stream, but why doesn't it work in my liveassist mode"?
Also check the general settings, section 'Streaming' to enable the 'Streaming Option' called 'Use Embedded Container Tracks' - if that is what you are looking for.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Nowplaying track in embedded container
Bernd
I hope this example gives a clear picture of what i am trying to explain.
When i start manually a track let's say in player A, then the track data artist - Title is written to a php file.
So far everything is good.
Now i create an embedded container with a jingle an a track.
After starting the artis - Title has the name embedded track and there is (of course) no album art.
So what i want is that the it solves the track data out of the embedded container.
Als the option "Use Embedded Container Tracks" is enabled.
I hope now my problem is clear.
I hope this example gives a clear picture of what i am trying to explain.
When i start manually a track let's say in player A, then the track data artist - Title is written to a php file.
So far everything is good.
Now i create an embedded container with a jingle an a track.
After starting the artis - Title has the name embedded track and there is (of course) no album art.
So what i want is that the it solves the track data out of the embedded container.
Als the option "Use Embedded Container Tracks" is enabled.
I hope now my problem is clear.
Re: Nowplaying track in embedded container
Bernd
Did you see my reply above. I hope you understand my problem
Here you have my php script which i use for now playing.php
<meta http-equiv="refresh" content="15"><table border=0><tr style="font-size: 7.5pt; font-family: 'calibri';color:#000"><td><?php echo "<img src=data:image/jpg;base64,${currentalbumart} width='100' height='100' border='0' title='${currenttrackname}' >"; ?></td>
<td>NU in De Muziekavond<br><br>${currenttrackname}</td></tr></table><table width="260" border="0"><tr style="font-size: 7.5pt; font-family: 'calibri';color:#CCC"><td>${currentmoderatortext}</td></tr></table>
And here you have my command i use to write to the file.
OnDJAPlay EXEC_WRITE_PLAYLISTFILE \\ds713\web\frisotrip.nl\nowplaying.php|c:\nowplaying.php
Did you see my reply above. I hope you understand my problem
Here you have my php script which i use for now playing.php
<meta http-equiv="refresh" content="15"><table border=0><tr style="font-size: 7.5pt; font-family: 'calibri';color:#000"><td><?php echo "<img src=data:image/jpg;base64,${currentalbumart} width='100' height='100' border='0' title='${currenttrackname}' >"; ?></td>
<td>NU in De Muziekavond<br><br>${currenttrackname}</td></tr></table><table width="260" border="0"><tr style="font-size: 7.5pt; font-family: 'calibri';color:#CCC"><td>${currentmoderatortext}</td></tr></table>
And here you have my command i use to write to the file.
OnDJAPlay EXEC_WRITE_PLAYLISTFILE \\ds713\web\frisotrip.nl\nowplaying.php|c:\nowplaying.php
Re: Nowplaying track in embedded container
I am afraid that this is currently not possible.
I am also not sure, if it will be possible in the future.
As what ${currenttrackname}, title or ${currentmoderatortext} or even what album-art should be used, if the container contains e.g. 5 tracks?
Note, that you can well give a container a new title, artist etc. - just use the tag editor to do so...the name 'Embedded Container' is just the initial/default title being used.
I am also not sure, if it will be possible in the future.
As what ${currenttrackname}, title or ${currentmoderatortext} or even what album-art should be used, if the container contains e.g. 5 tracks?
Note, that you can well give a container a new title, artist etc. - just use the tag editor to do so...the name 'Embedded Container' is just the initial/default title being used.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Nowplaying track in embedded container
Bernd
But how is it possible that in nonstop modus i can use an embedded container and than the track in that container is parsed correctly.
I us the embedded container in live assist modus to combine a promo--jingle--track. To rename this container takes too much time when doing a live show.
In playerA for example you can see whats in the container so maybe it is possible to filter out the current track in that container and parse it thrue?
Friso
But how is it possible that in nonstop modus i can use an embedded container and than the track in that container is parsed correctly.
I us the embedded container in live assist modus to combine a promo--jingle--track. To rename this container takes too much time when doing a live show.
In playerA for example you can see whats in the container so maybe it is possible to filter out the current track in that container and parse it thrue?
Friso
Re: Nowplaying track in embedded container
It would also not be possible in 'nonstop'/automatic mode. And I can not see how that should work!
How do you create the embedded container in nonstop mode? Must be as in a script-line. Maybe you give an explicit title there?!
Else it would not be possible.
Also note, that you are using the specific 'OnDJAPlay' - what if the container is played in nonstop mode via DJB ?
How do you create the embedded container in nonstop mode? Must be as in a script-line. Maybe you give an explicit title there?!
Else it would not be possible.
Also note, that you are using the specific 'OnDJAPlay' - what if the container is played in nonstop mode via DJB ?
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Nowplaying track in embedded container
Bernd
I'm still not satisfied with the answer above.
Why can proppfrexx parse corectly a track that's in an embedded container thrue the stream, and not thrue a normal embedded container.
Can i use then a command that parses the tracks in an embedded container the same as it does in streaming.
See the setting "Streaming options---Use embedded container tracks" because that's just what i need in a live assist situation.
Friso
I'm still not satisfied with the answer above.
Why can proppfrexx parse corectly a track that's in an embedded container thrue the stream, and not thrue a normal embedded container.
Can i use then a command that parses the tracks in an embedded container the same as it does in streaming.
See the setting "Streaming options---Use embedded container tracks" because that's just what i need in a live assist situation.
Friso
Re: Nowplaying track in embedded container
Because the two functions are totally different things.
The one you are using is a macro in a playlist template file which is replaced by the tracks contained in the playback history. This is a non real time function internally and doesn't know anything about embedded items anymore.
The other is a streaming function which is a real time function and which is being triggered directly by the DJ Players and these are the only elements which know details about embedded containers.
So you might also use the global Streaming.OnSongTitleChanged event to update you web, eg via HTTP GET or POST commands. In that case you will also get the details about embedded tracks.
But the playlist history function doesn't know about this and as such can not resolve embedded content.
The one you are using is a macro in a playlist template file which is replaced by the tracks contained in the playback history. This is a non real time function internally and doesn't know anything about embedded items anymore.
The other is a streaming function which is a real time function and which is being triggered directly by the DJ Players and these are the only elements which know details about embedded containers.
So you might also use the global Streaming.OnSongTitleChanged event to update you web, eg via HTTP GET or POST commands. In that case you will also get the details about embedded tracks.
But the playlist history function doesn't know about this and as such can not resolve embedded content.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Nowplaying track in embedded container
Bernd
I understand what you mean. But now i'm thinking....... If i look in a player that has an embedded container loaded, i can see what's in it.
Also i can see i little arrow before it pointing to the currently playing track in that container. So one way or another it knows what is playing at the moment.
So isn't it possible that ther will be a macro or command to pull out that info to give me the now playing info i need to display on my website.
Thanx
Friso
I understand what you mean. But now i'm thinking....... If i look in a player that has an embedded container loaded, i can see what's in it.
Also i can see i little arrow before it pointing to the currently playing track in that container. So one way or another it knows what is playing at the moment.
So isn't it possible that ther will be a macro or command to pull out that info to give me the now playing info i need to display on my website.
Thanx
Friso