2020-01-11 22:04:45 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
|
|
<head>
|
2020-05-26 08:40:15 +02:00
|
|
|
<!-- 2020-05-26 mar. 08:40 -->
|
2020-01-11 22:04:45 +01:00
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
<title>Music/Sound Configuration</title>
|
|
|
|
<meta name="generator" content="Org mode" />
|
|
|
|
<meta name="author" content="Dehaeze Thomas" />
|
2020-01-11 22:22:46 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
|
|
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
2020-01-11 22:04:45 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="org-div-home-and-up">
|
|
|
|
<a accesskey="h" href="./index.html"> UP </a>
|
|
|
|
|
|
|
|
|
<a accesskey="H" href="./index.html"> HOME </a>
|
|
|
|
</div><div id="content">
|
|
|
|
<h1 class="title">Music/Sound Configuration</h1>
|
|
|
|
<div id="table-of-contents">
|
|
|
|
<h2>Table of Contents</h2>
|
|
|
|
<div id="text-table-of-contents">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org1984a25">Pavu Control</a></li>
|
|
|
|
<li><a href="#orga2274a9">NCMPCPP</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orgc496501">Config</a></li>
|
|
|
|
<li><a href="#orgef62173">Bindings</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#org4ad4c04">Beets</a></li>
|
|
|
|
<li><a href="#org887303a">Mopidy</a></li>
|
|
|
|
<li><a href="#org6b37adb">Radio with curseradio</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org1984a25" class="outline-2">
|
|
|
|
<h2 id="org1984a25">Pavu Control</h2>
|
|
|
|
<div class="outline-text-2" id="text-org1984a25">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">[window]
|
|
|
|
width=500
|
|
|
|
height=400
|
|
|
|
sinkInputType=1
|
|
|
|
sourceOutputType=1
|
|
|
|
sinkType=0
|
|
|
|
sourceType=1
|
|
|
|
showVolumeMeters=1
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orga2274a9" class="outline-2">
|
|
|
|
<h2 id="orga2274a9">NCMPCPP</h2>
|
|
|
|
<div class="outline-text-2" id="text-orga2274a9">
|
|
|
|
<p>
|
|
|
|
<a href="https://rybczak.net/ncmpcpp/">https://rybczak.net/ncmpcpp/</a>
|
|
|
|
Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/~jelle/ncmpcpp/</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc496501" class="outline-3">
|
|
|
|
<h3 id="orgc496501">Config</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgc496501">
|
2020-03-01 22:51:16 +01:00
|
|
|
<p>
|
|
|
|
Configuration directory.
|
|
|
|
</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">ncmpcpp_directory = ~/.config/ncmpcpp
|
2020-01-28 21:32:38 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<p>
|
|
|
|
MPD Configuration.
|
|
|
|
</p>
|
2020-01-28 21:32:38 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">mpd_host = localhost
|
|
|
|
mpd_port = 6600
|
|
|
|
mpd_music_dir = ~/Music
|
2020-01-28 21:32:38 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<p>
|
|
|
|
Notification of song change.
|
|
|
|
</p>
|
2020-01-28 21:32:38 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">execute_on_song_change = dunstify --replace=19845 "Now Playing ♫" "$(mpc current)"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgef62173" class="outline-3">
|
|
|
|
<h3 id="orgef62173">Bindings</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgef62173">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">def_key "q"
|
|
|
|
run_external_command "if [ $TMUX ]; then tmux detach; fi"
|
|
|
|
def_key "Q"
|
2020-03-19 10:42:30 +01:00
|
|
|
quit
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "g"
|
2020-01-11 22:04:45 +01:00
|
|
|
move_home
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "G"
|
2020-01-11 22:04:45 +01:00
|
|
|
move_end
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "j"
|
2020-01-11 22:04:45 +01:00
|
|
|
scroll_down
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "k"
|
2020-01-11 22:04:45 +01:00
|
|
|
scroll_up
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "ctrl-u"
|
2020-01-11 22:04:45 +01:00
|
|
|
page_up
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "ctrl-d"
|
2020-01-11 22:04:45 +01:00
|
|
|
page_down
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "l"
|
2020-01-11 22:04:45 +01:00
|
|
|
enter_directory
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "h"
|
2020-01-11 22:04:45 +01:00
|
|
|
jump_to_parent_directory
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "."
|
2020-01-11 22:04:45 +01:00
|
|
|
show_lyrics
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "n"
|
2020-01-11 22:04:45 +01:00
|
|
|
next_found_item
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "N"
|
2020-01-11 22:04:45 +01:00
|
|
|
previous_found_item
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "J"
|
2020-01-11 22:04:45 +01:00
|
|
|
move_sort_order_down
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "K"
|
2020-01-11 22:04:45 +01:00
|
|
|
move_sort_order_up
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "d"
|
2020-01-11 22:04:45 +01:00
|
|
|
delete_playlist_items
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "+"
|
2020-01-11 22:04:45 +01:00
|
|
|
volume_up
|
2020-05-26 08:40:15 +02:00
|
|
|
def_key "-"
|
2020-01-11 22:04:45 +01:00
|
|
|
volume_down
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org4ad4c04" class="outline-2">
|
|
|
|
<h2 id="org4ad4c04">Beets</h2>
|
|
|
|
<div class="outline-text-2" id="text-org4ad4c04">
|
|
|
|
<p>
|
|
|
|
<a href="http://beets.io/">http://beets.io/</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">directory: ~/Music
|
|
|
|
library: ~/Music/musiclibrary.db
|
2020-03-01 22:51:16 +01:00
|
|
|
art_filename: cover
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
import:
|
|
|
|
move: yes
|
2020-03-01 22:51:16 +01:00
|
|
|
|
|
|
|
plugins: fromfilename discogs
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-28 21:32:38 +01:00
|
|
|
|
2020-01-11 22:04:45 +01:00
|
|
|
<div id="outline-container-org887303a" class="outline-2">
|
|
|
|
<h2 id="org887303a">Mopidy</h2>
|
|
|
|
<div class="outline-text-2" id="text-org887303a">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">[spotify]
|
|
|
|
username = dehaeze.thomas@gmail.com
|
|
|
|
password = <<get-password(passname="spotify.com/dehaeze.thomas@gmail.com")>>
|
|
|
|
client_id = 9dd02534-f038-46d8-946e-bfe72498204e
|
|
|
|
client_secret = <<get-password(passname="spotify/client_secret")>>
|
|
|
|
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
|
|
|
|
|
|
|
|
[file]
|
|
|
|
enabled = true
|
|
|
|
media_dirs = /home/thomas/Music
|
|
|
|
excluded_file_extensions =
|
2020-03-01 22:51:16 +01:00
|
|
|
.db
|
|
|
|
.directory
|
|
|
|
.html
|
|
|
|
.jpeg
|
|
|
|
.jpg
|
|
|
|
.log
|
|
|
|
.nfo
|
|
|
|
.pdf
|
|
|
|
.png
|
|
|
|
.txt
|
|
|
|
.zip
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org6b37adb" class="outline-2">
|
|
|
|
<h2 id="org6b37adb">Radio with curseradio</h2>
|
|
|
|
<div class="outline-text-2" id="text-org6b37adb">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">[opml]
|
|
|
|
root = http://opml.radiotime.com/
|
|
|
|
|
|
|
|
[playback]
|
|
|
|
command = /usr/bin/mpv
|
|
|
|
|
|
|
|
[interface]
|
|
|
|
keymap = vi
|
|
|
|
|
|
|
|
[keymap.vi]
|
|
|
|
up = k
|
|
|
|
down = j
|
|
|
|
start = 0
|
|
|
|
end = $
|
|
|
|
pageup = u
|
|
|
|
pagedown = d
|
|
|
|
enter = l
|
|
|
|
stop = p
|
|
|
|
exit = q
|
|
|
|
favourite = f
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="postamble" class="status">
|
|
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
2020-05-26 08:40:15 +02:00
|
|
|
<p class="date">Created: 2020-05-26 mar. 08:40</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|