literate-dotfiles/docs/music.html

269 lines
9.9 KiB
HTML
Raw Normal View History

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>
2022-05-09 10:05:23 +02:00
<!-- 2022-05-09 lun. 10:04 -->
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="author" content="Dehaeze Thomas" />
2021-04-25 19:10:57 +02:00
<meta name="generator" content="Org Mode" />
2021-01-01 20:12:34 +01:00
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.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>
2022-05-09 10:05:23 +02:00
</div><div id="content" class="content">
2020-01-11 22:04:45 +01:00
<h1 class="title">Music/Sound Configuration</h1>
2022-05-09 10:05:23 +02:00
<div id="table-of-contents" role="doc-toc">
2020-01-11 22:04:45 +01:00
<h2>Table of Contents</h2>
2022-05-09 10:05:23 +02:00
<div id="text-table-of-contents" role="doc-toc">
2020-01-11 22:04:45 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#pavucontrol"><code>pavucontrol</code> - Volume Control</a></li>
<li><a href="#mopidy"><code>mopidy</code> - Music Server</a></li>
<li><a href="#ncmpcpp"><code>ncmpcpp</code> - Ncurses based MPD client</a>
2020-01-11 22:04:45 +01:00
<ul>
2022-05-09 10:05:23 +02:00
<li><a href="#org88dfeba">Config</a></li>
<li><a href="#org4ea9864">Bindings</a></li>
2020-01-11 22:04:45 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#beets"><code>beets</code> - Media library management</a></li>
<li><a href="#curseradio"><code>curseradio</code> - Radio with curseradio</a></li>
2020-01-11 22:04:45 +01:00
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-pavucontrol" class="outline-2">
<h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2>
<div class="outline-text-2" id="text-pavucontrol">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf">[<span class="org-type">window</span>]
<span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span>
<span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span>
<span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span>
2020-01-11 22:04:45 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-mopidy" class="outline-2">
<h2 id="mopidy"><code>mopidy</code> - Music Server</h2>
<div class="outline-text-2" id="text-mopidy">
<div class="org-src-container">
2021-10-25 14:37:10 +02:00
<pre class="src src-conf">[<span class="org-type">mpd</span>]
2021-01-08 01:43:48 +01:00
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">hostname</span> = 127.0.0.1
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">password</span> =
<span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span>
<span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span>
<span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u
2021-01-01 20:12:34 +01:00
2021-01-08 01:43:48 +01:00
[<span class="org-type">jellyfin</span>]
2021-04-25 19:10:57 +02:00
<span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz
2021-01-08 01:43:48 +01:00
<span class="org-variable-name">username</span> = tdehaeze
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
<span class="org-variable-name">libraries</span> = Music
<span class="org-variable-name">albumartistsort</span> = True
<span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
2021-04-25 19:10:57 +02:00
<span class="org-variable-name">max_bitrate</span> = <span class="org-highlight-numbers-number">10000</span>
2021-01-01 20:12:34 +01:00
2021-01-08 01:43:48 +01:00
[<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> =
.db
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
</div>
<div id="outline-container-ncmpcpp" class="outline-2">
<h2 id="ncmpcpp"><code>ncmpcpp</code> - Ncurses based MPD client</h2>
<div class="outline-text-2" id="text-ncmpcpp">
2020-01-11 22:04:45 +01:00
<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>
2022-05-09 10:05:23 +02:00
<div id="outline-container-org88dfeba" class="outline-3">
<h3 id="org88dfeba">Config</h3>
<div class="outline-text-3" id="text-org88dfeba">
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">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.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">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost
<span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">mpd_music_dir</span> = ~/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">
2022-05-09 10:05:23 +02:00
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = notify-send --hint=string:x-dunst-stack-tag:Z7uCd3ZP <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span>
2020-01-11 22:04:45 +01:00
</pre>
</div>
2021-01-01 20:12:34 +01:00
<p>
Better user interface
</p>
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf"><span class="org-variable-name">user_interface</span> = <span class="org-string">"alternative"</span>
<span class="org-variable-name">playlist_editor_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">search_engine_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">browser_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">playlist_display_mode</span> = <span class="org-string">"columns"</span>
2021-01-01 20:12:34 +01:00
</pre>
</div>
<p>
Sorting by tracking number and then title
</p>
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf"><span class="org-variable-name">browser_sort_mode</span> = <span class="org-string">"format"</span>
<span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</span>
2021-01-01 20:12:34 +01:00
</pre>
</div>
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf"><span class="org-variable-name">ask_before_clearing_playlists</span> = <span class="org-string">"no"</span>
2021-01-01 20:12:34 +01:00
</pre>
</div>
2020-01-11 22:04:45 +01:00
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-org4ea9864" class="outline-3">
<h3 id="org4ea9864">Bindings</h3>
<div class="outline-text-3" id="text-org4ea9864">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf">def_key <span class="org-string">"q"</span>
run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span>
def_key <span class="org-string">"Q"</span>
quit
def_key <span class="org-string">"g"</span>
move_home
def_key <span class="org-string">"G"</span>
move_end
def_key <span class="org-string">"j"</span>
scroll_down
def_key <span class="org-string">"k"</span>
scroll_up
def_key <span class="org-string">"ctrl-u"</span>
page_up
def_key <span class="org-string">"ctrl-d"</span>
page_down
def_key <span class="org-string">"l"</span>
enter_directory
def_key <span class="org-string">"h"</span>
jump_to_parent_directory
def_key <span class="org-string">"."</span>
show_lyrics
def_key <span class="org-string">"n"</span>
next_found_item
def_key <span class="org-string">"N"</span>
previous_found_item
def_key <span class="org-string">"J"</span>
move_sort_order_down
def_key <span class="org-string">"K"</span>
move_sort_order_up
def_key <span class="org-string">"d"</span>
delete_playlist_items
def_key <span class="org-string">"+"</span>
volume_up
def_key <span class="org-string">"-"</span>
volume_down
2020-01-11 22:04:45 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-beets" class="outline-2">
<h2 id="beets"><code>beets</code> - Media library management</h2>
<div class="outline-text-2" id="text-beets">
2020-01-11 22:04:45 +01:00
<p>
<a href="http://beets.io/">http://beets.io/</a>
</p>
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf">directory: ~/Music
library: ~/Music/musiclibrary.db
art_filename: cover
2020-01-11 22:04:45 +01:00
2021-01-08 01:43:48 +01:00
import:
move: yes
2020-03-01 22:51:16 +01:00
2021-01-08 01:43:48 +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
2021-01-01 20:12:34 +01:00
<div id="outline-container-curseradio" class="outline-2">
<h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2>
<div class="outline-text-2" id="text-curseradio">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2021-01-08 01:43:48 +01:00
<pre class="src src-conf">[<span class="org-type">opml</span>]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/
2020-11-03 16:27:09 +01:00
2021-01-08 01:43:48 +01:00
[<span class="org-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv
2020-11-03 16:27:09 +01:00
2021-01-08 01:43:48 +01:00
[<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi
2020-11-03 16:27:09 +01:00
2021-01-08 01:43:48 +01:00
[<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k
<span class="org-variable-name">down</span> = j
<span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">end</span> = $
<span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = 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>
2022-05-09 10:05:23 +02:00
<p class="date">Created: 2022-05-09 lun. 10:04</p>
2020-01-11 22:04:45 +01:00
</div>
</body>
</html>