clementine-player / Clementine

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

Opening .mp3 from File Explorer clears the last used playlist #7310

Open spankety opened 7 months ago

spankety commented 7 months 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: Double clicking a .mp3 in File Explorer should play the file on Clementine by either putting it in an empty new playlist or appending it to the end of the most recent playlist. Slight preference for new blank playlist. However,

Actual behavior: Double clicking a .mp3 in File Explorer clears all entries on the most recent playlist. The clicked on song is now the sole entry in the most recent playlist and the rest of the list has evaporated. (The files still exist on the computer, but the playlist is empty. The name of the playlist and the fact that it is starred still appear in the playlist tab at the top.)

Steps to reproduce the problem (only for bugs)

Set Clementine as default media player for .mp3s. Open a playlist on Clementine that has several items on it. Close Clementine. Double click on any .mp3 from File Explorer. The file will be the only item on the playlist. All other playlist entries will vanish even if the playlist was saved.

I thought it was because i often use playlists that have a few thousand items, that was why i switched to Clementine from VLC which could not accurately save or load my big playlists at all, but I can reproduce it easily on playlists with just a couple of items.

edit: I have found the setting for "Double clicking a song will...." I had it on ''Append to the playlist''. I have changed it to ''Open in new playlist'' and it seems to do what I want. However, I still think that clearing the playlist instead of appending to it is a bug so I'm leaving this issue up