[Icecast-dev] Radio player for FirefoxOS

Assen Totin assen.totin at gmail.com
Wed May 22 05:57:49 PDT 2013

Hi, Emilis,

I have two working Icecast players which implement client-side parsing of
yp.xml and searching then through it:

- Python, can either transform the yp.xml into SQLite database and then
search inside, or can store the yp.xml locally and transfer in into DOM,
then search it.

- Java (Android), same algorithm as Python but only the SQLite version.
Originally was done in DOM (fast parsing, but uses too much memory), then
switched to SAX (slow parsing, but works always).

Feel free to use ideas and/code. If help is needed, let me know.



On 22 May 2013 15:13, "Thomas B. Rücker" <thomas at ruecker.fi> wrote:

> Hi,
> On 05/17/2013 12:12 PM, Emilis Dambauskas wrote:
> > I have pushed my radio player for FxOS to GitHub:
> > https://github.com/emilis/worldradioplayer
> Finally got around to cloning your repo and pushing the app to my Unagi.
> Simple and functional. I like that.
> Once you get access to a larger list you'll have to accommodate some
> filtering though.
> > Currently it uses a precompiled data from http://dir.xiph.org/yp.xml:
> >
> https://raw.github.com/emilis/worldradioplayer/master/static/js/data/xiph.org.stations.json
> >
> > I will have to switch to asynchronous station list loading and filtering
> > in the near future and then will nag you again about the JSON API :-).
> Yeah, I'll try to work something out for you to play with soon.
> It will be experimental for now, so that nobody comes after me if I
> break their app by changing the API here or there to improve it or
> reduce the system load on the database.
> > Thank you very much for your help!
> You're welcome. I'm happy, that finally Firefox and Icecast start to go
> hand in hand.
> Cheers
> Thomas
> _______________________________________________
> Icecast-dev mailing list
> Icecast-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20130522/ef403592/attachment.htm 

More information about the Icecast-dev mailing list