Bug 263640: JJ: moving a music folder, collection won't inform user of stale reference

Bart Cerneels bart.cerneels at kde.org
Sun Jul 10 19:34:31 CEST 2011


On Sun, Jul 10, 2011 at 16:15, Sandeep <sandy.8925 at gmail.com> wrote:
> Hi,
> I compiled the GIT version of Amarok and playback does stop after 5 playlist
> errors. I can have unavailable tracks grayed out like Bart suggested, but if
> the tracks are unavailable then playback will stop.
> I think that before adding a track to the queue of songs to be
> played(m_queue), Amarok should first check if the track is playable (or
> maybe in some other place). Then only those songs that are available (or
> playable) should be added to the queue. This way the above problem can be
> avoided.
> Should I try to implement this or should I just make sure the tracks are
> grayed out? (since that's enough to inform the user that those tracks aren't
> available)
> Thanks,
> Sandeep

I think you need to do this isPlayable() check in the TrackNavigators,
they are responsible for letting the EngineController know which track
is next. If you don't pass unplayable tracks it won't stop playback
unless something is wrong with the phonon backend, like it should.


More information about the Amarok-devel mailing list