Recently added albums widget not displaying with phonon-vlc backend after a song is played. When first started recently added albums widget displays list of new albums as it should but once a track in played the widget is empty with only the heading shown immediately followed with no space by the next widget.
Switching to the Gstreamer backend solves this
Albums widget (showing albums of currently played artist) works fine
This is a recent regression
Amarok 2.5 from git
Steps to Reproduce:
play a song
recent albums is blank
recent albums if populated
Harald, any idea?
as of today the widget again works correctly, why? I don't know but it is working so I will close this
and of course today it disappears again
I can confirm this on Debian testing :
KDE Development Platform: 4.7.4 (4.7.4)
Amarok: 2.5.0 (from repository)
phonon-vlc backend 0.5.0
Albums widget not displaying anything at the end of a playlist. If I press stop button on a song, the widget shows correctly.
The bug wasn't here with Amarok 2.4.3.
Can't test with gstreamer backend, I have a recent hardware problem and I have sound only with vlc backend.
Sorry for my bad english.
Bill and Patrick: could you please try with the 2.6 beta1? We all use post Amarok 2.5 here in the team, might simply be already solved, so no use on insisting on a 2.5 bug that is not reproducible in git :)
Myriam - I'm running git ("about Amarok" still says 2.5-git) but I clone and compile weekly (give or take).
Random guess of the day: it is because amarok ties too many unrelated things to the aboutToFinish signal, which then leads to weird issues when that signal is emitted twice.
I am now going to introduce protection against multi-emission.
Git commit eff46365383a4faa585a0ca525a749bab241367d by Harald Sitter.
Committed on 20/06/2012 at 17:23.
Pushed by sitter into branch 'master'.
Don't reset members all over the place
resetting too early leads to many abouttofinish signals which screws with
Amarok which likes to bind half it's playback bound features to that
Hence only reset once we got a new call to PlayInternal at which point
we throw away the old media anyway, so we can be sure that this is the
last point anything from the old media might leak through.
M +2 -5 src/mediaobject.cpp
unfortunately can not test 'cause it will not comile for me phonon-vlc/src/mediacontroller.cpp:326:10: error: ‘BluRay’ was not declared in this scope
Needs phonon from git master too
phonon-vlc-0.6 has been released with the fix included.
Please test against this version.
Problem fixed on my side with the upstream release phonon-vlc-0.6.
My system Debian, everything installed from repository :
KDE Development Platform: 4.8.4 (4.8.4)
Thank you for the feedback.