Command line control interface


#1

Hey there!

I know you guys have (limited) AppleScript support for Vox, but it would be really awesome to be able to control playback and the playlist from the command line through the use of flags or maybe a helper program to add songs, remove songs, clear the playlist, pause, play, volume up for those of us who start playback from our terminals.

Right now, the AppleScript will only allow for adding songs, pause, play; its a very limited interface. And adding songs via open -a 'Vox.app' song.ogg plays the file - appending to the current playlist - and then once completed will play the rest of the list (if shuffled).

Ideally something like

Basic interactions:
$ /Applications/VOX.app/Contents/MacOS/voxctl add song.ogg

Or add to path and then…
$ voxctl add -clearplaylist song.ogg [songs.ogg . . . ]
$ voxctl remove song.ogg - (remove song from playlist)
$ voxctl pause
$ voxctl play
$ voxctl vol[ume] <0-100%>
$ voxctl repeat [on|off]
$ voxctl shuffle [on|off]

Nice to haves:
$ voxctl # spit out current playing?
$ voxctl playlist # spit out current playlist?


Are there any plans to establish a more featured interface to do this?


#2

+1


#3

Hey guys,

Thanks for reaching out!

We will definitely think about this feature.


#4

The discussion has been closed.


#5

Hey Vox_Support_Team

Where did this end up?


#6

Here’s a business suggestion: Think more about it, or make a public API so that some intrepid souls can make a CLI client for VOX.

I swear, you guys make a good product, but as a business y’all are idiotic on some fronts. This stuff is a no-brainer.


#7

I’ve been looking for a way to control VOX from the command line too, and I decided to scratch my own itch. I ended up building a command-line tool that exposes all the functionality that VOX offers through their AppleScript/JXA scripting suite. It is available on GitHub here, and you can install it using Homebrew in the following manner:

brew tap majjoha/tap
brew install voxctl