Comment 8 for bug 1431042

Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

https://code.launchpad.net/~vikoadi/noise/fix-getNext/+merge/252856

after some further research I found that its neither get_medias nor get_search_result that we want, but get_visible_media from Noise.ListView and a comparable function on GridView

Some possible options that i can think are:
1. write a fucntion which will return Collection of media with the same album as last played media on GridView and use those function to get_visible_media
2. save list of _current and restore it on start
3. revert rev1778 and reopen bug1253758 and do 1 or 2 in other commit
4. revert rev1778 and reopen bug1253758 wait for carl's code to land in trunk and work on it

i prefer option 3 or 4 as currently playing a song then press next on shuffle mode give

ERROR:linkedlist.c:1014:gee_linked_list_real_get: assertion failed: (index < this._size)
Aborted