Problems in CurrentEngine

Daniel Winter dw at danielwinter.de
Thu Jul 24 20:35:17 CEST 2008


Hi,

there seems to be bugin the CurrentEngin for the context view.

It should always report the data of the current playing track.

But it updates to much. When a track you played before  changes its MetaData 
(calls notifyObservers())   it reports that track as the current one.

To reproduce:

Just play song and switch to an other. Now right click on the last song and 
change its score. The current track applet will show the change track as the 
current one.

I tried to understand and fix it. But I do not really understand how the 
current track engine should work. It seems as it doesn't unsubscribe to the 
metadata updates of the old songs. 

DanielW


More information about the Amarok-devel mailing list