Your Time:
Our Time:
← Back to discussions

help about : Child template / stream.m3u / Last songs played

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 11 replies, 4 voices, and was last updated 12 years, 7 months ago by Fem.

  • 2014-01-09 at 6:35 pm
    Support Expired
    #2038
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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 !

    2014-01-09 at 8:07 pm
    #2041
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    Its now closing time today so we will look into your issues tomorrow morning.

    2014-01-10 at 5:37 am
    Support Expired
    #2051
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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&#8217;); ?>

    2014-01-10 at 5:42 am
    Support Expired
    #2052
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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&#8221;);
    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>

    2014-01-10 at 11:22 pm
    Support Expired
    #2080
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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.

    2014-01-11 at 12:30 am
    Unknown Support Status
    #2083
    riedel
    Participant
    • Topics: 2
    • Replies: 13
    • Total posts: 15
    • Post count: 15

    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.

    • This reply was modified 12 years, 7 months ago by riedel. Reason: wrong
    2014-01-11 at 1:26 am
    Support Expired
    #2085
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    Damn thanks !

    Indeed, I messed up with the whole IP / Domain.. graouw ! The stream part works now fine, thank you !

    2014-01-11 at 8:09 pm
    Support Expired
    #2123
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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 !

    2014-01-11 at 8:38 pm
    #2125
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    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.

    2014-01-11 at 9:04 pm
    Support Expired
    #2126
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    oki thanks, anyway 🙂

    So If I just use the theme the way it is, using only the options, add pictures, text, etc.. it shouldn’t supposed to altern my site on each update ? Coll

    Thank you for the 1.7 update

    • This reply was modified 12 years, 7 months ago by Fenrilh.
    2014-01-11 at 9:05 pm
    Support Expired
    #2127
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    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 !

    http://horizon42.playtheradio.com/

    2014-01-12 at 2:50 pm
    #2145
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Yes its a great feature we will check if it can be implemented but no commitment.

You must be logged in to reply to this topic.