Update music config (mopidy, ncmpcpp)
This commit is contained in:
70
music.org
70
music.org
@@ -1,23 +1,7 @@
|
||||
#+TITLE: Music/Sound Configuration
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
|
||||
* =pavucontrol= - Volume Control
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pavucontrol.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:CUSTOM_ID: pavucontrol
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[window]
|
||||
width=500
|
||||
height=400
|
||||
sinkInputType=1
|
||||
sourceOutputType=1
|
||||
sinkType=0
|
||||
sourceType=1
|
||||
showVolumeMeters=1
|
||||
#+END_SRC
|
||||
* =pwvucontrol= - Volume Control for Pipewire
|
||||
|
||||
* =mopidy= - Music Server
|
||||
:PROPERTIES:
|
||||
@@ -26,14 +10,43 @@ showVolumeMeters=1
|
||||
:CUSTOM_ID: mopidy
|
||||
:END:
|
||||
|
||||
Things done to get mopidy to work:
|
||||
#+begin_src bash :eval no :tangle no
|
||||
cd ~/.local/soft/
|
||||
git clone git@github.com:jellyfin/mopidy-jellyfin.git && cd mopidy-jellyfin
|
||||
python -m venv env --system-site-packages
|
||||
env/bin/python setup.py develop
|
||||
env/bin/pip install mopidy-mpd
|
||||
#+end_src
|
||||
|
||||
To run mopidy:
|
||||
#+begin_src bash :eval no :tangle no
|
||||
~/.local/soft/mopidy-jellyfin/env/bin/mopidy
|
||||
#+end_src
|
||||
|
||||
#+begin_src conf
|
||||
[core]
|
||||
cache_dir = ~/.cache/mopidy
|
||||
config_dir = ~/.config/mopidy
|
||||
data_dir = ~/.local/data/mopidy
|
||||
|
||||
[audio]
|
||||
output = queue2 max-size-buffers=20000 max-size-time=0 max-size-bytes=0 ! audioconvert ! pulsesink
|
||||
|
||||
[stream]
|
||||
enabled = true
|
||||
protocols =
|
||||
http
|
||||
https
|
||||
timeout = 30000
|
||||
|
||||
[mpd]
|
||||
enabled = true
|
||||
hostname = 127.0.0.1
|
||||
port = 6600
|
||||
password =
|
||||
max_connections = 20
|
||||
connection_timeout = 30
|
||||
connection_timeout = 60
|
||||
zeroconf = Mopidy MPD server on $hostname
|
||||
command_blacklist = listall,listallinfo
|
||||
default_playlist_scheme = m3u
|
||||
@@ -45,23 +58,14 @@ password = <<get-password(passname="music.tdehaeze.xyz/tdehaeze")>>
|
||||
libraries = Music
|
||||
albumartistsort = True
|
||||
album_format = {ProductionYear} - {Name}
|
||||
max_bitrate = 10000
|
||||
|
||||
[file]
|
||||
enabled = false
|
||||
media_dirs = /home/thomas/Music
|
||||
excluded_file_extensions =
|
||||
.db
|
||||
.directory
|
||||
.html
|
||||
.jpeg
|
||||
.jpg
|
||||
.log
|
||||
.nfo
|
||||
.pdf
|
||||
.png
|
||||
.txt
|
||||
.zip
|
||||
|
||||
[logging]
|
||||
verbosity = 4
|
||||
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
|
||||
color = true
|
||||
#+end_src
|
||||
|
||||
* =ncmpcpp= - Ncurses based MPD client
|
||||
@@ -163,6 +167,4 @@ def_key "+"
|
||||
volume_up
|
||||
def_key "-"
|
||||
volume_down
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user