Created attachment 129382 [details] screenshot SUMMARY related to bug 420752 STEPS TO REPRODUCE 1. make sure Elisa is your default player 2. open any audio with Elisa via Dolphin 3. OBSERVED RESULT playlist shows an circular icon with a diagonal line (see the attached screenshot) and playback is not started EXPECTED RESULT Elisa should play audio file opened via Dolphin SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.71.0 Qt Version: 5.14.2
Confirmed. This used to work, so it must be a recent regression.
I will work on this one.
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/140
(In reply to Bug Janitor Service from comment #3) > A possibly relevant merge request was started @ > https://invent.kde.org/multimedia/elisa/-/merge_requests/140 It would be nice if you can confirm that this MR fixes your bug.
I have applied your patch to 20.08 branch. The bug persists.
(In reply to Patrick Silva from comment #5) > I have applied your patch to 20.08 branch. > The bug persists. Thanks for the test. Sorry for the breakage. I will fix that MR.
Git commit fd8e11b93f5ab047f05c3f56ade632a099589b91 by Matthieu Gallien. Committed on 02/08/2020 at 21:56. Pushed by mgallien into branch 'release/20.08'. fix enqueue from program arguments (for example from Doplhin) M +3 -3 src/elisaapplication.cpp https://invent.kde.org/multimedia/elisa/commit/fd8e11b93f5ab047f05c3f56ade632a099589b91
This issue is still reproducible. 1. add some track(s) to playlist 2. close Elisa 3. open an audio file with Elisa via Dolphin Elisa opens, the file used in the last step is present in the playlist but Elisa does not play it on opening. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.0
Debugging this on master. I found that Elisa plays the song passed by Dolphin when the playlist is already empty. Where as if the elisa has a non-empty play list already, the new file is appended but does not start play.
Confirmed. The song is appended to the end of the playlist and playback respects the setting for whether or not to start playing immediately, starting with the last-played song in the playlist rather than the opened song. In this case, it should probably start playing immediately, and possibly replace the existing playlist with the specified song. If that's too destructive, then it should append to the playlist but then begin playback at that song.
*** Bug 452664 has been marked as a duplicate of this bug. ***
*** Bug 457182 has been marked as a duplicate of this bug. ***
One way to fix this would be to add an argument like -queue which would add the file to the queue instead of playing it. A "Dolphin Service Menu" script could then be created to queue the selected file. Then the default behavior could be set to empty the queue and play the opened file. Note that an option to keep the queue but still play the opened file (like Audacious has) could be added too.