Centova Technologies Forum
Centova Cast v3 => General discussion => Topic started by: djstream on January 13, 2017, 04:30:14 pm
-
Hello everyone!
I want to get the current song in a link.
This is what I want:
Htttp://www.mywebsite.com/song=Artist - Name of song
I've been trying to get this for several days. But I'm not good with the code. :)
-
nobody?
-
Why not use the widgets built into centova?
Try the "Stream Status Summary" widget.. pretty sure that will do exactly what you're looking to do.
-
Hi @Mr_NightRyder,
Thanks for your answer.
That's right, I know this widget. But I need to get this information in a link, such as;
http://www.mywebsite.com/song=here-the-song-artist-and-title
I want to get this link in the index.tpl (main page of the Centovacast panel).
Problem?
The template is a tpl file, which does not support php.
I can do this, for example;
Assuming (for example) that the artist and the title of the song are contained in a variable:
$song
In php it is possible to do this;
http://www.mywebsite.com/<?php echo $song; ?>
How to get the same result on Centovacast? :)