Project

General

Profile

Feature #841

command line option to start playing if not playing

Added by K. Knut over 5 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Minor
Assignee:
-
Category:
core
Target version:
-
Start date:
November 03, 2018
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

I want to enqueue files from the file browser and start playing if the player is currently not playing. I use the --enqueue option. Next I want to start playing if the player is not playing and keep playing if the player is already playing. Unfortunately, according to the man page, the --play option restarts the currently playing song (same for Ctrl+Enter).

In my opinion the --play option should only ensure playing. Re-playing is a misleading result, maybe a suitable option should be --replay (but then it is not clear if the song or the playlist is meant)

History

#1 Updated by Michael Schwendt over 5 years ago

You could script your desired behaviour with the separate "audtool" program.

#2 Updated by John Lindgren over 5 years ago

Yep, this is pretty simple with audtool:

if ! audtool playback-playing ; then audtool playback-play ; fi

I don't think we need a new command line option for this.

#3 Updated by John Lindgren over 2 years ago

  • Status changed from New to Rejected

Closing a few feature requests that have seen no activity in over 3 years.

Also available in: Atom PDF