06 Mar 2011

Prototype: Reading Metadata from a Shoutcast Stream (First Attempts)

4 Comments Programming / Web Development

As a programmer, I listen to a lot of techno music. Recently, I began wondering if it’d be possible to parse the data from the Shoutcast streams using PHP just like Winamp or Rythmbox. So far, I haven’t been very successful. For now, I’m going to dump what code I have in attempt to chronicle where I’m at with this project as well as put the word out to there and see if anyone can help me out. Read more

26 Feb 2011

Add Event Listeners to ‘Play’ and Other Media Events Using Sencha Touch

4 Comments Code Snippets, Programming / Web Development

Recently, I was working on a side-project that involved allowing the user to press play and listen to a sample track from a list of tracks on their iPhone. While this functionality works great when the user is on WiFi, the delay between pressing ‘Play’ and hearing the song on a 3G connection makes the application feel sluggish and non-responsive. My first idea was to add an event listener to the ‘play’ event (or something similar) and show / hide some sort of loading message when the user selects ‘play’. Unfortunately, the Sencha Touch API doesn’t support any such event. However, there is a way around this. Read more