Add Mopidy to have spotify working with ncmpcpp

This commit is contained in:
Thomas Dehaeze 2019-03-26 12:09:14 +01:00
parent c49535a51f
commit b1bf2b1e7b

View File

@ -593,7 +593,6 @@ mpd_music_dir = ~/Music
move_sort_order_up move_sort_order_up
#+end_src #+end_src
* MPD * MPD
:PROPERTIES: :PROPERTIES:
:header-args:conf: :tangle ~/.config/mpd/mpd.conf :header-args:conf: :tangle ~/.config/mpd/mpd.conf
@ -996,3 +995,30 @@ library: ~/Music/musiclibrary.db
import: import:
move: yes move: yes
#+END_SRC #+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