~hristoast/hristoast

b15401419e4ebf91ee426189f1e4bd069e8e7221 — Hristos N. Triantafillou 4 months ago a2f26a5
Clarify the state of my usage of MPD + bluetooth
2 files changed, 19 insertions(+), 9 deletions(-)

M site/mpd-my-setup-2018.html
M site/mpd-through-a-bluetooth-speaker.html
M site/mpd-my-setup-2018.html => site/mpd-my-setup-2018.html +11 -7
@@ 1,18 1,22 @@
<h1 id="title">MPD: My Setup 2018</h1>

<div id="dates">
  <span>Posted: <time id="post-date">2018-04-21</time> | Updated: <time>2018-04-27</time></span>
  <span>Posted: <time id="post-date">2018-04-21</time> | Updated: <time>2020-12-10</time></span>
</div>

<p><span class="bold">UPDATE</span>: Of course not even a week after I posted this, I've made yet another tweak -- see the Bonus section at the end of the entry for more details.</p>

<p>
  It's also worth mentioning that since I published this and the updated entry, I've stopped using a Bluetooth speaker with MPD. There were just too many issues with reliability and "lag" that I now connect my bluetooth speaker with an audio cable. A fair warning for those that want to go down this path.
</p>

<p id="post-excerpt">
  I figured it was time for a follow-up to my previous entries on MPD that describes the current state of my setup with all of its evolutions.  Here we go!
</p>

<div id="toc"></div>

<h4 id="server"><a style="color: #222; text-decoration: none;" href="#server">The Server</a></h4>
<h4 id="server">The Server</h4>

<p>The server config has changed just slightly:</p>



@@ 51,7 55,7 @@ audio_output {
  <li>Replaygain (see <code>man mpd.conf</code> for more details) turned off.</li>
</ul>

<h4 id="client"><a style="color: #222; text-decoration: none;" href="#client">The Client</a></h4>
<h4 id="client">The Client</h4>

<p>I'm still rocking <code>ncmpcpp</code> but I've updated the config a bit:</p>



@@ 73,7 77,7 @@ visualizer_look = "◆▋"</code></pre>

<p>In addition to <code>ncmpcpp</code>, I'm also using <a href="https://f-droid.org/en/packages/org.gateshipone.malp/">M.A.L.P.</a> to remotely control my MPD server from my android device.</p>

<h4 id="controls"><a style="color: #222; text-decoration: none;" href="#controls">The Controls</a></h4>
<h4 id="controls">The Controls</h4>

<p>Here's where things get interesting. I recently bought a keyboard with some music control buttons on it and I wanted to actually be able to use these (it's a Logitech G610 if you are curious about the exact keys/keyboard.) In all I would need to set up bindings for:</p>



@@ 123,11 127,11 @@ visualizer_look = "◆▋"</code></pre>

<p>With a little bit of configuration, I now have working music control keys and they do in fact work quite slick-ly!</p>

<h4 id="speakers"><a style="color: #222; text-decoration: none;" href="#speakers">The Speakers</a></h4>
<h4 id="speakers">The Speakers</h4>

<p>Nothing has really changed with my speaker setup; I'm still using both my laptop speakers as well as some external bluetooth speakers.  What has changed is how I interract with them, specifically the wrapper scripts for volume and muting that I touched upon above. Details about them might come in a future entry.</p>

<h4 id="bonus"><a style="color: #222; text-decoration: none;" href="#bonus">The Bonus!</a></h4>
<h4 id="bonus">The Bonus!</h4>

<p>
  Wouldn't it be great if we could broadcast our MPD via HTTP? Yeah? I agree! To that end, I added the below to the bottom of my <code>/etc/mpd.conf</code>:


@@ 163,6 167,6 @@ visualizer_look = "◆▋"</code></pre>

<pre><code>$ mpc disable "My HTTP Stream"</code></pre>

<h4 id="the-end"><a href="#the-end" style="color: #222; text-decoration: none;">The End?</a></h4>
<h4 id="the-end">The End?</h4>

<p>I'm quite happy with my setup but am of course always on the lookout for new things I can improve. Even config files I don't touch for years can sometimes undergo small changes and yield vast improvements.  Until next time!</p>

M site/mpd-through-a-bluetooth-speaker.html => site/mpd-through-a-bluetooth-speaker.html +8 -2
@@ 1,10 1,16 @@
<h1 id="title">MPD through a bluetooth speaker</h1>

<div id="dates">
  <span>Posted: <time id="post-date">2017-02-25</time> | Updated: <time>2018-04-21</time></span>
  <span>Posted: <time id="post-date">2017-02-25</time> | Updated: <time>2020-12-10</time></span>
</div>

<p><span class="bold">UPDATE:</span> be sure to check out <a href="/mpd-my-setup-2018/">my updated entry on MPD</a>!</p>
<p>
  <span class="bold">UPDATE:</span> be sure to check out <a href="/mpd-my-setup-2018/">my updated entry on MPD</a>!
</p>

<p>
  It's also worth mentioning that since I published this and the updated entry, I've stopped using a Bluetooth speaker with MPD. There were just too many issues with reliability and "lag" that I now connect my bluetooth speaker with an audio cable. A fair warning for those that want to go down this path.
</p>

<p id="post-excerpt">
  I recently grabbed a bluetooth speaker, intending to mostly use it with my phone, but I quickly found myself wanting to play my laptop's MPD through it. Today I'll describe how I got it going - and In the process we'll also resolve some issues with the setup described in <a href="/mpd-local-listening/">my other MPD post</a>.  The process was pretty straight forward but it didn't just work so I figured I would talk about it a bit here.