Parula
  • Parula
  • User
    • Clock
    • Music
    • Jokes
    • Calendar
    • Shopping list
    • Lights
    • Facts
  • Setup
    • Installation
    • Music library
    • Calendar
  • Develop
    • How Parula works
    • Voice application
      • Create the stub files
      • Intents JSON
  • Voice application via WebSocket
Powered by GitBook
On this page
  1. Setup

Music library

Play your music archive

PreviousInstallationNextCalendar

Last updated 1 year ago

Parula uses the excellent music server to play your music and Internet radio stations. We hope you will enjoy mpd even outside of Parula.

  1. Install mpd: # apt install mpd mpc

  2. Configure the directory where your music files are.

    • If your music library is on the local disk: mpc mount local /path/to/music/

    • If your music library is on a USB stick: mpc mount mystick udisks://by-uuid-2F2B-D136

    • If your music library is on a Samba file server: mpc mount myserver smb://myserver/music/

    • If your music library is on an NFS file server: mpc mount myserver nfs://myserver/music/

    • Alternatively:

      1. Edit /etc/mpd.conf

      2. Change music_directory to the directory where your music files are.

      3. Restart the mpd server:# systemctl restart mpd.service

  3. (Skip this unless you hear no music.) Configure the sound output via PulseAudio and the right sound device.

    1. It may already be correct by default, depending on your Linux distribution and setup. If not:

    2. Find the right audio device: $ pacmd list-sinks | grep "name:"

    3. Edit /etc/mpd.conf

    4. audio_output {
             type            "pulse"
             name            "Parula - Device speaker"
             server          "localhost"
             sink            "alsa_output.usb-...analog-stereo"
      }
    5. Restart the mpd server:# systemctl restart mpd.service

  4. Activate the new config

    1. Enable at boot:# systemctl enable mpd.service

    2. Scan your music library: mpc update --wait

  5. Test it with some .

    1. # apt install gmpc

    2. $ mpc status

    3. Start menu | Multimedia | GNOME Music Player Client

    4. You can also control playback with your smartphone by using the mpdroid client ( via , or ).

    5. Once that works, ...

  6. Try some

mpd
native mpd clients
APK
F-Droid
Google Play Store
voice commands for calendar