clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.79k stars 684 forks source link

Resume Playback on Start Doesn't Work In Ubuntu 18.04 #6363

Open linux4me opened 5 years ago

linux4me commented 5 years ago

Before posting

Please follow the steps below and check the boxes with [x] once you did the step.

System information

Please provide information about your system and the version of Clementine used.

Expected behaviour / actual behaviour

Expected behavior: If I check Tools -> Preferences -> Behavior -> Resume playback on start, playback should resume when Clementine is started when launched manually or as a Startup Application with the command line, "clementine."

Although it worked once, it no longer does, and I did a complete uninstall and reinstall and still can't get resume playback on start to work.

Steps to reproduce the problem (only for bugs)

  1. Do a fresh install of Clementine on Ubuntu 18.04.2 after deleting or renaming the folder .config/Clementine.
  2. In Tools -> Music Library, set the path to your music library.
  3. Check Tools -> Preferences -> Behavior -> Resume playback on start.
  4. Load a playlist and begin playing a track.
  5. Quit Clementine.
  6. Restart Clementine.

The desired behavior is for Clementine to resume playback. For me, it does not.

linux4me commented 5 years ago

It's not a fix, but I did find a workaround. I've been starting Clementine via Startup Applications with the command line, "clementine -v 100," and I also tried "clementine -v 100 -p," which didn't resume playback on start. With "clementine -v 100 -l /home/username/Playlists/My-Playlist.xspf," it would resume playback on start, but would always start playing the first song in the playlist regardless of where it was when it stopped. Once it finished the first track, it would begin shuffling as it should.

The workaround was to record a three-second silence in an Ogg using Audacity, and save it in a folder and file that would always be listed first in the playlist. I used EasyTag to tag the song so it would show up in Clementine. In my case, I just named the artist "001 Placeholder." Now, when Startup Applications launches Clementine, it loads my playlist and plays that three seconds of silence, then begins shuffling songs the way I want it to.

gadfsgagfaq435 commented 5 years ago

It doesnt work in Windows either. Both on the 1.3.1 final from Github and the most recent release from https://builds.clementine-player.org/windows/. It remembers which file has been played but it wont remember the playback position/progress within the track. It doesnt matter wheter i quit using X or Music->Quit.

Sadi58 commented 4 years ago

It doesn't work in KUbuntu 20.04 either. Actually, it was working for me until a couple of days ago, but suddenly it decided not to work anymore - which is weird.