*  Nanopi Neo2 for Sound source

Nanopi-neo2 SPDIF Dietpi Music Server DIY

Flag Counter

Your Browzer and +OS is

Your OS of PC is
show and indicates X11 U,Linux,BSD if see those/you are using BSD/Linux/Unix family
Smart phone are Linux or BSD UNIX

Japanese to Engish translated by Google Translate has been converted to English. Please understand that the English text is not a complete translation.

🇯🇵Dietpi-Nanopi-Neo2-Music Server Japanese



If you are using IPV6 and you can not get sound please add bind_to_address "" at mpd.conf

real size of Nanopi

heat sink

Be sure to purchase a heat sink when purchasing. Cannot be used alone

Real Size of Nanopi-Neo2 Cheap and beautiful board construction 40 mm x 40 mm

Since there is no suitable OS, please try only those who can use U-Boot and those who know how to operate Linux that can use Armbian and Dietpi.
Dietpi Music Server

allemande 2A3

Allemande 2A3 Single-Ended Amplifier


Audio Line is just this, Nanopi-Neo2 and self-made DAC only. DACs are DIY made and commercially available SPDIF input DACs, and there are products from about $ 20 to several hundred dollars.
Connect an amplifier to the output of that DAC.
If you do the same thing with Raspberry pi, you will need an SPDIF conversion board. Place a board called a hat on the Raspberry pi.

I will explain below.
Be sure to attach the heat sink. Purchase a dedicated heat sink (400 yen) at the store where you purchased the Nano. Install the heat sink before connecting the power supply, and then boot.
By the way, Boots has the same meaning and writing style as boots. As mentioned on the purchase site, Nanopi's pi is python's Pi (pi-py). Compatibility between Nanopi-Neo and Neo2
No, it means that the CPU is different. In other words, Neo is 32bit (H3) and Neo2 is 64bit (H5). It seems that it can be used for anything. With ssh you don't need a monitor.
In the case of this OS, if you reboot, # reboot will not reboot and the power will be turned off. It was OK with # shutdown -r now.
# shutdown -h now will turn off the power. At first I installed debian, but there was nothing wrong with it, but I don't know the repository and I can't install mpd.
I can't help but boot to Ubuntu, but when I look at the file name, the suffix is ​​Neo. I didn't understand this, and when I looked closely after half a day, it was for Neo.
You can install anything on x86 etc., but was it about 10 years ago that you separated for 32-bit and 64-bit? In other words, this Neo is also available for 32-bit and 64-bit.
Get the 64-bit version from the link.
Before I bought it, I had a lot of trouble, I don't have an HDMI terminal. It's just an ARM board with a LAN port. I got used to SSH from my experience with Raspberry Pi, so
I didn't have a big problem, but it was my impression of using it. Since the AC adapter is 1A or less, it is OK with the power supply of the smartphone, the main unit price is 2600 yen (Akizuki) There is a LAN,
If you have a host PC, you can experiment. LAN cables are also available at 100%, so the most expensive parts are DAC and micro SD? Experiment with a total system of about 6000 yen
It is possible. What does the OS use? Use Dietpi or Armbian. Please go to each site and download the OS for Nanopi-Neo2.

Raspberrypi or Nanopineo2 is required to create a music server. Nanopineo2 or Pine64 is required for SPDIF output. If you can, please use Nanopi-Neo2 or Pine64.
OS is each version of Dietpi and Armbian. In the case of Raspberry pi, it will be Raspbian, each OS. For MPD, get the source of each version of MPD. If you can access with SSH
Right-click with the mouse Copy the URL of the source and # wget then drag URL it to the specified location. Please decide a specific place for the place. After that,
decompress and compile the source, but each user needs to compile the library.
Please install by yourself. The basic names of the libraries are listed on this site, but if you get an error during compilation you will need to manually install the missing libraries.
In some cases, you may have to compile the source and install the library. Most libraries can be installed with the name # apt install library. Installation by all means
If you can't, you'll have to compile the source. All libraries may be installed by adding # apt install abcde * "*".

This one-board price is good, it's big, it consumes less power, and I think it's a very good one-board PC to learn Linux, but you need a main PC
Dietpi Music Server

OS down load


Can not get buster Deitpi any more ,so please try to use Armbian or Dietpi-Buster copydietpi

Installation of Python and Ninja This time it will be Dietpi Bullseye

Note:please install c++ cmake and xz-utils before install ninja and meson.nanopi is arm7 so take time install ninja.
  I was able to do it well at first, but I brought the source and installed it, but due to the change in the compilation method, I made it possible to install Ubuntu (Debian) conveniently.
It was possible to install with apt-get. Both Python and pip can now be installed with apt-get install. Python is also installed by specifying the version.
Ninja etc. takes a lot of time to install, I remember that it was possible to install faster using git etc. meson and ninja are installed using pip,
I feel that it was faster to download and install the archive. So, it became as follows. It is difficult to install meson and it is difficult to understand English.
The developers are probably Latin people, and they can't explain enough English, and when I go to a Japanese site, they don't translate well from English to Japanese, so it's complicated. I want you to translate without using a translator.
I ended up using Bullseye. I think this is also an incomplete library. It may stabilize after about a year. Buster couldn't install meson 0.60 and I had no choice but to use Bullseeye.
Others Please also install wget git # apt-get install xz-utils. It is convenient to install vi or emacs. You can freely view and move files with emacs.

# apt-get install python3-sphinx needs to be installed.
# apt-get install c ++
# pip installation
# apt-get install python3.9 #Bullseye is now 3.9
# apt install python3-pip # pip installation
# apt-get install libmpdclient2-dev if can not .. # apt-get install libmpdclient *
# apt-get install libboost1.74-dev libboost1.67-dev
# python3 -m pip install ninja # (1.0.1)
# python3 -m pip install meson # (0.60)
Now it's time to compile and install mpd. As always, you will have to download and compile the mpd source. The compilation and installation methods have changed.
This is a change in the method of installing mpd from source, which has changed since 0.21.XX. In the case of Dietpi, there is only a route, so please add a general user. In this state Use
#. sudo cannot be recognized. Please install git, g ++, C ++ 17 C ++ 20 cmake sox ffmpeg curl etc. before doing the following. Please note that it takes a long time to compile.

# apt install build-essential libicu-dev Library installation apt install meson g ++ \ libfmt-dev in the green background Please copy, paste and install after \, please be sure to do it

Use the following command to download, compile and install the Boost package. Compiling # ./b2 -a takes a lot of time. If boost cannot be installed
I can't compile and install the mpd source. I think it's better to compile the source than with git. Either one is fine. In my case boost_1_75_0.tar.gz.
I downloaded and compiled
. The following are almost common techniques. If it was a salaryman, he said that he was still compiling even if he went to the office in the morning and came home.
It is this boost installation that takes a long time to install a new mpd. Note \ Compiling takes time, so please do it in winter or force air cooling. Check the location of
mpd.service. In this case, it is in /usr/local/lib/systemd ~, so you may need to copy it to another location. Or in the source
There is, so you may need to forcibly copy it to a specific location from there. Please download the source of boost below. Boost ORG to get boost new one
Be sure to install it before compiling.
You don't need to install Boost below, but it's a good idea to do it once. It takes about 24 hours.

# cd boost
# ./bootstrap.sh
# ./b2 headers
# ./b2 -a
# ./b2 install

I was able to install it in a fairly short time. I don't know if this is a Bullseye effect or a library effect, though I don't know if the meson is an upgraded relationship or a ninja relationship.
I'm sure these have affected the compilation faster. Bullseye is still a new OS, so I think it will have an effect. Since meson and ninja are new every day regardless of Debian
The installation process will be different each time. In Dietpi Buster, even if you can not install by FTP archive from the command line, it may not be possible depending on the day.
I think that the influence of the server is coming out due to the influence of corona. There is no proof that the installation example introduced here is correct, and it may not be possible to install it on different days.
If you get an error in the mpd status, there is a DOC in the local source, so if you copy it to mpd.conf and modify it step by step, you can make a music server.

The TKZ driver can be installed on the SSH terminal or with SAMBA enabled and saved in it if he copies it into dtb/allwinner.
The location will be in /boot/. Edit armbianEnv.txt and add driver. What is the driver? Download it into boot, unzip it and copy it to dtb/allwinner.
I think that installation from the source of mpd can be done in the same way if it is an Armbian, Dietpi, Raspberrypi or Debian OS. Raspbian is a Debian-based OS
mympd doesn't seem to be able to install Bullaeye. The distribution seems to be up to Buster. In the case of Raspbian, it seems to enter without problems. After all it seems that it is impossible with a derived OS.

Mr. TKZ IPDIF driver

Webradio Station's file

About webradio can get by Cantata too

Dietpi mympd

Dietpi myMPD 1st Dic 2021

Upgrade of mpd

You have to use Bullseye Dietpi somehow, it is related to the version of meson and ninja. Buster is fine as long as it is mpd 0.23.3 or lower, but it will be stuck in compilation in higher versions.
Therefore, I use Bullseye. The application installed after that is mympd. Please note that if you install or delete using Dietpi, the directory will be deleted.
Let's compile and install the source as much as possible. However, the library can be installed with apt-get pip etc., so I think it is good to use it a lot. Subsequent images are from Dietpi Bullseye
This is an image. Mympd mpd should be installed by compiling the source. mpd is his latest mpd 0.23.4, but then on December 2, 2021 he became mpd 0.23.5, so I made it mpd 0.23.5.

Archive to install libmpdclient-dev libboost1.74-dev libmpg123-dev These dabels are required. Be sure to have emacs installed. Then it will be compiled.

mpd 0.23.5

mpd 0.23.5 by Dietpi bullseye 4th Dic 2021

mpd 0.23.5

icewm and mympd Dietpi Bullseye 4th Dic 2021

About myMPD I feel that myMPD included in Dietpi is good

Both the original and Dietpi were not good at reading, and when I got tired of the settings and left it for about 6 hours and checked it again, it was in the normal state. If it makes sense, it will be displayed in the normal state after a long time.
myMPD I installed it with two Nanopi-Neo2 at the same time. The git version may be good, the site that introduces myMPD doesn't introduce anything about URLs, and at first you may be confused about how to display it.
Below are two examples of myMP. It may be better to install nginx, I think you don't have to.
Do not install many applications with Dietpi. At least never install mpd. This page is a site that introduces the installation of mpd source.

A) is Nanopi-Neo2 Dietpi Buster mpd 0.23.5.
B) is Nanopi-Neo2 Dietpi Bullseye mpd 0.23.5.

my Desk top

my PC: Fedora Core 64bit Linux Vaio using Icewm

Dietpi Buster! 0/0/-/-/-/

Dietpi Bullseye!0/100/-/-/-/

mpd 0.23.5

mpd 0.23.5 by Dietpi Bullseye SPDIF using mympd

samba share does not work any Bullseye version

apt-get install samba-vfs-modules Bullseye is a debian-generated Samba error-free, invisible failure, unauthenticated issue. Therefore, files cannot be exchanged.
I was in great trouble. The same is true for Armibian, and when I saw it on the net, it was avoided and I was in trouble because there was no report.
If you install samba-vfs-modules described in the blog of the person who moved to Atlanta, USA
It can be avoided, but the entire OS will be enabled, but I don't think it can be used.
As I said somewhere, the Samba error reminds me that sharing would cause security issues and would be abolished. So I have to avoid it in some way
Debian isn't too lazy, Samba just made sharing unusable, not an error. I don't know what to do with this, but it's pretty good in Armbian, so Armbian got his 4.8.
Maybe you're still using it. If you renew anything, you will not be able to reinstall it. The previous version is python3, but this Bullseye is python 3.9, so the previous version is
I can't compile even the source.
winbind: Is it a shared program to be embedded in Samba? The conventional Samba had these built-in. Starting with 4.13, this winbind is required. In this application
It will be possible to use it in the same way as conventional samba. For CentOS
yum -y install samba-winbind samba-winbind-clients ← winbind installation
It is said to be
, so you can find an application that does the same thing in Debian. There are other settings.

# apt -y install winbind libpam-winbind libnss-winbind krb5-config samba-dsdb-modules samba-vfs-modules

mkdir: created directory '/var/lib/samba/winbindd_privileged'
changed group of '/var/lib/samba/winbindd_privileged' from root to winbindd_priv
mode of '/var/lib/samba/winbindd_privileged' changed from 0755 (rwxr-xr-x) to 0750 (rwxr-x---)
Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /lib/systemd/system/winbind.service.
Setting up libgpgme11:arm64 (1.14.0-1+b2) ...
Setting up krb5-config (2.6+nmu1) ...
Setting up libnss-winbind:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up liburing1:arm64 (0.7-3) ...
Setting up samba-dsdb-modules:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up libpam-winbind:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up samba-vfs-modules:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...

Actually Bullseye can not use new samba 4.13.X so must be use 4.9.X by Buster .buster can complie mpd 0.23.4 depend on library.

new mympd

2021.Dec 19er myMPD for Nanopi neo 2


myMPD + Nanopi-neo2 Music Server 19th Dec 2021 any one can do

It took a few weeks. If this Linux Audio faoundation was found from the beginning, it would have worked straightforwardly, but to get this mympd to work
Do not use the application that comes with Daiet Pi. The attached application is convenient but dangerous, so I don't use it, Armbian is fine.
Armbian couldn't find the IP and used Dietpi.
Dietpi-software only works with Alas, emacs, and samba. Do not use anything else. Please keep in mind.
1) mpd is much faster to compile and install the source. I think this is due to the library.
2) Please install git, cmake C ++ etc.
3) mympd follows the link introduced above. Please install mpd properly and install 23.0 or above.
Bullseye uses Buster because samba cannot work. You can't use Focal, basically the same for Focal and Bullseye.
/run/mpd/socket If it doesn't exist, it won't work. If mpd can be installed from the source smoothly, it will work smoothly.

How soulution of problem samba

1] Connect to it directly in explorer by it's ip address - for example:
[2] Win10 can use mDNS to connect to the server - addressed by it's host name with a .local attached at the end:
Just make sure avahi is installed on Ubuntu:
sudo apt install avahi-daemon
If you really want Win10 to be able to discover your server you really only have 2 options:
[A] Win10 uses something called WS-Discovery ( WSD ) to discover hosts. Samba doesn't do WSD but with a bit of work you can make it work:
Download the folder:
wget https://github.com/christgau/wsdd/archive/master.zip
UnZip it:
#unzip master.zip
Rename the python script:
sudo mv wsdd-master/src/wsdd.py wsdd-master/src/wsdd
Copy it to bin:
sudo cp wsdd-master/src/wsdd /usr/bin
Copy the systemd service file to /etc/systemd/system:
sudo cp wsdd-master/etc/systemd/wsdd.service /etc/systemd/system
Reload the service:
sudo systemctl daemon-reload
Start the service:
sudo systemctl start wsdd
Enable the service so it starts at boot:
sudo systemctl enable wsdd
[B] Enable NetBIOS on both Win10 and Ubuntu - This is something Win10 is trying to get away from since it considers it a security issue:
In Win10: Control Panel > Programs and Features > Turn Windows features on or off > SMB 1.0/CIFS File Sharing Support > SMB 1.0/CIFS Client.
In Ubuntu: Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:

server min protocol = NT1

You would think that a simple restart of the service would be enough - and it might be in your case:
$sudo service smbd restart

But NetBIOS is a relic of a bygone era and you might have to reboot the box.
NetBIOS is a nasty thing to work with so you may need to do some other tweaks to get it working.

If you forcibly translate these, it will be strange, so if you know how to read the command, you can easily understand the processing method. This is Samba enabled.
Now, I'm going to use Bullseye Debian as a force. ask UBUNTU Thank you very much. After all there was a simple improvement method.
WSD servers is the official name. There are smart people out there. Thank you.

A) is Nanopi-Neo2 Dietpi Buster mpd 0.23.5. I think it's up to Buster. In other words, you can't use it freely with Bullseye. Also, since Buter is up to 2024, what will happen after that?
B) is Nanopi-Neo2 Armbian Bullseye mpd 0.23.5. It is the operation of samba, but the cause of the slow operation when used for a music server is unknown.

As a result, I said that Bullseye can be used in the current state, but it is difficult to use. Is it the setting of mpd? I'm not sure if it's a bug in samba, but it doesn't work like Buster.
I need to study how samba works, that is, about them. I want to improve samba.


Bullseye + cantata Music Server and Samba

Nothing problem to use as Music Server and music file got from the other PC trough by samba just show you by cantata


The right is Armbian Bullseye mpd 0.22.1. The left is Dietpi Buster source compilation mpd 0.23.5

I will explain. Dietpi's Default doesn't use nginx, it seems to use lighttpd. Therefore, the operation is unstable, so I will use Nginix according to the introduction site.
Nginix also uses Moodeaudio and Volumio2. There are various things that can be operated with Java. I'm still getting an error in both nginx status, but I haven't resolved it
mpd and mympd are normal and there are no errors, so they can be used as they are. If there is a read error, create an empty file in /etc/mympd.conf.
Start reading. Save the cover file as folder.jpg. It is lowercase. The capital letters were not read. Or it will be cover.jpg.
How to create an empty file is # touch /etc/mympd.conf. I didn't need /etc/mympd.conf to install this site.
Port etc. need to be set separately in other files. Settings such as 80 becoming 8080 are required. Set the files under /var/lib/ mympd one by one.
For Raspberrypi family are using Raspbian,Debian etc so nothing problem to use at all .

new myMPD
Linux Audio Foundation

Introduce myMPD how to install ,good site

Note: Note:
1) Armbian Bullseye has a problem with the compiler. In other words, I can't compile a simple MPD, there seems to be a problem with C ++ or GCC.
SAMBA works.
2) Dietpi Bullseye has no problem with mpd compilation, but SAMBA does not work properly.
In other words, Bullseye cannot operate normally at this stage. From an amateur's point of view, I think it will be usable after a year.
I installed C ++ and spit out an error at 70th place and spit out. I understand that C ++ is the cause, but I can't compile without C ++,
What stops is why it stops. I stopped at a library called icu, so apt install libicu * apt install luajit
apt install I installed and tested 3 of clang, but it didn't play and the compilation proceeded. This is OK.
Armbian bullseye's mpd 0.23.5 music server.
The left is Dietpi Buster. On the right he is Armbian Bullseye Both are mpd 0.23.5

mpd 0.23.5 Armbian and Dietpi

Armbian bullseye and Dietpi buster both are mpd 0.23.5


Buster Dietpi mpd 0.23.5 by Nanopi-Neo2 23rd Dec 2021


Bullseye Armbian mpd 0.23.4 by Nanopi-Neo2 23rd Dec 2021


mympd 24th Dec 2021 by Armbian mpd 0.23.5

Quite good system for Music Server DIY .sound is depend on what's kind of audio system do you have.
very much usefull system and can buit up Music Server low cost. presentation is very nice .even sound too

dietpi neopineo2

Dietpi nanopineo2 Buster mpd 0.23.5 on 29er Dec 2021

Dietpi myMPD mpd 0.23.5

Dietpi nanopineo2 Buster mpd 0.23.5 on 29er Dec 2021

Detpi-buster mympd

Nanopi-Neo2 mympd

Armbian Bullseye

Bullseye Armbian for Nanopi-Neo2 mpd 0.23.5 SPDIF out put 1st Jan 2022

ncpmc install for control

Install on Dietpi or Raspbian, Ubuntu, Debian terminal as follows. It will be a light and convenient controller. It is very convenient.
$ sudo apt install ncpmc
$ ncpmc

ncpmc by Armbian

Starts on the terminal, you can select and move songs in great detail. Use mympd as a presentation and use ncpmc for operation


This is an example of samba using Armbian Bullseye. The one-board PC is Nanopi-Neo2 64bit version. It is a Music Server using this. There is no problem with Buster,
Bullseye has limited ways to build samba. This is especially a problem caused by Samba 4.13 and above. Therefore, SKYMPC cannot be used due to the specifications.
Therefore, MPDClient is limited. You can use mympd, you can't use SkyMPC, so use other clients with Cantata, ncpmc, etc.
In effect, use WSDD to enable samba. Please refer to the following, there is also an introduction on an external site at the beginning of this page.

how to install wsdd

Bluetooth added to Nanop-Neo2 by Armbian Bullseye


Elecom LBT-UAN05C2/N Bluetooth USB Dongle

blue tooth


LBT-UAN05C2/N Elecom dongle

pairing with smartphone

I paired it with my smartphone, but it doesn't work,

In the end, it was connected, but the sound hasn't come out yet. From now on, the problem of sound is the problem of DAC and sound interface.
I think I was able to build it so that I could understand it by looking at the image.
I was able to pair, and the rest is only related to the sound. This music server is originally silent, so this is the only problem. I'll show you the evidence


As far as you can see, you can recognize that Bluetooth is possible even with Nanopi-neo2 + dongle. Let's introduce the reference site below.
However, you need to install python3.9. You can install Bluez-tools with pip. Recent information on apt-get stated that default was removed.
You need to create and install the files to build by yourself. However, it turned out that it is relatively easy to build even with Nanopi-neo2.
First, let's make a sound. I think it will be SPDIF this time as well. I have already installed the ES9018 DIY DAC, so I plan to use it.

Reference 3

show lsmod for bluetooth by Armbisn Bullseye Music Server mpd 0.23.6 By Nanopi-neo2


smart phone name show by terminal so pairing is already

However, there was a problem, and if I updated it, it would be clear ...? The connection is no longer possible.
If you want to try this, never # apt-get update. It is a very dangerous act and you will never be able to connect. Unfortunately, it can't be helped,
It's a long-standing fate of updating Linux. It is unclear what to do in the future. There is also mpd compilation, which is not easy,

re connected

I was able to reconnect, but it is unstable. I tried installing with another micro SD, but I couldn't install it.

Music server music selection and operation with ncmpc


It is a convenient mpd client that performs operations such as song selection by ncmpc

nanopi-neo2 music-server


Dietpi Bullseye for Nanopi-Neo2 is now available

As for the background, Armbian Bullseye has fallen. That's why Dietpi Bullseye appeared. mpd is Default, then I plan to compile and install the source
It remains Defaults. The required applications are installed manually without using Dietpi-software. The sound output is SPDIF. I am using TKZ's DTB archive.
Dietpi Bullseye Music Server with myMPD installed and checking the operation. It is mpd 0.23.6. You can enjoy comfortable music without stress.
Please refer to the Linux Audio Foundation site for each installation.

 About wsdd
Sometimes this Share is disabled. Someone breaks into the LAN line and modifies this file. As a result, WSDD will not work and you will not be able to import music sources.
In such a case, delete all the directories. Then try reinstalling. I'm sure it will work.
When you go out, it is recommended to disconnect the power supply and line of the router.
wsdd is in the repository in other distributions and can be installed properly. In other words, you can install it with apt-get.

In this section, we are experimenting with Nanopi-Neo2, but the same thing can be used with Raspberrypi's one board PC as long as you are using a Debian OS.
kieth Jarrett piano play

Koln concert

Keith Jarrett heard with

mpd is exceptional. I think it's a great pianist

Dietpi mympd

Mympd by Dietpi Bullseye Music Server

detect mpd

mpd conf

mpd.conf a part of driver is shown

Billy Childs

Dietpi Bullseye Music Server mpd 0.23.6 and myMPD

Dietpi Bullseye

Dietpi Bullseye uploaded mpd is 0.23.6 Extend Samba to work with myMPD

As for the background, Armbian Bullseye has fallen. That's why Dietpi Bullseye appeared. mpd is Default, then I plan to compile and install the source
It remains Defaults. The required applications are installed manually without using Dietpi-software. The sound output is SPDIF. I am using TKZ's DTB archive.
Dietpi Bullseye Music Server with myMPD installed and checking the operation. It is mpd 0.23.6. You can enjoy comfortable music without stress.
Please refer to the Linux Audio Foundation site for each installation.

kieth Jarrett piano play

Koln concert

mpd is exceptional. I think it's a great pianist


for control easy to use Nanopi-neo2 by SKY MPC .very quickly get sound .and you can use latest mpd

mpd 0.23.8

I updated to mpd 0.23.8, I think it took about 5 hours to compile, but there was nothing wrong with it

The version of mpd displayed in SKY MPC is 0.23.8 but 0.23.5, which means that the file related to sound is mpd 0.23.5.
mpd 0.23.6 is mpd 0.23.4. The quality of the sound is not much different from 23.5 and above. You don't have to compile anything and
These are the same for Archlinux, and the latest version is mpd 0.23.8. It may be an update that you don't need.
However, the sound has certainly improved. I think the sound is mentally good with the update. It’s a practice,so it ’s good to do it.


do systemctl for find problem of mpd by ssh

apt-get install timidity timidity-interfaces-extra;
apt-get install freepats fluid-soundfont-gm fluid-soundfont-gs;
please try to install above timidity then does not get error

after installed timidity 、error does not see

music serv er

mpd 0.23.8 new version mpd from compile source on 27th July 2022

down load volumio2-3

Volumio3 for Nanopi-Neo2

Recently, the number of IPV4 and IPV6 lines has increased. In the case of IPV6, there is a tendency that Internet radio cannot be received.
You can avoid them by using the latest MPD that came out there.
For that reason, you can avoid internet radio problems by compiling and installing the mpd source yourself. mpd 0.23.8 or later.

OLd Version

mpd.conf USB DAC DDC and SPDIF

################################################ ########################

audio_output {

type "alsa"
name "SPDIF"
device "hw:SPDIF,0"
mixer_type "software"
dop "yes"
audio_output_format "44100:16:2"

audio_output {
type "alsa"
name "USB"
device "hw:1,0"
mixer_type "software"

################################################ ################################
That's it. Please check with # aplay -l each time. For Dietpi, in the audio part of #dietpi-config Please check the
device. Basically, write the value displayed by # aplay -l. hw:1,0 is the driver setting.
In this case he has SPDIF and USB DAC or DDC enabled.
In the case of Dietpi Bullseye, if you use the mpd that comes with this, mympd will be activated, but if you use the mpd compiled version, there will be no socket and mympd will not be activated.
I think there is some method, but it is not solved at present. On Dietpi buster mpd 0.23.8 is ok and mympd works fine. Bullseye's mpd is 0.22.6.
It works fine. but the mpd compiled version does not work with mympd, because /run/mpd/socket is missing. This is because mympd uses socket to detect mpd.
I think it will be resolved with time.

dtb and dts

Pine 64 bullseye can't do his SPDIF. script in Armbian
I think you'll understand when you see it. Driver dtb for Pine64 Bullseye is not written. dtb is a binary, so you can't check the contents, but what I converted to a string is
It becomes DTS. are interrelated. You can install it with apt-get or DNF, so it's a good idea to install it on your workstation and check it.
dtc -I dtb -O dts -o sun50i-a64-pine64.dts This is the command when sun50i-a64-pine64.dtb converts. The application installation is named as follows.
This is the name of the binary installed by the device-tree-compiler. install uses snap. This is for fedora core.
dtb is the binary, dts is the underlying script. They are the device-tree-compiler and convert. I don't know when, but the Pine64 driver has removed the SPDIF.
They are editable, so you can create a dtb. Here is the driver. I think it is better to do the conversion in the same Linux.
sun50i-a64.dts is available on the Debian site. In other words, the contents of the driver will differ depending on the one board PC. in /boot/dtb/allwinner for Nanopi-neo2
stored. Edit armbianEnv.txt to configure the driver. In the case of Nanopi-Neo2, since it is not a GUI, it is necessary to open the editor and rewrite it, all of which are
This is done via ssh.
By the way, Nanopi-Neo2 Dietpi Buster can activate mympd
nanopi-Neo2 Dietpi Bullseye can't enable mympd, because /run/mpd/socket doesn't exist for it.
However, if you apt-get install mpd 0.22.6, mympd is enabled. For mpd source compilation there is no /run/mpd/socket and mympd is not enabled.


mympd by Naopi-Neo2 Dietpi Buster and mpd 0.23.9 on 22nd Aug 2022

On Bullseye Dietpi, I compiled mpd 0.23.9 and the installation was OK, but mympd was not enabled. In this case the source is compiled.
Binary was enabled if #apt-get install mpd. If /run/mpd/socket exists, it's OK, but when compiling the mpd source, there was no /run/mpd/socket and it was not activated.
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket.
There was a description that it will be enabled by doing the above, so enter #systemctl enable mpd.socket for the first time only
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket.
was displayed. There is a "." at the end of this part, so it cannot be activated, and the command "Created symlink" is not Linux, so link as follows
# ln -s /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket
Then I got /run/mpd/socket. For now, # reboot
It was OK. Mympd is now enabled on Dietpi Bullseye mpd 0.23.9

mpd 0.23.9

new mpd

my mpd new 2nd Sep 2022

myMPD 2nd 2022 by mpd 23.9 versión compilada desde la fuente

I lost my IP when I moved, and when I reinstalled it, it didn't go back. This is probably due to a problem with the source,
Bullseye is rendered useless due to frequent developer glitches in Archilinux. I get an error with mongooth or something.
MPD playback is unstable. The TKZ driver is no longer effective. Are there not enough hands because there are few developers? Michelangelo is really struggling
I understand. There is no solution written on the forum, so Mympd etc. cannot be used. A working device should be saved. Due to the lack of existing equipment
Since it will be reused, Nanopi-Neo2 cannot be used as a music server. If the OS is only Armbian and Dietpi, it will be a useless one-board PC.
It may be time to throw it away, which is a shame. If you modify the repository archive, the music server cannot be updated and becomes unstable.
Regarding mongooth, after reviewing Niginx, it became possible to display as follows.

However. When I was reviewing the Nigix files, maybe Niginx wasn't working properly? I noticed that you said. Here is the URL when it succeeds. %2C%22offset%22%3A0%2C%22limit%22%3A100%2C%22filter%22%3A%22any%22%2C%22sort%22%3A%7B%22tag%22%3A%22AlbumArtist%22%2C %22desc%22%3Afalse%7D%2C%22tag%22%3A%22Album%22%2C%22search%22%3A%22%22%7D
It's a little long, but I'll write it down.
Install is relatively easy, so I think you should try it. I think the presentation is also good

my mpd new 2nd Sep 2022

myMPD 2nd 2022 by mpd 23.9 version compile from source

Once again bullseye had a problem. I can't mount files from NAS or other music servers. In other words, you can no longer mount using cifs-utils.
In the early days of Bullseye, samba could not be enabled, but recently improvements have been made to samba, and it is possible to share without installing wsdd, but I cannot mount it with Cifs.
Samba can be enabled, but I can no longer mount using Cifs. It was useless to replace the NAS side because there was a problem on the NAS side. In other words, even Buster can be used as a music server.
That's all for now. You made something good and something bad. However, since it is a world of hobbies, let's be patient and use it. So I decided to go back to Buter. A slightly improved distribution is
Feel free to use it once it is developed. Bullseye has many problems and cannot be used as a music server at the moment. Because I can't share music files. Save to an empty folder each time
Method reduces convenience. In other words, you will not be able to play music on your PC. Even if it can be mounted, there is no sound. Since the OS will upload a different file each time
I used to be able to do it, but after a while it will not be the same if I reinstall it. Corona: It will not be the same if FTP and mirror servers are down due to the influence of Corona Covid19, especially the OS with a large tendency
This is Archilinux. Same for Debian.

Back to Butser Debian

Important comment

overlays=usbhost1 usbhost2 spdif spdif-out

This is the contents of /boot/armbianEnv.txt. In this case he has SPDIF as the output. After that, the contents displayed by # aplay -l
Listed in audio_out in /etc/mpd.conf. This determines whether or not the sound is produced. If you don't write such a simple thing, it will stop at II (pause mark).
This is when the TKZ driver is installed.

nanopi-neo2 dietpi

Dietpi nanopi-neo2 bullseye mpd 0.23.9 on 7th Sep 2022 mympd

When there is no socket

# mkdir /run/mpd : then
# systemctl disable mpd.socket
Please try this first. I think that the socket will come out with this.
If it doesn't come out
# systemctl enable mpd.socket
If you enable it, it may appear.
simlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket It will be linked to
, so # reboot after this. # If you type ls /run/mpd/ and socket is displayed in red
mpd is linked. For mympd mpd sees /run/mpd/socket. It should now appear.

Dietpi myMPD 9.5.3

Dietpi Nanopi-Neo2 mympd mpd 0.23.8 compiled version by Buster myMPD 9.5.3

Nanopi-Neo2 bullseye mpd 023.9 myMPD 9.3.3

Dietpi Nanopi-Neo2 mympd mpd 0.23.9 compiled version by Bullseye with wsdd myMPD 9.3.3

Caution: Please do not use Dietpi-software or Dietpi-config for Dietpi. I will recommend installation by Debian or Ubuntu operation.
If you install it using Dietpi-Soft ware, it becomes a unique installation method and conflicts with genuine Tree. Dietpi is used as an OS for that purpose.
Other builds will be Debian or Ubuntu. Please refer to Debian for installation and building. Compile and install the source thereby
In some cases, we ask for your understanding. I think that a wonderful music server will be completed.

Note : I can't receive Internet Radio: It showed curl as an error. It was displayed in myMPD. Therefore, I reinstalled Cur and rebooted.
Since then, it has become possible to receive messages.

Automatic Playlist Creation

Playlists are created automatically with the following command.
$ sudo apt-get install mpd-sima

auto play list

Detailed comments, album names, and player names are added to the music file display.Please compare with the images uploaded before

Dietpi buster and bullsye

Dietpi Buster and Bullseye myMPD both are mpd 23.9

I can't get a Raspberrypi anymore even if I want to. Even Sony can't make a new product, so
It can't be helped. I've heard that other 3rd party bluetooth earphones don't use Linux, so there's no problem with manufacturing them. Embedded Linux is ARM 
I'm using a processor, so it's probably out of production. I'm sorry. Nanopine2 is a single board that is easy to obtain even in Japan, and it is easy to use, so
As long as you can get it, I don't think you'll have much trouble creating a music server. I am trying to build a simple DAC. I've been using my own DAC for over 10 years.
The sound is enough. It's PCM, but I think it's producing enough sound. Nanopi-Neo2 outputs a master clock, so any DAC can be used. I
Uses a V-output DAC that does not require I/V conversion. SKY MPD is used to operate mpd. You will also need a NAS. NAS uses raspberrypi ZERO W.
I think you should get it somewhere. It doesn't matter if it's a PC, and I think it's OK to prepare another Nanopi-neo2 and create a NAS using Volumio2

mympd and skympc

mympd and contorl by skympc mpd 0.23.9

Dietpi images for Arm

To be continue

Select the distribution called Bookworm. It's up to date with mpd 023.11. There is no driver setting, the sound comes out by inserting the USB. This could be good news

Bookworm Linux
I think this is the latest. A later version of the Bullseyes.

bookworm music server

Nanopi-neo was also able to make a music server, but if you use the latest Bookworm, you can get sound without any settings, but you need to set up the server

7th Avenue

In this section, we are experimenting with Nanopi-Neo2,
but the same thing can be used with Raspberrypi's one board PC as long as you are using a Debian OS.

since 22nd Nov 2021 NanoPi-Neo2 Pi Music Server how to last up date 18th Jan 2023

Single Ended Amplifier D.I.Y edited with BlueFish By JH1 DAS ex WB4ACI from Sakura Chiba Japan

How to build up Amplifier Single Ended Amplifier 2023