Merge branch 'master' of https://github.com/clementine-player/Clementine
Merge branch 'master' of https://github.com/clementine-player/Clementine
Merge branch 'master' of https://github.com/clementine-player/Clementine
Merge branch 'master' of https://github.com/clementine-player/Clementine
Fix moodbars not generating correctly
The magnitude output from gstfastspectrum was not initialized for the first fft.
In some cases, the memory would contain data that upon math operations becomes nan.
This causes one or more colours of the moodbar to be generated blank, resulting in missing colours or just plain black moodbars.
Initialize array in a nicer way
Actually initialize the array
Merge pull request #4666 from TheUbuntuGuy/master

Fix moodbars not generating correctly
Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer)
Fix socket leak in moodbarpipeline
Fixes #4663
When tearing down the pipeline, there was a leak of a GstBus which holds a socketpair open.
Eventually the OS runs out of file descriptors and terminates Clementine.
Merge pull request #4668 from TheUbuntuGuy/master

Fix socket leak in moodbarpipeline
Don't load the moodbar if the song was stopped
When an async moodbar load completes, it checks to see if the song is still playing and should update the UI.
It however failed to check if the song was stopped, so it would load a moodbar when no song is playing.
It now checks the player state before emitting a change.
Merge pull request #4669 from TheUbuntuGuy/master

Don't load the moodbar if the song was stopped
Fix tests
Merge pull request #4670 from sobkas/fix_tests

Fix tests
Dirty fixers
Dirty fixers