albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
489 stars 58 forks source link

star system filter #43

Open christophmluscher opened 10 years ago

christophmluscher commented 10 years ago

idea: only play songs with a certain star rating. for example only play songs with 4 stars, 5 stars or no rating.

is that practical? just wondering :)

albertz commented 10 years ago

Well, maybe. :) Sometimes I wanted to have a filter like rate > 0 (that is at least one star). But maybe there are just too many possibilities what a user might want. I was thinking about allowing the user with a simple code-like editor to specify such filters, where you could add attributes with conditions and combine them by "and" or "or". I think iTunes has something similar. Or, for the advanced user: Just type in the Python filter code manually.

andrewrk commented 10 years ago

If you never want to hear a song then why is it in your library?

Oh this is a search feature. I see.

albertz commented 10 years ago

Of course such filter would not be on always; rather the user can enable/disable it. But I often have times where I just want to listen to some music (given some constraints) or where I just want to listen to my most favorite music.

christophmluscher commented 10 years ago

normally i would delete songs i dont want. but sometimes i want to keep the whole album. an example would be music by hayden. i have one two favourite songs. and normally i would not listen to the others but sometimes i like to hear the whole arrangement. so under normal circumstances i would rate them only one star and filter them out. but they would still be available. of course once a filter system is set up one could add more rules: for genre or so. for a party for example: only house music with 4 or 5 star rating

andrewrk commented 10 years ago

Makes sense.