Raspberry Pi + Rune Audio ::: Một trải nghiệm nghe nhạc mới

PeppaPi

Member
Cuối tuần tránh Covid, vọc màn hình Touch 5 inche với piCorePlayer, touch duyệt album chạy mượt các bác.
Tính năng mở play theo dạng folder khá ngon. VU nhấp nháy theo nhạc.


2021-06-13-00_23_04-Window.png
Bác @quatmo cho hỏi làm thế nào để kiểm tra config TC trong bản PCP này, mìn chọn piCore connect nó cứ quay quay có thể do chọn card chưa đúng. SC thì chạy tốt. Cám ơn bác.
 

quatmo

Well-Known Member
Album Player chạy OK bác, TC vẫn chưa được. Mình sẽ tìm hiểu thêm, cám ơn bác

Vậy bác thay đổi config DAC

1. Check DAC:
Mã:
/home/tc/tcconnect/pa_devs/ifi-pa-devs-get
/home/tc/tcconnect/pa_devs/pa_devs

2./ Add DAC vô file này:
/home/tc/tcconnect/pa_devs/devices

3./ Chỉnh config DAC: /home/tc/tcconnect/run.sh
--playback-device "device number"

Chỉnh xong bác lưu lại:
Mã:
sudo filetool.sh -b
 
Chỉnh sửa lần cuối:

PeppaPi

Member
Vậy bác thay đổi config DAC

1. Check DAC:
Mã:
/home/tc/tcconnect/pa_devs/ifi-pa-devs-get
/home/tc/tcconnect/pa_devs/pa_devs

2./ Add DAC vô file này:
/home/tc/tcconnect/pa_devs/devices

3./ Chỉnh config DAC: /home/tc/tcconnect/run.sh
--playback-device "device number"

Chỉnh xong bác lưu lại:
Mã:
sudo filetool.sh -b

1. 2 câu lệnh đầu tiên bị sai đường dẫn bác ạ
/home/tc/tcconnect/pa_devs/bin/ifi-pa-devs-get
Câu lệnh /home/tc/tcconnect/pa_devs/pa_devs thì chưa hiểu ntn

2. File devices mình edit lại như sau:
device#0=bcm2835 Headphones: - (hw:0,0)
device#1=snd_rpi_hifiberry_digi: HifiBerry Digi HiFi wm8804-spdif-0 (hw:1,0)
device#2=sysdefault
device#3=dmix
device#4=default
Number of devices = 5

3. Mình edit file run.sh như sau:
--playback-device "snd_rpi_hifiberry_digi: HifiBerry Digi HiFi wm8804-spdif-0 (hw:1,0)" \

Vẫn chưa chạy được, vẫn đang mò tiếp bác ạ
 

tauchien

Active Member
Thank bác đã phản hồi, sau khi remove libcurl4, mình cài licurl3 theo tut trong file sh:
Mã:
curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo apt install -y ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
sudo apt install -y ./libcurl3_7.38.0-4+deb8u16_armhf.deb
Và TC đã play trên moOde 7.2.1
- Lúc mới flash xong, cài dùng htop kiểm tra thì chỉ có 13 thr
- Sau khi cài TC và Aplayer, update các file mpdcheck.sh, soundcheck.sh thì dùng htop kiểm tra lại
+ Khi play mpd webUI chỉ số thr là 16 thr (quá ngon):
thr-mpd.png

+ Khi play TC: 27thr
thr-TC.png

+ Khi play bằng APlayer: 12thr (quá dữ)
thr-Ap.png

Chắc mình chỉ để vậy xài ko install thêm java hay minim chi nữa.

Em cài mãi TC trên Moode 7.2.1 mà ko chạy, service nó có Start được nhưng play từ Tidal chọn TC nó ko ra tiếng. Còn play trên WebUI thì bình thường.
Cảm ơn bác nhiều !

bác có thể hướng dẫn em step by step được ko, cái này em mù tịt.

Kết quả em show Stat toàn thế này ạ :

pi@moode:~ $ sudo systemctl status ifi-streamer-tidal-connect.service
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-06-16 07:04:36 EDT; 8min ago
Main PID: 364 (tidal_connect_a)
Tasks: 16 (limit: 4915)
CGroup: /system.slice/ifi-streamer-tidal-connect.service
└─364 /usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTide RasPi Streamer --codec-mpegh true --codec-mqa false --model-name H

Jun 16 07:08:46 moode tidal_connect_application[364]: [2021-06-16 07:08:46.789] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Jun 16 07:08:47 moode tidal_connect_application[364]: [2021-06-16 07:08:47] [info] asio async_shutdown error: asio.misc:2 (End of file)
Jun 16 07:08:58 moode tidal_connect_application[364]: [2021-06-16 07:08:58.444] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Jun 16 07:08:59 moode tidal_connect_application[364]: [2021-06-16 07:08:59.733] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Jun 16 07:09:49 moode tidal_connect_application[364]: [2021-06-16 07:09:49.491] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Jun 16 07:09:49 moode tidal_connect_application[364]: [2021-06-16 07:09:49] [info] asio async_shutdown error: asio.misc:2 (End of file)
Jun 16 07:10:18 moode tidal_connect_application[364]: [2021-06-16 07:10:18.327] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Jun 16 07:10:20 moode tidal_connect_application[364]: [2021-06-16 07:10:20.206] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Jun 16 07:11:46 moode tidal_connect_application[364]: [2021-06-16 07:11:46] [error] handle_read_frame error: asio.system:125 (Operation aborted.)
Jun 16 07:12:46 moode systemd[1]: ifi-streamer-tidal-connect.service: Current command vanished from the unit file, execution of the command list won't be resumed.
 
Chỉnh sửa lần cuối:

rndce

Well-Known Member
Em cài mãi TC trên Moode 7.2.1 mà ko chạy, service nó có Start được nhưng play từ Tidal chọn TC nó ko ra tiếng. Còn play trên WebUI thì bình thường.
Cảm ơn bác nhiều !

bác có thể hướng dẫn em step by step được ko, cái này em mù tịt.
Mình note lại các bước mình cài TC lên MoOde 7.2.1 dùng RopiAddon của bác @quatmo:
SSH vào MoOde với user: pi và pass: moodeaudio
Lúc này mình đang ở thư mục /home/pi
#1: Tạo thư mục TidalConnect:
Mã:
sudo mkdir TidalConnect
#2: Dùng WinSCP copy 3 file này của bác @quatmo vào thư mục /tmp tên MoOde 7.2.1
- opttidal.tar.gz
https://drive.google.com/file/d/1DS9uGRZj510I6YpswqvdhwTNF-G4cuoQ/view?usp=sharing
- tidalservice.tar.gz
https://drive.google.com/file/d/1Qm723rUIFoWSYvhTG8yWI4c8BxtTPFgd/view?usp=sharing
- tidallibs.tgz
https://drive.google.com/file/d/1WgYq_mH-q4h4hqTvQYylzrnWQVQUYdMO/view?usp=sharing
#3: Copy 3 file trên từ /tmp vào /home/pi/TidalConnect:
Mã:
sudo cp -vf /tmp/opttidal.tar.gz /home/pi/TidalConnect
sudo cp -vf /tmp/tidalservice.tar.gz /home/pi/TidalConnect
sudo cp -vf /tmp/tidallibs.tgz /home/pi/TidalConnec
#4: Extract Tidal Connect:
Mã:
sudo tar -xf /home/pi/TidalConnect/opttidal.tar.gz --overwrite -C /
sudo tar -xf /home/pi/TidalConnect/tidalservice.tar.gz --overwrite -C /
#5: Extract Aarch64 Lib:
Mã:
sudo tar -xf /home/pi/TidalConnect/tidallibs.tgz -C /usr/lib/
#6: Check device:
Mã:
/opt/tidal/pa_devs/bin/ifi-pa-devs-get
Sau khi chạy câu lệnh trên sẽ ra list device -> Copy device name, Ví dụ: snd_rpi_rpi_dac: RPi-DAC HiFi pcm1794a-codec-0 (hw:1,0)
- Dùng WinCSP edit file này hay dùng câu lệnh:
Mã:
sudo nano /etc/systemd/system/tidal.service
To replace --playback-device, sample: --playback-device "snd_rpi_rpi_dac: RPi-DAC HiFi pcm1794a-codec-0 (hw:1,0)" \
To replace --playback-device, sample: --playback-device "BossDAC: DAC HiFi [Master] pcm512x-hifi-0 (hw:0,0)" \
Tùy vào bác đang dùng DAC nào, thì nó xuất ra tương ứng sau khi chạy file ifi-pa-devs-get ở trên
#7: Start Tidal Service:
Mã:
sudo systemctl daemon-reload
sudo systemctl enable tidal.service
sudo systemctl restart tidal.service
sudo systemctl status tidal.service
Sau khi chạy các câu lệnh ở bước #7, nếu Tidal service xanh lè thì nó đã chạy thành công,
Nếu nó không chạy là do thiếu thư viện libcurl3, Tidal ko chạy được, Tiếp lục fix như sau:

#8: Kiểm tra các file thư viện cần chạy cho Tidal Connect:
Mã:
sudo ldd /opt/tidal/bin/tidal_connect
Kết quả là:
Mã:
/opt/tidal/bin/tidal_connect: /lib/arm-linux-gnueabihf/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /opt/tidal/bin/tidal_connect)
        linux-vdso.so.1 (0x7ef4b000)
        /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76d38000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76cfb000)
............
libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0x74e5f000)
#9: Remove libcurl4
Mã:
sudo apt-get autoremove libcurl4
#10: Chạy 4 câu lệnh sau cài libcurl3:
Mã:
curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo apt install -y ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
sudo apt install -y ./libcurl3_7.38.0-4+deb8u16_armhf.deb
Và đây là kết quả của mình khi chạy lần lượt 4 câu lệnh trên:
Mã:
pi@moode:~ $ curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  850k  100  850k    0     0    97k      0  0:00:08  0:00:08 --:--:-- 82309
pi@moode:~ $ sudo apt install -y ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl1.0.0' instead of './libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb'
The following NEW packages will be installed:
  libssl1.0.0
0 upgraded, 1 newly installed, 0 to remove and 141 not upgraded.
Need to get 0 B/871 kB of archives.
After this operation, 1,910 kB of additional disk space will be used.
Get:1 /home/pi/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb libssl1.0.0 armhf 1.0.1t-1+deb8u12 [871 kB]
Preconfiguring packages ...
Selecting previously unselected package libssl1.0.0:armhf.
(Reading database ... 65704 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u12) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u12) ...
pi@moode:~ $ sudo curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  231k  100  231k    0     0  1782k      0 --:--:-- --:--:-- --:--:-- 1782k
pi@moode:~ $ sudo apt install -y ./libcurl3_7.38.0-4+deb8u16_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl3' instead of './libcurl3_7.38.0-4+deb8u16_armhf.deb'
The following packages will be REMOVED:
  curl libcurl4
The following NEW packages will be installed:
  libcurl3
0 upgraded, 1 newly installed, 2 to remove and 141 not upgraded.
Need to get 0 B/237 kB of archives.
After this operation, 588 kB disk space will be freed.
Get:1 /home/pi/libcurl3_7.38.0-4+deb8u16_armhf.deb libcurl3 armhf 7.38.0-4+deb8u16 [237 kB]
(Reading database ... 65724 files and directories currently installed.)
Removing curl (7.64.0-4+deb10u2) ...
Removing libcurl4:armhf (7.64.0-4+deb10u2) ...
Selecting previously unselected package libcurl3:armhf.
(Reading database ... 65709 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.38.0-4+deb8u16_armhf.deb ...
Unpacking libcurl3:armhf (7.38.0-4+deb8u16) ...
Setting up libcurl3:armhf (7.38.0-4+deb8u16) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
#11: Kiem tra lai thu vien:
Mã:
sudo ldd /opt/tidal/bin/tidal_connect
Nếu thành công sẽ ko còn dòng:
/opt/tidal/bin/tidal_connect: /lib/arm-linux-gnueabihf/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /opt/tidal/bin/tidal_connect)
#12: Start lai TC bang cac cau lenh o buoc #7
Mã:
sudo systemctl daemon-reload
sudo systemctl enable tidal.service
sudo systemctl restart tidal.service
sudo systemctl status tidal.service
Chúc bác thành công.
 
Chỉnh sửa lần cuối:

rndce

Well-Known Member
Em cài mãi TC trên Moode 7.2.1 mà ko chạy, service nó có Start được nhưng play từ Tidal chọn TC nó ko ra tiếng. Còn play trên WebUI thì bình thường.
Cảm ơn bác nhiều !

bác có thể hướng dẫn em step by step được ko, cái này em mù tịt.

Kết quả em show Stat toàn thế này ạ :

pi@moode:~ $ sudo systemctl status ifi-streamer-tidal-connect.service
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-06-16 07:04:36 EDT; 8min ago
Main PID: 364 (tidal_connect_a)
Tasks: 16 (limit: 4915)
CGroup: /system.slice/ifi-streamer-tidal-connect.service
└─364 /usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTide RasPi Streamer --codec-mpegh true --codec-mqa false --model-name H

Jun 16 07:08:46 moode tidal_connect_application[364]: [2021-06-16 07:08:46.789] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Jun 16 07:08:47 moode tidal_connect_application[364]: [2021-06-16 07:08:47] [info] asio async_shutdown error: asio.misc:2 (End of file)
Jun 16 07:08:58 moode tidal_connect_application[364]: [2021-06-16 07:08:58.444] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Jun 16 07:08:59 moode tidal_connect_application[364]: [2021-06-16 07:08:59.733] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Jun 16 07:09:49 moode tidal_connect_application[364]: [2021-06-16 07:09:49.491] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Jun 16 07:09:49 moode tidal_connect_application[364]: [2021-06-16 07:09:49] [info] asio async_shutdown error: asio.misc:2 (End of file)
Jun 16 07:10:18 moode tidal_connect_application[364]: [2021-06-16 07:10:18.327] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Jun 16 07:10:20 moode tidal_connect_application[364]: [2021-06-16 07:10:20.206] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Jun 16 07:11:46 moode tidal_connect_application[364]: [2021-06-16 07:11:46] [error] handle_read_frame error: asio.system:125 (Operation aborted.)
Jun 16 07:12:46 moode systemd[1]: ifi-streamer-tidal-connect.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Mình nghĩ là bác đã cài thành công Tidal Connect lên MoOde (ifi-streamer-tidal-connect.service đã active)
Giờ bác stream TC qua MoOde mà không có tiếng, có thể là do set DAC device chưa khớp, Bác xem lại note này: (Mình làm theo file sh của tác giả trên Github)
http://www.hdvietnam.com/threads/ra...nghe-nhac-moi.1174389/page-1060#post-10529364
Bác làm kỹ lại một lần nữa từ Bước #7 thử xem.

Cũng có thể DAC đang bị mpd trên MoOde giữ.
Nếu ko thành công thì kiểm tra thử ALSA có đang bị mpd của MoOde giữ ko. Bác dừng phát nhạc bằng cách Pause từ webUI của MoOde, rồi strteam Tidal qua.

Các bước để tối ưu MoOde cho nó chạy nhẹ nhàng, bác xem Tut của bác @quatmođây
Và ở đây
 
Chỉnh sửa lần cuối:

tauchien

Active Member
Mình nghĩ là bác đã cài thành công Tidal Connect lên MoOde (ifi-streamer-tidal-connect.service đã active)
Giờ bác stream TC qua MoOde mà không có tiếng, có thể là do set DAC device chưa khớp, Bác xem lại note này: (Mình làm theo file sh của tác giả trên Github)
http://www.hdvietnam.com/threads/ra...nghe-nhac-moi.1174389/page-1060#post-10529364
Bác làm kỹ lại một lần nữa từ Bước #7 thử xem.

Cũng có thể DAC đang bị mpd trên MoOde giữ.
Nếu ko thành công thì kiểm tra thử ALSA có đang bị mpd của MoOde giữ ko. Bác dừng phát nhạc bằng cách Pause từ webUI của MoOde, rồi strteam Tidal qua.

Các bước để tối ưu MoOde cho nó chạy nhẹ nhàng, bác xem Tut của bác @quatmođây
Và ở đây

Em cài theo hướng dẫn từ Github, cập nhật các thư viện đầy đủ, chạy các lệnh để cập nhật DAC của em vào rồi nhưng khi Play trên Tidal mà chọn Hitide Raspi Streamer nhưng nó ko phát ra tiếng mặc dù vẫn chơi bình thường.
Cảm ơn bác rất nhiều, chút nữa em sẽ cài lại theo hướng dẫn của bác.
 

tauchien

Active Member
AF1QipOfUtRFiDX5RYFWxvE0r11_9hfb_8zH7Svr6q_0
Mình note lại các bước mình cài TC lên MoOde 7.2.1 dùng RopiAddon của bác @quatmo:
SSH vào MoOde với user: pi và pass: moodeaudio
Lúc này mình đang ở thư mục /home/pi
#1: Tạo thư mục TidalConnect:
Mã:
sudo mkdir TidalConnect
#2: Dùng WinSCP copy 3 file này của bác @quatmo vào thư mục /tmp tên MoOde 7.2.1
- opttidal.tar.gz
https://drive.google.com/file/d/1DS9uGRZj510I6YpswqvdhwTNF-G4cuoQ/view?usp=sharing
- tidalservice.tar.gz
https://drive.google.com/file/d/1Qm723rUIFoWSYvhTG8yWI4c8BxtTPFgd/view?usp=sharing
- tidallibs.tgz
https://drive.google.com/file/d/1WgYq_mH-q4h4hqTvQYylzrnWQVQUYdMO/view?usp=sharing
#3: Copy 3 file trên từ /tmp vào /home/pi/TidalConnect:
Mã:
sudo cp -vf /tmp/opttidal.tar.gz /home/pi/TidalConnect
sudo cp -vf /tmp/tidalservice.tar.gz /home/pi/TidalConnect
sudo cp -vf /tmp/tidallibs.tgz /home/pi/TidalConnec
#4: Extract Tidal Connect:
Mã:
sudo tar -xf /home/pi/TidalConnect/opttidal.tar.gz --overwrite -C /
sudo tar -xf /home/pi/TidalConnect/tidalservice.tar.gz --overwrite -C /
#5: Extract Aarch64 Lib:
Mã:
sudo tar -xf /home/pi/TidalConnect/tidallibs.tgz -C /usr/lib/
#6: Check device:
Mã:
/opt/tidal/pa_devs/bin/ifi-pa-devs-get
Sau khi chạy câu lệnh trên sẽ ra list device -> Copy device name, Ví dụ: snd_rpi_rpi_dac: RPi-DAC HiFi pcm1794a-codec-0 (hw:1,0)
- Dùng WinCSP edit file này hay dùng câu lệnh:
Mã:
sudo nano /etc/systemd/system/tidal.service
To replace --playback-device, sample: --playback-device "snd_rpi_rpi_dac: RPi-DAC HiFi pcm1794a-codec-0 (hw:1,0)" \
To replace --playback-device, sample: --playback-device "BossDAC: DAC HiFi [Master] pcm512x-hifi-0 (hw:0,0)" \
Tùy vào bác đang dùng DAC nào, thì nó xuất ra tương ứng sau khi chạy file ifi-pa-devs-get ở trên
#7: Start Tidal Service:
Mã:
sudo systemctl daemon-reload
sudo systemctl enable tidal.service
sudo systemctl restart tidal.service
sudo systemctl status tidal.service
Sau khi chạy các câu lệnh ở bước #7, nếu Tidal service xanh lè thì nó đã chạy thành công,
Nếu nó không chạy là do thiếu thư viện libcurl3, Tidal ko chạy được, Tiếp lục fix như sau:

#8: Kiểm tra các file thư viện cần chạy cho Tidal Connect:
Mã:
sudo ldd /opt/tidal/bin/tidal_connect
Kết quả là:
Mã:
/opt/tidal/bin/tidal_connect: /lib/arm-linux-gnueabihf/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /opt/tidal/bin/tidal_connect)
        linux-vdso.so.1 (0x7ef4b000)
        /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76d38000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76cfb000)
............
libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0x74e5f000)
#9: Remove libcurl4
Mã:
sudo apt-get autoremove libcurl4
#10: Chạy 4 câu lệnh sau cài libcurl3:
Mã:
curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo apt install -y ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
sudo curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
sudo apt install -y ./libcurl3_7.38.0-4+deb8u16_armhf.deb
Và đây là kết quả của mình khi chạy lần lượt 4 câu lệnh trên:
Mã:
pi@moode:~ $ curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  850k  100  850k    0     0    97k      0  0:00:08  0:00:08 --:--:-- 82309
pi@moode:~ $ sudo apt install -y ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl1.0.0' instead of './libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb'
The following NEW packages will be installed:
  libssl1.0.0
0 upgraded, 1 newly installed, 0 to remove and 141 not upgraded.
Need to get 0 B/871 kB of archives.
After this operation, 1,910 kB of additional disk space will be used.
Get:1 /home/pi/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb libssl1.0.0 armhf 1.0.1t-1+deb8u12 [871 kB]
Preconfiguring packages ...
Selecting previously unselected package libssl1.0.0:armhf.
(Reading database ... 65704 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u12) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u12) ...
pi@moode:~ $ sudo curl -k -O -L http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  231k  100  231k    0     0  1782k      0 --:--:-- --:--:-- --:--:-- 1782k
pi@moode:~ $ sudo apt install -y ./libcurl3_7.38.0-4+deb8u16_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl3' instead of './libcurl3_7.38.0-4+deb8u16_armhf.deb'
The following packages will be REMOVED:
  curl libcurl4
The following NEW packages will be installed:
  libcurl3
0 upgraded, 1 newly installed, 2 to remove and 141 not upgraded.
Need to get 0 B/237 kB of archives.
After this operation, 588 kB disk space will be freed.
Get:1 /home/pi/libcurl3_7.38.0-4+deb8u16_armhf.deb libcurl3 armhf 7.38.0-4+deb8u16 [237 kB]
(Reading database ... 65724 files and directories currently installed.)
Removing curl (7.64.0-4+deb10u2) ...
Removing libcurl4:armhf (7.64.0-4+deb10u2) ...
Selecting previously unselected package libcurl3:armhf.
(Reading database ... 65709 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.38.0-4+deb8u16_armhf.deb ...
Unpacking libcurl3:armhf (7.38.0-4+deb8u16) ...
Setting up libcurl3:armhf (7.38.0-4+deb8u16) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
#11: Kiem tra lai thu vien:
Mã:
sudo ldd /opt/tidal/bin/tidal_connect
Nếu thành công sẽ ko còn dòng:
/opt/tidal/bin/tidal_connect: /lib/arm-linux-gnueabihf/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /opt/tidal/bin/tidal_connect)
#12: Start lai TC bang cac cau lenh o buoc #7
Mã:
sudo systemctl daemon-reload
sudo systemctl enable tidal.service
sudo systemctl restart tidal.service
sudo systemctl status tidal.service
Chúc bác thành công.

Quá tuyệt vời, sau mấy phút loay hoay cài theo đúng hướng dẫn của bác và bổ sung thêm
soundcheck.sh của bác @quatmo thì Tidal Connect đã chạy ngon trên Moode 7.2.1, chuyển qua chuyển lại giữa TC và WebUI mượt mà.

Hiện em đang gặp vấn đề là ko chỉnh được Volume của TC, nó phát rất to, điều chỉnh ở Ropi Streamer ko ăn thua.

Cảm ơn bác và bác @quatmo rất nhiều

ACtC-3c_4GPl7jRDTsXFj5UWIOP5f9lx3-r5LwG3c5gZWoomlbx478z8PqKUAkLCe5GmKCIoGyW6ckjNrvD3eqHkEznmb78DR-16qqtIKLEmGy_wERQlqeoidJoUDNh-B5KkJEq2iLdgN2SKwSYxBfWrlNrz1Q=w584-h736-no

AF1QipOfUtRFiDX5RYFWxvE0r11_9hfb_8zH7Svr6q_0
 
Chỉnh sửa lần cuối:

pana800

Active Member
Cả nhà cho mình hỏi là liệu TC trên Moode so với dùng Mconnect phát vào Moode UPNP thì chất lượng âm thanh khác nhau nhiều không? Sở dĩ mình hỏi vậy là theo mình hiểu là một OSchạy càng ít service thì càng tốt cho âm thanh. Do đó nếu UPNP chất lượng cũng tương đương TC thì nên chăng mình chỉ xài thuần Moode kết hợp với MConnect/BubbleUPNP. Cái hay của các giải pháp MConnect...là có thể kết hợp nhiều dịch vụ online và offline.
Edit:
Mình so sánh thì TC cho phép phát file Master lênPCM 88.2kHz còn cùng bài đó qua MConnect chỉ lên 44.1kHz. TC nghe leng keng hơn. Mình test với Digione.
 
Chỉnh sửa lần cuối:

do_long_khach

Well-Known Member
Rảnh ngồi test phát nhạc offline từ mconnect và bubble ds thì thấy từ bubble ds tiếng bí hơn rất rõ. Sao openhome lại kém hơn upnp thường nhỉ? Hay control point có tác động đến chất âm?
 

tauchien

Active Member
Các bác cho em hỏi, em vừa cài TC trên Moode 7.2.1 theo hướng dẫn của bác @mdce ở trên, nhưng Volume điều khiển khi phát nhạc không có tác dụng gì, nó rất to như đang ở mức 100%.

Cảm ơn các bác !
 

rndce

Well-Known Member
Gian nan quá bác ạ, cài ifi-streamer-tidal-connect.service thì ko ra tiếng.
Cài RoPi TC thì tiếng to quá...
Hic !
Bác vào file service của Tidal sửa lại dòng -f "Ropi Streamer" \ thành -f "MoOde Streamer" \
là sẽ ko còn thấy Ropi Streamer khi đẩy nhạc từ Tidal app trên phone qua MoOde nữa ah.
Mã:
sudo nano /etc/systemd/system/tidal.service
TidalService.png
 

Thanhvo31

Well-Known Member
Thấy Aurender sắp ra server khủng N30SA giá 24k Bi-đờn.

ACtC-3cQmVypviEQj3dj8fLwDrXXYKva70y_KlBxAwGRMq7fPWSZtTwlwCZFGfMb3MOsxX_k2R5BlkaQPg2obprP6oVA7tFvgMa9JadDycgTB7glwTYvLTKmq6udFrYkERQrQZHaU6fXV7gdSx3DJyTzPOIOHw=w1501-h1782-no


Dàn Transformer là đồ GT (https://www.gt-electronicindia.com/about/)
Power-transforrmer-banner.jpg


Ngó thấy có cái tụ lọc EMI của EPCOS đâu như 880k.


Nhớ ra còn 1 chiếc SCHAFFENER 250V-4A, giá off còn 700k cho bác nào cần nhé.
ACtC-3cgDIHtZ4AifLTEdIW3ZCnWz-4rKE8plKZbsUU1Y9guhooq-YZHEuJe4uMQt5mG8K5rdLWIXPbs-th-mALHt8UUbYdSGrPfMKQHzIqvBOr9IycswLS0uIOEC0ldKd7d196_d9sr51haPoGkIM-4aKakZw=w2376-h1782-no

Nếu không ai có nhu cầu mình sẽ donate cho bác nào có dự án hay.
 
Chỉnh sửa lần cuối:

tauchien

Active Member
Bác chịu khó làm lại lần nữa theo hướng dẫn này:

#1./ Bản Moode mình gửi trước kia.
#2./ Không cài thêm Aplayer (nếu cài rồi thì xóa file service, folder aplayer) Vì trong file update đã có Aplayer sẵn.
#3./ Copy 2 file (moode_aplayer_service.tgz và moode_aplayer.tgz) vào /tmp/ rồi chạy mấy dòng sau

Mã:
sudo tar -zxf /tmp/moode_aplayer_service.tgz --overwrite -C /etc/systemd/system/
sudo tar -zxf /tmp/moode_aplayer.tgz --overwrite -C /opt/
Sorry! Mới chỉnh lại đường dẫn chứa cho đúng, lại nhầm lần nữa.
----------
#4./ Chạy start:
Mã:
sudo systemctl enable aplayer.service
sudo systemctl enable soundcheck.service
sudo reboot

Update này chỉ phù hợp với bản Moode của mình gửi. (Dùng cho bản khác cần sửa câu lệnh).

Kịch bản là vậy:
- Khi bấm play TC: -> Web, Aplayer tắt, bấm stop, Web, Aplayer trở lại.
- Khi bấm play Aplayer: -> TC, Web tắt, bấm stop, Web, TC trở lại sau vài giây.

Máy mình chạy Ok.
https://drive.google.com/drive/folders/1WPnOmsOGNJToKEvqc6OgorgBQ0nc3ik3?usp=sharing
Link của bác chắc ko public nữa rồi, bác cho em xin Aplayer cho Moode 7.2.1 nhé. Cảm ơn bác nhiều !
 
Bên trên