~hristoast/mousikofidi

be93668dcfed13add4c510697651c1303443b72e — Hristos N. Triantafillou 6 months ago 233989e
Fix a bunch of broken links, mention keyboard controls
2 files changed, 18 insertions(+), 15 deletions(-)

M site/setup.html
M site/user_guide.html
M site/setup.html => site/setup.html +7 -10
@@ 192,8 192,7 @@ ls -d ~/.local/lib/python3.*/site-packages/mousikofidi/static
chmod 0755 ~/.local
chmod 0755 ~/.local/lib
chmod 0755 ~/.local/lib/python3.*
chmod 0755 ~/.local/lib/python3.*/site-packages
</code></pre>
chmod 0755 ~/.local/lib/python3.*/site-packages</code></pre>

<h3>Configuring MousikóFídi</h3>



@@ 202,8 201,7 @@ chmod 0755 ~/.local/lib/python3.*/site-packages
</p>

<pre><code>sudo su - fidi
mousikofidi --dev
</code></pre>
mousikofidi --dev</code></pre>

<p>
  The first time you run MousikóFídi, a config file will be generated at <code>$HOME/.config/fidi/config.toml</code>.  You can view the contents of this file <a href="https://git.sr.ht/~hristoast/mousikofidi/tree/0349b2c34108638fcaad79a445d4ae7df5eaf58c/mousikofidi/mousikofidi.py#L54-108">in the MousikóFídi source code</a>.


@@ 214,11 212,10 @@ mousikofidi --dev
</p>

<pre><code>sudo su - fidi
vi ~/.config/fidi/config.toml
</code></pre>
vi ~/.config/fidi/config.toml</code></pre>

<p>
  See <a href="https://mousikofidi.info/config/#music-dirs">the Config Guide</a> as well as <a href="https://mousikofidi.info/user_guide/#adding-your-collection">the User's Guide</a> for more information.
  See <a href="/config/#library-dirs">the Config Guide</a> as well as <a href="/user_guide/#adding-your-collection">the User's Guide</a> for more information.
</p>

<p>


@@ 240,7 237,7 @@ vi ~/.config/fidi/config.toml
</p>

<pre><code>sudo su - fidi
curl -o ~/.config/fidi/uwsgi.ini https://git.sr.ht/~hristoast/mousikofidi/blob/master/example/uwsgi.ini
curl -o ~/.config/fidi/uwsgi.ini https://git.sr.ht/~hristoast/mousikofidi/blob/master/mousikofidi/example/uwsgi.ini
</code></pre>

<p>


@@ 355,7 352,7 @@ sudo chmod 0750 /opt/fidi/tmp
  Copy this file to where nginx configs are kept:
</p>

<pre><code>curl -o fidi-nginx.conf https://git.sr.ht/~hristoast/mousikofidi/blob/master/example/fidi-nginx.conf
<pre><code>curl -o fidi-nginx.conf https://git.sr.ht/~hristoast/mousikofidi/blob/master/mousikofidi/example/fidi-nginx.conf
sudo cp -iv fidi-nginx.conf /etc/nginx/sites-available/
</code></pre>



@@ 654,6 651,6 @@ sv down fidi
</p>

<pre><code>test -d ~/.config/systemd/user || mkdir -p ~/.config/systemd/user
curl -o ~/.config/systemd/user/mousikofidi.service https://git.sr.ht/~hristoast/mousikofidi/blob/master/example/mousikofidi.service
curl -o ~/.config/systemd/user/mousikofidi.service https://git.sr.ht/~hristoast/mousikofidi/blob/master/mousikofidi/example/mousikofidi.service
systemctl --user enable --now mousikofidi.service
</code></pre>

M site/user_guide.html => site/user_guide.html +11 -5
@@ 73,7 73,7 @@
<h2>Server Admin</h2>

<p>
  Working with the MousikóFídi process after it's been installed.  The below items assume that <a href="https://mousikofidi.info/setup/">the setup guide</a> has been followed.
  Working with the MousikóFídi process after it's been installed.  The below items assume that <a href="/setup/">the setup guide</a> has been followed.
</p>

<h3>Stopping MousikóFídi</h3>


@@ 99,7 99,7 @@ mousikofidi --reload ~/run/mousikfdi.pid</code></pre>
<h4>Via Pip</h4>

<p>
  If you've installed MousikóFídi via <code>pip</code> as <a href="https://mousikofidi.info/setup/#installing-mousik--f--di">per the setup guide</a>, it can be upgraded like this:
  If you've installed MousikóFídi via <code>pip</code> as <a href="/setup/#installing-mousik--f--di">per the setup guide</a>, it can be upgraded like this:
</p>

<pre><code>pip3 install --upgrade --user MousikoFidi


@@ 161,11 161,11 @@ python3 -m pip install --user --upgrade git+https://git.sr.ht/~hristoast/mousiko
<h2>Adding Your Collection</h2>

<p>
  As described in <a href="https://mousikofidi.info/config/">the configuration guide</a>, paths to your music and video collections should be added to the config file in order to be made available with MousikóFídi.
  As described in <a href="/config/">the configuration guide</a>, paths to your music and video collections should be added to the config file in order to be made available with MousikóFídi.
</p>

<p>
  On Linux and similar systems, often times a user's home directory is set up with permissions that are too tight for <a href="https://mousikofidi.info/setup/#creating-the-fidi-user">the recommended setup</a> of MousikóFídi.
  On Linux and similar systems, often times a user's home directory is set up with permissions that are too tight for <a href="/setup/#creating-the-fidi-user">the recommended setup</a> of MousikóFídi.
</p>

<p>


@@ 311,7 311,7 @@ dirs = [
<h4> A Playlist</h4>

<p>
  At the bottom of each Playlist Detail page is a button labeled "Delete Playlist ..." that can be used to delete a playlist file, provided that <a href="https://mousikofidi.info/config/#playlist-allow-delete"><code>playlist.allow_delete</code></a> is enabled in your MousikóFídi config.
  At the bottom of each Playlist Detail page is a button labeled "Delete Playlist ..." that can be used to delete a playlist file, provided that <a href="/config/#playlists-allow-delete"><code>playlist.allow_delete</code></a> is enabled in your MousikóFídi config.
</p>

<p>


@@ 402,6 402,12 @@ dirs = [
  The MousikóFídi player volume controls will save volume levels for each player. Use the slider or the -/+ buttons to adjust the volume level, and it will perist as you browse your collection.
</p>

<h3>Keyboard Controls</h3>

<p>
  MousikóFídi provides keyboard shortcuts for common player functions. Read more about it <a href="/config/#key-bindings">on the config page</a>.
</p>

<h2>The Queue</h2>

<p>