Thread
:
footify alpha, a Spotify client based on despotify
View Single Post
Joorin
2010-06-20 , 15:20
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#
154
I've been playing around with sorting a bit. As it stands now, I've added sorting by album and artist in the search view. I've added stubs for sorting by popularity.
This leads me to two things I've been thinking about
: sorting by popularity and playing songs in a sorted list.
First, popularity. When a search is done, the result comes, as far as I know, sorted by popularity from the Spotify servers. But, as soon as you sort by, say, artist this ordering is gone. Is there really a need for sorting by popularity?
Second, playing songs in a sorted list. With the current implementation, the playlist isn't changed after sorting has been done. This means that if you start a song from a sorted playlist, let it play to the end and the next song is started, this will be the next song from the initial playlist and not from the sorted playlist.
The data structures in libdespotify aren't really made for this kind of manipulation so I'd have to come up with ways to handle it. Including special cases when the sorted playlist is to be re-assembled according to the new sort order.
So, would this be a problem? I'm not too keen on spending time solving a problem that won't bother anyone...
Quote & Reply
|
Joorin
View Public Profile
Send a private message to Joorin
Find all posts by Joorin