blaenk / difm

The DI.FM iPhone Streaming App

Home Page:http://www.blaenkdenum.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a favoriting feature

blaenk opened this issue · comments

The player view sould have an empty star or heart, clicking on it should fill it or color it. What this will do is add the song name (Artist and Title) to a favorites database categorized by genre/channel. Whenever the same song plays again, the heart or star will be filled, and perhaps the DI.FM logo will glow.

Perhaps add an option to vibrate the phone at the beginning of the song.

A database should be created for this. It will store the genre and song artist and title. Each time metadata is updated, the database will be queried to find out if the song is already there. If it is, then the heart will already be filled with red and song will not be allowed to be re-added to the database.

Should the genre be stored? If it isn't, it would avoid the problem that might happen if the same song appears in different channels. If it is stored, then when the user views the favorites, he or she will be able to look at their favorites on a per-channel basis.