<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
On 05/22/2013 12:57 PM, Assen Totin wrote:<br>
</div>
<blockquote
cite="mid:CAMrYpX54_VFT1sPSVbGLLTs5N3S5_fo91hspZNU49bxkmUUeHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div>
<div>Hi, Emilis, <br>
<br>
</div>
I have two working Icecast players which implement
client-side parsing of yp.xml and searching then through
it: [...]<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
The idea is to finally offer a better API towards the data. Also to
reduce the bandwidth usage. The XML file causes a LOT of traffic,
especially as many clients don't implement HTTP compression. :-(<br>
This is also bad for users as they have to wait longer for:<br>
- a large download (700k compressed, 7MByte uncompressed)<br>
- parsing of the full XML file<br>
<br>
Whereas this could be broken down into only delivering the necessary
data. More requests, less total transfer volume.<br>
<br>
<blockquote
cite="mid:CAMrYpX54_VFT1sPSVbGLLTs5N3S5_fo91hspZNU49bxkmUUeHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On 22 May 2013 15:13, "Thomas B.
Rücker" <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:thomas@ruecker.fi" target="_blank">thomas@ruecker.fi</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 05/17/2013 12:12 PM, Emilis Dambauskas wrote:<br>
> I have pushed my radio player for FxOS to GitHub:<br>
> <a moz-do-not-send="true"
href="https://github.com/emilis/worldradioplayer"
target="_blank">https://github.com/emilis/worldradioplayer</a><br>
<br>
Finally got around to cloning your repo and pushing the
app to my Unagi.<br>
Simple and functional. I like that.<br>
Once you get access to a larger list you'll have to
accommodate some<br>
filtering though.<br>
<br>
> Currently it uses a precompiled data from <a
moz-do-not-send="true"
href="http://dir.xiph.org/yp.xml" target="_blank">http://dir.xiph.org/yp.xml</a>:<br>
> <a moz-do-not-send="true"
href="https://raw.github.com/emilis/worldradioplayer/master/static/js/data/xiph.org.stations.json"
target="_blank">https://raw.github.com/emilis/worldradioplayer/master/static/js/data/xiph.org.stations.json</a><br>
><br>
> I will have to switch to asynchronous station list
loading and filtering<br>
> in the near future and then will nag you again
about the JSON API :-).<br>
<br>
Yeah, I'll try to work something out for you to play
with soon.<br>
It will be experimental for now, so that nobody comes
after me if I<br>
break their app by changing the API here or there to
improve it or<br>
reduce the system load on the database.<br>
<br>
> Thank you very much for your help!<br>
<br>
You're welcome. I'm happy, that finally Firefox and
Icecast start to go<br>
hand in hand.<br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Cheers<br>
<br>
Thomas<br>
</body>
</html>