https://bugs.kde.org/show_bug.cgi?id=438651

--- Comment #6 from Pedro de Carvalho Gomes <pedrogome...@gmail.com> ---
I fixed the problem for Non-linear playlists as well.

Answering your question at the older Merger Request, m_model->trackAt(nextItem)
returns a track by its row. That is, its position at the playlist. But here we
should use m_model->trackById(nextItem) which returns a track by its ID, which
is the info stored at m_historyItems

I have fixed NonlinearTrackNavigator::requestLastTrack(), and now it scans till
it finds a playable track in history. I'm considering to do the same for
likelyLastTrack(), which is used to preview the "prev" track to be played. I
just have to think about some use case, such as the file was temporarily
removed (network filesystem, for example), than reappeared

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to