User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 If I logout from a Xfce session, xfmedia should save the current playlist, so that is available at next startup. Reproducible: Always Steps to Reproduce: 1. Add songs to the playlist 2. Logout from a Xfce session 3. Start a new session and xfmedia forgot the last playlist Actual Results: No playlist Expected Results: Reload the last playlist
Created attachment 783 Little patch which saves the playlist when adding new files or directories to the playlist. This patch saves the playlist shortly after adding new files, URLs or directories. The playlist should also be saved when some entries are removed from the playlist. And this feature should be optionally.
This patch fails to take into account whether or not the playlist would be normally saved on exit.
Yes, I didn't want to modify too much code with my patch, so I skipped checking the setting, but I think it shouldn't be much work for you, since you know your code better than me ;-).
I redid all this playlist autosaving stuff, and I think I'm happy with it now.