Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2010
    Posts
    2,956
    Tokens
    7,870

    Latest Awards:

    Default Radio player auto refresh?

    I have a problem with a web player for my station.

    While we have studio presenters we have also online ones - when a presenter disconnects and another connects if the two are using different bitrates the listeners will have jumpy music with the new presenter until they refresh their player.

    I remember we had someone fix this with my old station by making the web player automatically refresh when it detected a disconnect however we haven't been able to get this working with the new web player.

    Anyone got any ideas? I'll rep anyone for helping!

    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    Dublin, Ireland.
    Posts
    13,083
    Tokens
    2,964
    Habbo
    Yet

    Latest Awards:

    Default

    Quote Originally Posted by peteyt View Post
    I have a problem with a web player for my station.

    While we have studio presenters we have also online ones - when a presenter disconnects and another connects if the two are using different bitrates the listeners will have jumpy music with the new presenter until they refresh their player.

    I remember we had someone fix this with my old station by making the web player automatically refresh when it detected a disconnect however we haven't been able to get this working with the new web player.

    Anyone got any ideas? I'll rep anyone for helping!

    Thanks

    Would you not just delay the radio by like 50secs? that way even it gives the presenters that long to connect, they don't need the same bitrate and there will be no buffer. Forget how to do it now. I'm pretty sure it'd something to do with your hosts end.
    ofwgktadgaf

  3. #3
    Join Date
    Apr 2010
    Posts
    2,956
    Tokens
    7,870

    Latest Awards:

    Default

    Quote Originally Posted by Yet View Post
    Would you not just delay the radio by like 50secs? that way even it gives the presenters that long to connect, they don't need the same bitrate and there will be no buffer. Forget how to do it now. I'm pretty sure it'd something to do with your hosts end.
    Not too sure what you mean. We can do a countdown and give them so long to connect the problem is that once they have swapped over the player will buffer till a refresh. We basically want it to go from one show to another without the listeners having to refresh themselves

  4. #4
    Join Date
    Jul 2008
    Location
    Dublin, Ireland.
    Posts
    13,083
    Tokens
    2,964
    Habbo
    Yet

    Latest Awards:

    Default

    Quote Originally Posted by peteyt View Post
    Not too sure what you mean. We can do a countdown and give them so long to connect the problem is that once they have swapped over the player will buffer till a refresh. We basically want it to go from one show to another without the listeners having to refresh themselves
    No but I mean basically delay the radio so when ppl listen in they're a few mins behind so if there is any connection issues it wouldn't buffer.
    ofwgktadgaf

  5. #5
    Join Date
    Apr 2010
    Posts
    2,956
    Tokens
    7,870

    Latest Awards:

    Default

    Quote Originally Posted by Yet View Post
    No but I mean basically delay the radio so when ppl listen in they're a few mins behind so if there is any connection issues it wouldn't buffer.
    Our station is usually delayed anyway's but does seem to buffer still. Is there a way to make sure there is a delay?

  6. #6
    Join Date
    Jul 2008
    Location
    Dublin, Ireland.
    Posts
    13,083
    Tokens
    2,964
    Habbo
    Yet

    Latest Awards:

    Default

    Quote Originally Posted by peteyt View Post
    Our station is usually delayed anyway's but does seem to buffer still. Is there a way to make sure there is a delay?
    I remember speaking to my shoutcast host about it and they sorted it, not sure how though pal sorry.
    ofwgktadgaf

  7. #7

    Default

    Enforce your DJ's to use the same bitrate. It's what all the big radio's do

  8. #8
    Join Date
    May 2011
    Location
    England
    Posts
    427
    Tokens
    3,403
    Habbo
    Pension

    Latest Awards:

    Default

    Place this code on the same page as the radio player, will refresh every X amount of seconds:
    PHP Code:
    <?php
        $page 
    $_SERVER['PHP_SELF'];
        
    $sec "X"// edit the value to how many seconds
        
    header("Refresh: $sec; url=$page");
    ?>

    robbie // pension.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •