Closed ratberryjam closed 7 years ago
@ratberryjam
Just to make sure I get it straight.
You man instead of:
$ itunes-remote
iTunes: play
Hold on …
✔ Playing ♪♬
iTunes: exit --force
$
Something like:
$ itunes-remote
iTunes: play --exit
Hold on …
✔ Playing ♪♬
$
This is definitely a reasonable use case :ok_hand:
Exactly 👍
Additionally:
$> itunes-remote play --exit
Hold on …
✔ Playing ♪♬
$>
But I assume that providing --exit
to play
would support both use cases?
I WILL SUBMIT A PR TODAY FOR THIS.
And immediately alias play='itunes-remote play --exit'
...
@al-the-x Ideally it would work for play, stop, pause, next, previous and back
Would also like to see this :)
would be great !
Implemented for the following commands: play
, stop
, pause
, next
, previous
and back
.
Example usage from the interactive mode:
$ itunes
iTunes: start --exit
$
Example usage from outside:
$ itunes stop --exit
iTunes:
✔ Stopped playing ♪♬
$
It would be nice to have a flag when running itunes-remote to tell it to just perform the specified command and exit, say if you just want to quickly pause or stop playback.