Resume Playback On Start
-
I just installed Strawberry on an Ubuntu 18.04 machine via the PPA, and I haven't been able to get "resume playback on start" to work.
Ideally, I'd like to have Strawberry start from Startup Applications and resume playback on start just by checking the "Resume playback on start" checkbox in Tools -> Settings -> Behavior, but that doesn't work.
I attempted to add Strawberry to Startup Applications, and tried it with no options, and with the "-p" option, and it started but did not resume playback.
If I try the following command from terminal:
strawberry -p
Strawberry does start, but still doesn't begin playback, and I get the following output:
15:47:14.264 INFO main:157 Strawberry 0.6.13 15:47:14.264 INFO main:158 "Ubuntu 18.04.4 LTS 18.04 - (linux 5.4.0-42-generic) [x86_64]" 15:47:14.329 DEBUG Application:242 Database(0x55f9cd4579d0) moved to thread QThread(0x55f9cd498b90) 15:47:14.329 DEBUG SCollection:62 CollectionBackend(0x55f9cd4517e0) moved to thread QThread(0x55f9cd498b90) 15:47:14.345 DEBUG Application:242 AlbumCoverLoader(0x55f9cd587130) moved to thread QThread(0x55f9cd591ca0) 15:47:14.346 DEBUG SCollection:94 CollectionWatcher(0x55f9cd382940) moved to thread QThread(0x55f9cd4e9560) 15:47:14.347 DEBUG Application:242 TagReaderClient(0x55f9cd537e50) moved to thread QThread(0x55f9cd4e9990) 15:47:14.347 DEBUG NetworkProxyFactory:55 Detected system proxy URLs: ("", "", "", "") 15:47:14.354 DEBUG WorkerPool<HandlerType>:282 Starting worker 0x7f95815014e0 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_-785944783" 15:47:14.359 DEBUG WorkerPool<HandlerType>:282 Starting worker 0x7f95815014e0 "/usr/bin/strawberry-tagreader" "/tmp/strawberry_-1946437301" 15:47:14.365 INFO main:56 TagReader worker connecting to "/tmp/strawberry_-785944783" 15:47:14.367 DEBUG WorkerPool<HandlerType>:300 Worker 0x7f9568004d10 connected to "/tmp/strawberry_-785944783" 15:47:14.374 INFO main:56 TagReader worker connecting to "/tmp/strawberry_-1946437301" 15:47:14.374 DEBUG WorkerPool<HandlerType>:300 Worker 0x7f95680063c0 connected to "/tmp/strawberry_-1946437301" 15:47:14.392 DEBUG GlobalShortcutBackendGSD:53 Registering 15:47:14.459 INFO Player:800 Registered URL handler for "subsonic" 15:47:14.464 DEBUG InternetServices:49 Added internet service "Subsonic" 15:47:14.464 INFO Player:800 Registered URL handler for "tidal" 15:47:14.479 DEBUG InternetServices:49 Added internet service "Tidal" 15:47:14.548 DEBUG MainWindow:262 Starting 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "Last.fm" 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "MusicBrainz" 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "Discogs" 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "Deezer" 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "Qobuz" 15:47:14.570 DEBUG CoverProviders:105 Registered cover provider "Musixmatch" 15:47:14.571 DEBUG CoverProviders:105 Registered cover provider "Spotify" 15:47:14.571 DEBUG CoverProviders:105 Registered cover provider "Tidal" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "AudD" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "Genius" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "Lyrics.ovh" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "LoloLyrics" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "Musixmatch" 15:47:14.577 DEBUG LyricsProviders:103 Registered lyrics provider "ChartLyrics" 15:47:14.590 DEBUG MainWindow:306 Initialising player 15:47:14.596 DEBUG MainWindow:316 Creating models 15:47:14.596 DEBUG MainWindow:323 Creating models finished 15:47:14.601 DEBUG DeviceLister:66 CddaLister(0x55f9cdb80390) moved to thread QThread(0x55f9cdeefa00) 15:47:14.601 DEBUG DeviceLister:66 Udisks2Lister(0x55f9ce0cf8c0) moved to thread QThread(0x55f9cdeefb50) 15:47:14.602 DEBUG DeviceLister:66 GioLister(0x55f9ce05e150) moved to thread QThread(0x55f9cdef0230) 15:47:14.602 DEBUG DeviceLister:66 iLister(0x55f9cdeed4b0) moved to thread QThread(0x55f9cde60e70) 15:47:14.602 DEBUG CddaLister:115 No CD devices found 15:47:14.607 DEBUG Application:242 PlaylistBackend(0x55f9cd33ddc0) moved to thread QThread(0x55f9cd498b90) 15:47:14.612 DEBUG MainWindow:341 Creating UI 15:47:14.636 DEBUG ScrobblerServices:49 Registered scrobbler service "Last.fm" 15:47:14.636 DEBUG ScrobblerServices:49 Registered scrobbler service "Libre.fm" 15:47:14.636 DEBUG ScrobblerServices:49 Registered scrobbler service "ListenBrainz" 15:47:14.653 DEBUG MainWindow:747 Creating playing widget 15:47:14.704 DEBUG MainWindow:790 Loading settings 15:47:14.764 DEBUG MainWindow:890 Started QThread(0x55f9cd294cd0) 15:47:14.772 DEBUG GlobalShortcutBackendGSD:91 Registered
Is there a way to get "resume playback on start" to work?
-
The resume playback on start should work if you close Strawberry while a song is playing, then reopen Strawberry.
I'm not sure if it would work on system startup. -
@jonaski That's what I thought, too, though it doesn't work in Clementine, either, and hasn't for a couple of Ubuntu versions. I haven't been able to get it to work in Strawberry at all, either by stopping with a song playing and then restarting Strawberry, starting it from the command line with various options including loading a playlist, or using Startup Applications.
I gave up and I'm using Quod Libet.