Bug 322457 - Append & Play doesn't work
Summary: Append & Play doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Playback (show other bugs)
Version: 2.8.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 21:41 UTC by Josh Liberty
Modified: 2019-02-03 11:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Liberty 2013-07-16 21:41:47 UTC
When using the file browser action "Append & Play" on a music file, the only thing that happens is that the current songs stop. The chosen song is not played.

Reproducible: Always

Steps to Reproduce:
1. Find a music file in Konqueror/Dolphin
2. Right click and select "Append & Play"
Actual Results:  
The currently playing song stops. That's it.

Expected Results:  
The chosen song should start.
Comment 1 Myriam Schweingruber 2013-07-16 23:08:06 UTC
Could you please test Amarok 2.8 beta (aka 2.7.90)? This should be fixed already.
Comment 2 Myriam Schweingruber 2013-08-05 08:31:39 UTC
Still waiting for feedback.
Comment 3 Josh Liberty 2013-08-17 10:12:25 UTC
This still happens in 2.8.
Comment 4 Myriam Schweingruber 2013-08-17 10:20:36 UTC
Could you please check your settings in Amarok (menu Settings -> Configure Amarok... -> Playback) if you have the option "Start playing when tracks are added to the playlist"?
Comment 5 Josh Liberty 2013-08-17 10:26:12 UTC
It's already checked - but it doesn't work. Even when amarok is not playing, and I'm adding something by dragging it to the playlist - amarok doesn't start playing.

Anyway, this bug report is about something else though - when doing "append & play", you expect the file you did the action on to be played, not the playlist to resume playing in general.
Comment 6 Mark Kretschmann 2013-08-17 10:35:01 UTC
Please start Amarok from the shell with the following command, do an append operation, and then copy the debug output and paste it here:

"amarok --debug --nofork"
Comment 7 Josh Liberty 2013-08-17 11:08:24 UTC
There you go:
http://paste.kde.org/pbd67c11a/
Comment 8 Matěj Laitl 2013-08-17 11:56:38 UTC
(In reply to comment #5)
> It's already checked - but it doesn't work. Even when amarok is not playing,
> and I'm adding something by dragging it to the playlist - amarok doesn't
> start playing.

This is right dragging never triggers playback.

> Anyway, this bug report is about something else though - when doing "append
> & play", you expect the file you did the action on to be played, not the
> playlist to resume playing in general.

Eh? So it starts playing, but something different? I'm totally confused now. Please reformulate your bug report one again, with exact steps to reproduce (including starting state, where the track you want to play comes from (and does it happen with other sources?), what precise action you use to append & play (context menu? double-click? Enter)), what is the expected behaviour and what is the actual behaviour.
Comment 9 Matěj Laitl 2013-08-17 12:03:05 UTC
Oh, now I understand it, sorry about the confusion, let me investigate that.
Comment 10 Matěj Laitl 2013-08-17 13:43:19 UTC
Okay, this is caused by a change where Amarok no longer parses the --play argument if some urls are specified and the "Append & Play" service menu action uses amarok --apend %U --play.

The thing is that the underlying system changed a bit and we no longer have pure "Append & Play". We only have:
 a) prepend and play right away
 b) append and start playing if nothing else is playing and it is enabled in config

I guess the b) would be better (because a. is already possible by simply clicking on the file or using the Open -> Amarok option), but I think we should change the name to reflect that playback will start only in certain situations. How? "Append & Start Playing"? that doesn't tell it completely, OTOH it has to be short. Any ideas?
Comment 11 Myriam Schweingruber 2019-02-03 11:49:44 UTC
Closing for lack of feedback from author.