unholyknight/SoundCloud-Latest-Tracks-for-Google-Chrome — pull request #1 by adammw (2011-12-26 12:08:55+00:00)
Title: Allow playing hot or recent tracks instead of incoming tracks

Adds a separate track type option which stores key names ("incoming", "hot" or "recent") in localStorage.type.
The type is then mapped to a URL (including parameters, terminated with a ?) by trackTypeMapping object in background.js.
Because track feeds don't have the same layout as the affiliated/incoming tracks, it checks if the response is an array or not of whether to use the collection/origin parameters.
Also adds a filter to streamable only files, so no errors are generated when attempting to play unstreamable tracks, however this may want to be optional for the incoming tracks scenario.