[Icecast-dev] Radio player for FirefoxOS
assen.totin at gmail.com
Wed May 22 05:57:49 PDT 2013
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:
> 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:
> > 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.
> Icecast-dev mailing list
> Icecast-dev at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast-dev