extragear/multimedia/amarok/src
Maximilian Kossick
maximilian.kossick at googlemail.com
Thu Mar 27 07:35:32 CET 2008
On Wed, Mar 26, 2008 at 11:47 PM, Jeff Mitchell
<kde-dev at emailgoeshere.com> wrote:
> Dan Meltzer wrote:
> > --- trunk/extragear/multimedia/amarok/src/context/ContextView.cpp #790554:790555
> > @@ -131,9 +131,11 @@
> >
> > switch( state )
> > {
> > + // Note: This is not as accurate as it should be. When the user manually changes tracks,
> > + // the engine sends a StoppedState followed by a PlayingState, causing the view to change.
> > + // Unfortunatly, there is no easy way to fix this
> A brute-force method could be to start a timer when a StoppedState is
> received, and if it's still running when a PlayingState is received...
>
> --Jeff
agreed. Additionally, I'm not sure the current way to save/load all
applets on state change is the best way to do this. What about
switching containments on state change instead, e.g. have a
containment for the StoppedState and a containment for the
PlayingState, and automatically switch between them.
More information about the Amarok-devel
mailing list