Add Mopidy to have spotify working with ncmpcpp
This commit is contained in:
parent
c49535a51f
commit
b1bf2b1e7b
@ -593,7 +593,6 @@ mpd_music_dir = ~/Music
|
||||
move_sort_order_up
|
||||
#+end_src
|
||||
|
||||
|
||||
* MPD
|
||||
:PROPERTIES:
|
||||
:header-args:conf: :tangle ~/.config/mpd/mpd.conf
|
||||
@ -990,9 +989,36 @@ audio_output {
|
||||
http://beets.io/
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
directory: ~/Music
|
||||
library: ~/Music/musiclibrary.db
|
||||
directory: ~/Music
|
||||
library: ~/Music/musiclibrary.db
|
||||
|
||||
import:
|
||||
import:
|
||||
move: yes
|
||||
#+END_SRC
|
||||
* Mopidy
|
||||
:PROPERTIES:
|
||||
:header-args:conf: :tangle ~/.config/mopidy/mopidy.conf
|
||||
:header-args:conf+: :comments none :mkdirp yes
|
||||
:END:
|
||||
#+BEGIN_SRC conf
|
||||
[spotify]
|
||||
username = dehaeze.thomas@gmail.com
|
||||
password = ***REMOVED***
|
||||
client_id = 17a94fc1-ddbb-4ae2-ba15-52166794fb35
|
||||
client_secret = 2M0E5kQip6E0NwLf4OV_nm_LLfl6OWIftcCnjMkD5fs=
|
||||
bitrate = 320
|
||||
|
||||
[mpd]
|
||||
enabled = true
|
||||
hostname = 127.0.0.1
|
||||
port = 6600
|
||||
password =
|
||||
max_connections = 20
|
||||
connection_timeout = 60
|
||||
zeroconf = Mopidy MPD server on $hostname
|
||||
command_blacklist = listall,listallinfo
|
||||
default_playlist_scheme = m3u
|
||||
|
||||
[audio]
|
||||
output = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user