| View previous topic :: View next topic |
| Author |
Message |
PsYhO
Joined: 29 Jul 2009 Posts: 27
|
Posted: Tue Dec 28, 2010 12:51 am Post subject: Relay works without metadata |
|
|
| Im using "Specific Mountpoint Relay", and relay works, but without metadata. Both servers are Icecast. Ive searched forum, google, icecast documentation, and havent found anything that can help me to solve my problem. Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Dec 28, 2010 1:27 am Post subject: |
|
|
you need to determine if metadata inserts are disabled at the master and whether there is metadata. Those are the only reasons why metadata will not be transferred to the slave. Check the logs as well.
karl. |
|
| Back to top |
|
 |
PsYhO
Joined: 29 Jul 2009 Posts: 27
|
Posted: Tue Dec 28, 2010 10:46 am Post subject: |
|
|
| karlH wrote: |
you need to determine if metadata inserts are disabled at the master and whether there is metadata. Those are the only reasons why metadata will not be transferred to the slave. Check the logs as well.
karl. |
there is metadata, i can see it on status page of the relayed server. how can i check are the meta data inserts disablad? also, does server needs to be public or not? also, where can i change the update period of 120s.
ive set that relay with the next settings, on my main server
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
ofc, ive entered correct ip ,port, and mount point data i my config .
it works, but cannot se metadata on the relaying server.
thanks karl! |
|
| Back to top |
|
 |
PsYhO
Joined: 29 Jul 2009 Posts: 27
|
Posted: Tue Dec 28, 2010 11:18 am Post subject: |
|
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
this tag solved my problem!
i havent used it, 'cos i taught that it should only be used when using shoutcast . but ok, it works now! thanks karl!
please tell me, on what server and where should i change "timeout" period of 120s. because , if i restart relayed server, it will be down for 2minutes on the main server, and after that will continue being relayed.
thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Dec 28, 2010 4:18 pm Post subject: |
|
|
the tag is named for requesting the metadata inserts that shoutcast defined a long time ago, icecast maintains that because it fits with what many players expect.
The default <master-update-interval> setting of 120 is what you want to change.
karl. |
|
| Back to top |
|
 |
PsYhO
Joined: 29 Jul 2009 Posts: 27
|
Posted: Wed Dec 29, 2010 10:24 am Post subject: |
|
|
its working! thanks karl!
one more thing, is it ok to set that interval to 10s or less? if i make it to update more often, does it take more resources, or its the same? thanks ! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 29, 2010 12:58 pm Post subject: |
|
|
it won't take more resources, it just increases the polling frequency, so a minor increase in bandwidth and some minor work on the servers involved.
karl. |
|
| Back to top |
|
 |
|