This topic has 11 replies, 4 voices, and was last updated 12 years, 7 months ago by Fem.
Viewing 12 posts - 1 through 12 (of 12 total)
Hi ! I purchased this great template, and am creating my first web page on the web ! So I could have a lot of newbie question, but still would just ask one or two :
I use dreamhost with an automatic wp 3.8 on it, and just uploaded your theme I will now adapt to myself.
Updating WP &/or Musicplay
If there is an update WP and/or your template.. at what time will I be force to “make it all” again from start, erasing my changes ? If I use widget, change the Musicplay Theme etc.
I have heard of “child templates” but have no clue what it is, and if it is interesting in my case ? I don’t know in chich case I should use the Child theme.
Player & streamed m3u file !
I tried to convert my radionomy link into an IP/Domain, but couldn’t figure out what is asked to provided as a link ! http://listen.radionomy.com/horizon42.m3u is my own link, and 31.12.64.24/web106.radionomy.net what I think you asked for…but it doesnt work ! So I must be wrong !
Last songs played
And last question : anyway to get a (for example) last 5 songs list that was just played by the .m3u radio player?
Thanks for the help !!! Great Template by the way !
Its now closing time today so we will look into your issues tomorrow morning.
For the five songs, I try to insert this in the “Teaser”, or in a “Post” page but it doesnt convert !
<?php require_once(‘http://horizon42.dreamhosters.com/Tracklist/call_api.php’); ?>
and this to put it in form
<?php
// All settings now in call_api.php, download from http://board.radionomy.com/
// Script by Jamie Welch
?>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<link rel=”stylesheet” href=”style.css” type=”text/css”>
<div class=”main”>
<div class=”inner”>
<h3>Last 50 Songs Played</h3>
<div style=”text-align:center; padding-left:10px; margin-top:20px;”>
<!–?php
$xml = @simplexml_load_file(“http://mysite.com/cache/tracklist/call_api.php”);
if($xml){
echo ‘<table–>’;
foreach ($xml->track as $value){
print “”.$value->title.””;
print $value->artists.””;
}
echo ”;
}
else{
echo ‘Error with the call_api.php!’;
}
?>
</div>
</div>
</div>
About the m3u stream from radionomy I still cant launch..
Here is what I found :
http://streaming202.radionomy.com/Horizon42?group=0&countrycode=BE&similarprocess=0&crashed=0
This must be the stream link
Also, I think it is 31.12.64.202:51640
The port as been found on my Radionomy personnal page settings, but I don’t know if it for any use, or just for a “live feature” which I don’t use yet.
Radionomy works very simply.
Simply remove the end links .M3U
In your case, you need to use here is a link to player:
http://listen.radionomy.com/horizon42
Anyway, works for me that way.
Sorry but still have two questions in the post :
– is Child theme advised anyway ? I don’t understand at which point of ‘customizing’ your theme, Child theme should be considered !
– I can’t activate this code to get a list of the previous songs :
(this is the call)
<?php require_once(‘http://horizon42.dreamhosters.com/Tracklist/call_api.php’); ?>
(This is the way it will customize the info on the page)
<?php
// All settings now in call_api.php, download from http://board.radionomy.com/
// Script by Jamie Welch
?>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<link rel=”stylesheet” href=”style.css” type=”text/css”>
<div class=”main”>
<div class=”inner”>
<h3>Last 50 Songs Played</h3>
<div style=”text-align:center; padding-left:10px; margin-top:20px;”>
<!–?php
$xml = @simplexml_load_file(“http://mysite.com/cache/tracklist/call_api.php”);
if($xml){
echo ‘<table–>’;
foreach ($xml->track as $value){
print “”.$value->title.””;
print $value->artists.””;
}
echo ”;
}
else{
echo ‘Error with the call_api.php!’;
}
?>
</div>
</div>
</div>
Thank you !
You want to alter any files inside the parent theme including style.css file you need to use child theme as child theme inherits the functionality of parent theme.
I don’t have any idea about the calling for the API you shown.
By the way : for the five last song list, the code I gave (for me only of course) is suppose to give something like this “Derniers morceaux joués” which is a great feature !
Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.