<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thank you very much Philipp!</p>
<p><br>
</p>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://dir.xiph.org/">http://dir.xiph.org/</a> says "Total streams: <strong>18963</strong>" but yp.xml is only 10773 streams:
</pre>
<p><br>
</p>
<p>xmllint yp.xml | grep "server_name" >> streams.txt<br>
cat streams.txt | wc -l</p>
<p>10773<br>
</p>
<br>
<p>Why is yp.xml 8190 (<strong>18963</strong><strong>-</strong>10773)
streams short?<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2017-09-20 16:21, Philipp Schafft
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1505917317.11500.48.camel@de.loewenfelsen.net">
<pre wrap="">Good evening,
On Wed, 2017-09-20 at 07:54 +0200, David Hedlund wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I wrote this issue earlier for radio-browser.info: Import 20,000 steams
from the Icecast Radio Directory -
<a class="moz-txt-link-freetext" href="https://github.com/segler-alex/radiobrowser-api/issues/31">https://github.com/segler-alex/radiobrowser-api/issues/31</a>
radio-browser.info publish the latest database
(<a class="moz-txt-link-freetext" href="http://www.radio-browser.info/backups/latest.sql.gz">http://www.radio-browser.info/backups/latest.sql.gz</a>) and you are free
to use it. Do you also publish the database used for <a class="moz-txt-link-freetext" href="http://dir.xiph.org/">http://dir.xiph.org/</a>?
</pre>
</blockquote>
<pre wrap="">
The database for the directory service is kind of just a cache. All the
data within are refreshed all the time. entries have a maximum age of
about 20minutes. That is the rebuild time of the directory.
You can access the current content via: <a class="moz-txt-link-freetext" href="http://dir.xiph.org/yp.xml">http://dir.xiph.org/yp.xml</a>
But please do not request that file too often as it's heavy.
Hope that helps you.
With best regards,
</pre>
</blockquote>
<br>
</body>
</html>