Skip to content

sarigue/deezer-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

deezer-cli

Introduction

deezer-cli is a command line interface to Deezer. It consumes the ability of AppleScript on OSX to send JavaScript commands to any Safari instance.

In the current setup Deezer is set as the second tab in Safari. Therefore, any command will target the second tab of the first Safari instance AppleScript will get hold on.

Available commands

deezer play
deezer pause
deezer next
deezer state
deezer title
deezer goto url

Example

$ deezer state
▶
$ deezer title
Motörhead - Shine
$ deezer pause
$ deezer state
◼
$ deezer next
$ deezer title
The Mars Volta - Televators
$ deezer play
$ deezer state
▶

Setup

You will have to explicitly grant the right of accessing web contents with JavaScript to AppleScript. This can be done by activating Allow JavaScript from Apple Events option in Safari.

About

A Deezer command line interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%