LoginSignup
1
1

More than 5 years have passed since last update.

mopidy をコマンドラインから操作する

Posted at

前置き

RaspberryPiをSpotifyサーバにしてWebブラウザからコントロールするのには成功したので、これをリモートのコマンドラインからから操作してみる。

参照

MPD(Music Player Daemon)だから、それコントロールするmpc使えばいいらしい。
- Control mopidy via remote commandline
- mpc(1) - Linux man page

Homebrewでインストール

Mac上にインストール。あったー。さっくりとインストール
shell
$ brew search mpc
$ brew install mpc

$ mpc -h 192.168.11.11 -p 6600 stop
volume: 96%   repeat: off   random: off   single: off   consume: off
$ mpc -h 192.168.11.11 -p 6600 play
volume: 96%   repeat: off   random: off   single: off   consume: off

無事出来ましたとさ。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1