strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.75k stars 194 forks source link

moodbar settings are ignored #121

Closed glaubersm closed 5 years ago

glaubersm commented 5 years ago

Hi I use strawberry-full-git on Arch Linux running KDE Plasma 5.15.4, installed from AUR.

Both "Enable" and "Show a moodbar in the track progress bar" options are checked in "Moodbar" section of strawberry settings. However, strawberry does not show the moodbar and the track progress bar is still the default progress bar.

jonaski commented 5 years ago

Works fine here. Most likely it isn't able to produce the moods, they can take a few seconds. Can you start strawberry from a terminal and see if there is any useful output?

jonaski commented 5 years ago

I even tested on arch

glaubersm commented 5 years ago

Here is the complete output

[myusername@Arch-PC ~]$ strawberry
13:22:58.255 INFO  main:161                         Strawberry 0.5.3-51-g40db9f7
13:22:58.463 DEBUG NetworkProxyFactory:55           Detected system proxy URLs: ("", "", "", "")
13:22:58.471 DEBUG WorkerPool<HandlerType>:275      Starting worker 0x7ff51f7fd450 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_-166962033"
13:22:58.473 DEBUG WorkerPool<HandlerType>:275      Starting worker 0x7ff51f7fd450 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_-51464222"
13:22:58.484 INFO  main:54                          TagReader worker connecting to "/tmp/strawberry_-166962033"
13:22:58.490 DEBUG WorkerPool<HandlerType>:293      Worker 0x7ff50c006bc0 connected to "/tmp/strawberry_-166962033"
13:22:58.539 INFO  main:54                          TagReader worker connecting to "/tmp/strawberry_-51464222"
13:22:58.540 DEBUG WorkerPool<HandlerType>:293      Worker 0x7ff50c007110 connected to "/tmp/strawberry_-51464222"
13:22:58.830 INFO  Player:779                       Registered URL handler for "tidal"
13:22:58.831 DEBUG InternetServices:43              Added internet service "Tidal"
13:22:58.897 DEBUG MainWindow:228                   Starting
13:22:59.052 DEBUG CoverProviders:42                Registered cover provider "last.fm"
13:22:59.052 DEBUG CoverProviders:42                Registered cover provider "Discogs"
13:22:59.052 DEBUG CoverProviders:42                Registered cover provider "MusicBrainz"
13:22:59.052 DEBUG CoverProviders:42                Registered cover provider "Deezer"
13:22:59.052 DEBUG CoverProviders:42                Registered cover provider "Tidal"
13:22:59.068 DEBUG LyricsProviders:43               Registered lyrics provider "AudD"
13:22:59.068 DEBUG LyricsProviders:43               Registered lyrics provider "ChartLyrics"
13:22:59.083 DEBUG MainWindow:280                   Initialising player
13:22:59.528 DEBUG Player:192                       Creating equalizer
13:22:59.589 DEBUG MainWindow:289                   Creating models
13:22:59.590 DEBUG MainWindow:296                   Creating models finished
13:22:59.611 WARN  DeviceKitLister:60               Error enumerating DeviceKit-disks devices: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.freedesktop.UDisks was not provided by any .service files"
13:22:59.628 DEBUG MainWindow:314                   Creating UI
13:22:59.676 DEBUG logging:65                       _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
13:22:59.695 DEBUG ScrobblerServices:45             Registered scrobbler service "Last.fm"
13:22:59.696 DEBUG ScrobblerServices:45             Registered scrobbler service "Libre.fm"
13:22:59.696 DEBUG ScrobblerServices:45             Registered scrobbler service "ListenBrainz"
13:22:59.777 DEBUG MainWindow:681                   Creating playing widget
13:23:00.026 DEBUG MainWindow:722                   Loading settings
13:23:00.602 DEBUG MainWindow:797                   Started
13:23:00.636 INFO  DeviceManager:381                Device added: "/dev/sr0" ("/dev/sr0")
13:23:00.673 DEBUG PlaylistBackend:278              Saving playlist 1
13:23:00.767 DEBUG PlaylistBackend:278              Saving playlist 3
13:23:00.769 DEBUG PlaylistBackend:278              Saving playlist 2
13:23:07.100 INFO  SongLoaderInserter:100           Loading audio CD...
13:23:07.109 ERROR logging:60                       gst_element_make_from_uri: assertion 'gst_is_initialized ()' failed
13:23:07.163 DEBUG PlaylistBackend:278              Saving playlist 4
13:24:14.101 DEBUG GlobalShortcutsSettingsPage:115  Gnome (GSD) D-Bus backend is unavailable.
13:24:14.101 DEBUG GlobalShortcutsSettingsPage:120  X11 backend is available.
13:24:20.849 DEBUG Database:584                     Starting database integrity check
13:24:20.906 DEBUG Database:645                     Starting database backup
13:24:22.330 DEBUG GlobalShortcutBackendSystem:66   Unregistering
13:24:22.611 DEBUG WorkerPool<HandlerType>:175      Closing worker socket
13:24:22.619 DEBUG WorkerPool<HandlerType>:175      Closing worker socket
[strangiato@Arch-PC ~]$ strawberry
13:24:28.116 INFO  main:161                         Strawberry 0.5.3-51-g40db9f7
13:24:28.307 DEBUG NetworkProxyFactory:55           Detected system proxy URLs: ("", "", "", "")
13:24:28.314 DEBUG WorkerPool<HandlerType>:275      Starting worker 0x7faadbffe450 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_419989263"
13:24:28.329 DEBUG WorkerPool<HandlerType>:275      Starting worker 0x7faadbffe450 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_334130274"
13:24:28.356 INFO  main:54                          TagReader worker connecting to "/tmp/strawberry_419989263"
13:24:28.357 DEBUG WorkerPool<HandlerType>:293      Worker 0x7faacc006bc0 connected to "/tmp/strawberry_419989263"
13:24:28.416 INFO  main:54                          TagReader worker connecting to "/tmp/strawberry_334130274"
13:24:28.417 DEBUG WorkerPool<HandlerType>:293      Worker 0x7faacc007110 connected to "/tmp/strawberry_334130274"
13:24:28.721 INFO  Player:779                       Registered URL handler for "tidal"
13:24:28.721 DEBUG InternetServices:43              Added internet service "Tidal"
13:24:28.821 DEBUG MainWindow:228                   Starting
13:24:28.947 DEBUG CoverProviders:42                Registered cover provider "last.fm"
13:24:28.947 DEBUG CoverProviders:42                Registered cover provider "Discogs"
13:24:28.947 DEBUG CoverProviders:42                Registered cover provider "MusicBrainz"
13:24:28.947 DEBUG CoverProviders:42                Registered cover provider "Deezer"
13:24:28.947 DEBUG CoverProviders:42                Registered cover provider "Tidal"
13:24:28.957 DEBUG LyricsProviders:43               Registered lyrics provider "AudD"
13:24:28.957 DEBUG LyricsProviders:43               Registered lyrics provider "ChartLyrics"
13:24:28.969 DEBUG MainWindow:280                   Initialising player
13:24:29.401 DEBUG Player:192                       Creating equalizer
13:24:29.457 DEBUG MainWindow:289                   Creating models
13:24:29.457 DEBUG MainWindow:296                   Creating models finished
13:24:29.480 WARN  DeviceKitLister:60               Error enumerating DeviceKit-disks devices: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.freedesktop.UDisks was not provided by any .service files"
13:24:29.490 DEBUG MainWindow:314                   Creating UI
13:24:29.531 DEBUG ScrobblerServices:45             Registered scrobbler service "Last.fm"
13:24:29.531 DEBUG ScrobblerServices:45             Registered scrobbler service "Libre.fm"
13:24:29.531 DEBUG ScrobblerServices:45             Registered scrobbler service "ListenBrainz"
13:24:29.541 DEBUG logging:65                       _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
13:24:29.612 DEBUG MainWindow:681                   Creating playing widget
13:24:29.714 DEBUG MainWindow:722                   Loading settings
13:24:30.176 DEBUG MainWindow:797                   Started
13:24:30.206 INFO  DeviceManager:381                Device added: "/dev/sr0" ("/dev/sr0")
13:24:30.238 DEBUG PlaylistBackend:278              Saving playlist 1
jonaski commented 5 years ago

You should now be able to use the moodbar independent of what engine is selected as long as it is compiled with gstreamer. Fixed https://github.com/jonaski/strawberry/commit/3ed6817ac91813de3997e9075ab8418de17d3d2a