• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    OCaml
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CLI program for controlling the spotify desktop client

spotify-cli Build status

Minimal OCaml CLI program for controlling the spotify desktop client. Supported platforms:

  • Linux (via DBus)
  • Mac OSX (via osascript)

Installation

The easiest way to install is with opam, an OCaml package manager:

    opam install spotify-cli

Build dependencies

Supported commands

    spotify-cli now-playing
    spotify-cli play-pause
    spotify-cli previous
    spotify-cli next
    spotify-cli play-album <search-string>
    spotify-cli play-artist <search-string>
    spotify-cli play-track <search-string>

play-album, play-artist and play-track search for the supplied name using the spotify metadata API, and play the first result (if any).

search-string doesn't have to match the album or track title exactly - in fact you will probably get better results if you specify the artist name along with the album or track name e.g.

    spotify-cli play-album "sepultura arise"

More Repositories

1

ocaml-irc-client

OCaml IRC client library
OCaml
51
star
2

ocaml-osc

Pure OCaml implementation of the Open Sound Control protocol
OCaml
24
star
3

ocaml-webtest

Unit test framework compatible with js_of_ocaml
OCaml
18
star
4

ocaml-spotify-web-api

OCaml bindings to the Spotify web API
OCaml
17
star
5

mkaudio

CLI program for generating audio files
OCaml
14
star
6

ocaml-mvar

Threadsafe mutable variables for Unix threads
OCaml
9
star
7

ocaml-mpd-client

(Under construction) OCaml client library for Music Player Daemon
OCaml
7
star
8

ocaml-webaudio

js_of_ocaml bindings to the Web Audio API
OCaml
5
star
9

ocaml-mpris

OCaml client implementation of the MPRIS DBUS interface
OCaml
5
star
10

ocaml-nvml

OCaml bindings to the NVIDIA management library
OCaml
4
star
11

ocaml-spotify-web

DEPRECATED OCaml library for interacting with the web-based Spotify metadata API
OCaml
4
star
12

nvml-experiments

Some experiments with the NVIDIA management library
C
3
star
13

ocaml-promise-js

js_of_ocaml bindings to the Promise API
OCaml
3
star
14

ocaml-webaudio-example

Sandbox for testing https://github.com/johnelse/ocaml-webaudio
OCaml
2
star
15

ocaml-training

2
star
16

jenkins-lab

Scripts and things for experimenting with a Docker-based Jenkins cluster
Shell
2
star
17

.dotfiles

My config files. You probably don't want these.
Perl
2
star
18

rust-vst-experiments

Rust
1
star
19

ocaml-whatevs

A place for assorted bits of OCaml that didn't deserve their own repo
OCaml
1
star
20

docker-devenv

Simple docker-based development environment
Python
1
star
21

ocaml-events-from-c

Minimal demo for experimenting with passing OCaml event channels to C
OCaml
1
star
22

renoise-duplex-controllers

Renoise Duplex configurations for various MIDI controllers
Lua
1
star
23

dbus-sendmessage

C++
1
star
24

todo

todolist dashboard
JavaScript
1
star
25

eurovoter

Python
1
star
26

ring3bot

OCaml
1
star
27

ocamlspot-helpers

A vim plugin and python helper library for ocamlspotter
Vim Script
1
star
28

Altitude

An android app for determining the altitude above sea level at one's current location.
Java
1
star