Streampad v2 Update [June 15, 2013]
Short explanation: If you have the Safari or Opera browser, Streampad v2 should now work properly for you! woot!
I also added a counter for how many songs have loaded so far to the 'Loading Audio Posts...' indicator so that people with large playlists (like thousands of songs) won't be wondering if their player is stuck or something.
Get the updated Streampad v2 here
---
Long explanation:
Spent the morning trying to debug streampad on Safari and Opera to figure out why it kept getting stuck at "Loading Audio Posts...", but after visiting the page again it would work, and the songs (which were now in browser cache) would start playing. Turns out it was an error on part when I started removing the scripts which were dynamically loaded via appending. Basically for every 20 or 50 chunk sets of songs on your blog, you request some information from tumblr's servers (via their API) to get things like the song URL, the title, artist, # of plays, etc. and this information is basically thrown into an invisible part of your blog page. However, to prevent clutter I tried to remove this 'pasted' information after all the songs were done loading, but apparently Opera and Safari didn't like it. They couldn't build a playlist without the information staying on the page, as opposed to Firefox and Chrome which could. So to fix it for these two browsers, I disabled the function to clean up this excess information which will just sit on your blog invisibly and do nothing. I don't think you'll notice any difference, but yeah that's so far as the explanation goes.









