jaminguy/JGMediaPicker — pull request #10 by simontoens (2012-05-17 04:50:32+00:00)
Title: Cleanup/improve on previous change - optionally disallow picking non playable items.

Hi Jamin, this is a cleanup of my previous change that you pulled. Thanks for the great picker!

Cleanup of previous change relating to not allowing selection of non-playable songs:
1) Make this behaviour optional based on property allowSelectonOfNonPlayableItem. Default the property to YES to preserve previous behavior.
2) Reuse already existing code to determine song playability.
3) If allowSelectonOfNonPlayableItem is NO, set non-playable songs to not selectable and grey them out.