Có AE nào lên đời DAC thanh lý DAC cũ ko nhỉ?Ngoài kết nối bluetooth Pi4 với Suca đó là USB . Cái khác biệt là cổng USB này : Nguồn và tín hiệu là 1 ( nghĩa là dây usb vừa là nguồn nuôi cho Pi4 đồng thời nó là đường tín hiệu vậy là gọn nhất bác ạ kiểu truyền này ko qua Hub-Pi4 ui ) .
Arch64 bit chưa mod được bác ơi !
rAudio up mới các bác ạ .
sudo rm -f /var/lib/pacman/sync/*
sudo pacman -Syy
sudo pacman -S git
sudo pacman -S docker-compose
sudo pacman -S docker
sudo systemctl start docker.service
sudo systemctl enable docker.service
git clone https://github.com/TonyTromp/tidal-connect-docker.git
cd tidal-connect-docker
./install_hifiberry.sh
sudo systemctl enable tidal.service
sudo systemctl status tidal.service
sudo systemctl daemon-reload
sudo systemctl restart tidal.service
2 dòng màu đỏ này là gì vậy bác Lâm ?Có thể cài Tidal Connect trên rAudio 64 bit như sau:
1. Cài Docker
Mã:sudo rm -f /var/lib/pacman/sync/* sudo pacman -Syy sudo pacman -S git sudo pacman -S docker-compose sudo pacman -S docker sudo systemctl start docker.service sudo systemctl enable docker.service
Mã:git clone https://github.com/TonyTromp/tidal-connect-docker.git cd tidal-connect-docker ./install_hifiberry.sh
2. Chọn Card
Quá trình cài sẽ hiện chọn DAC, chọn card số có chữ default hoặc chọn số có tên DAC đang dùng.
0=sysdefault
1=default
2=dmix
...
Choose your output Device (0-9): 1
default
Mã:sudo systemctl enable tidal.service sudo systemctl status tidal.service
3. Nếu không có tiếng
Nếu play không có tiếng thì WinSCP edit file này:
/root/tidal-connect-docker/Docker/entrypoint.sh
Thay thế nguyên chữ này ${PLAYBACK_DEVICE} bằng chữ: default
Mã:sudo systemctl daemon-reload sudo systemctl restart tidal.service
4. Nếu còn chưa ra tiếng nữa thì config Tidal theo
Github: https://github.com/GioF71/tidal-connect
Mã:r A u d i o rAudio:~ # sudo rm -f /var/lib/pacman/sync/* sudo pacman -Syy sudo pacman -S git sudo pacman -S docker-compose sudo pacman -S docker sudo systemctl start docker.service sudo systemctl enable docker.service :: Synchronizing package databases... +R 5.9 KiB 12.7 KiB/s 00:00 [##################################################] 100% core 237.1 KiB 87.0 KiB/s 00:03 [##################################################] 100% extra 9.1 MiB 3.58 MiB/s 00:03 [##################################################] 100% alarm 57.3 KiB 597 KiB/s 00:00 [##################################################] 100% resolving dependencies... looking for conflicting packages... Packages (4) perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 git-2.42.0-1 Total Download Size: 6.51 MiB Total Installed Size: 41.81 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... git-2.42.0-1-aarch64 6.4 MiB 3.17 MiB/s 00:02 [##################################################] 100% perl-mailtools-2.21-7-any 58.5 KiB 472 KiB/s 00:00 [##################################################] 100% perl-timedate-2.33-5-any 32.9 KiB 242 KiB/s 00:00 [##################################################] 100% perl-error-0.17029-5-any 21.0 KiB 150 KiB/s 00:00 [##################################################] 100% Total (4/4) 6.5 MiB 2.23 MiB/s 00:03 [##################################################] 100% (4/4) checking keys in keyring [##################################################] 100% (4/4) checking package integrity [##################################################] 100% (4/4) loading package files [##################################################] 100% (4/4) checking for file conflicts [##################################################] 100% (4/4) checking available disk space [##################################################] 100% :: Processing package changes... (1/4) installing perl-error [##################################################] 100% (2/4) installing perl-timedate [##################################################] 100% (3/4) installing perl-mailtools [##################################################] 100% (4/4) installing git [##################################################] 100% Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto [installed] perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 965. Creating user 'git' (git daemon user) with UID 965 and GID 965. (2/4) Reloading system manager configuration... (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules WARNING: '/usr/lib/perl5/5.38' contains data from at least 3 packages which will NOT be used by the installed perl interpreter. -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.38' resolving dependencies... looking for conflicting packages... Packages (1) docker-compose-2.20.3-1 Total Download Size: 9.55 MiB Total Installed Size: 52.91 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... docker-compose-2.20.3-1-aarch64 9.6 MiB 2.83 MiB/s 00:03 [##################################################] 100% (1/1) checking keys in keyring [##################################################] 100% (1/1) checking package integrity [##################################################] 100% (1/1) loading package files [##################################################] 100% (1/1) checking for file conflicts [##################################################] 100% (1/1) checking available disk space [##################################################] 100% :: Processing package changes... (1/1) installing docker-compose [##################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... resolving dependencies... looking for conflicting packages... Packages (4) bridge-utils-1.7.1-1 containerd-1.7.2-1 runc-1.1.9-1 docker-1:24.0.5-1 Total Download Size: 40.24 MiB Total Installed Size: 184.85 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... containerd-1.7.2-1-aarch64 20.3 MiB 3.16 MiB/s 00:06 [##################################################] 100% docker-1:24.0.5-1-aarch64 17.5 MiB 3.30 MiB/s 00:05 [##################################################] 100% runc-1.1.9-1-aarch64 2.3 MiB 2.74 MiB/s 00:01 [##################################################] 100% bridge-utils-1.7.1-1-aarch64 16.1 KiB 84.0 KiB/s 00:00 [##################################################] 100% Total (4/4) 40.2 MiB 2.84 MiB/s 00:14 [##################################################] 100% (4/4) checking keys in keyring [##################################################] 100% (4/4) checking package integrity [##################################################] 100% (4/4) loading package files [##################################################] 100% (4/4) checking for file conflicts [##################################################] 100% (4/4) checking available disk space [##################################################] 100% :: Processing package changes... (1/4) installing bridge-utils [##################################################] 100% (2/4) installing runc [##################################################] 100% Optional dependencies for runc criu: checkpoint support (3/4) installing containerd [##################################################] 100% (4/4) installing docker [##################################################] 100% Optional dependencies for docker btrfs-progs: btrfs backend support pigz: parallel gzip compressor support docker-scan: vulnerability scanner docker-buildx: extended build capabilities :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'docker' with GID 964. (2/4) Reloading system manager configuration... (3/4) Reloading device manager configuration... (4/4) Arming ConditionNeedsUpdate... Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /usr/lib/systemd/system/docker.service. rAudio:~ # git clone https://github.com/TonyTromp/tidal-connect-docker.git cd tidal-connect-docker ./install_hifiberry.sh Cloning into 'tidal-connect-docker'... remote: Enumerating objects: 451, done. remote: Counting objects: 100% (118/118), done. remote: Compressing objects: 100% (51/51), done. remote: Total 451 (delta 82), reused 90 (delta 67), pack-reused 333 Receiving objects: 100% (451/451), 1.40 MiB | 1.44 MiB/s, done. Resolving deltas: 100% (203/203), done. Running environment: FRIENDLY_NAME: rAudio MODEL_NAME: rAudio BEOCREATE_SYMLINK_FOLDER: /opt/beocreate/beo-extensions/tidal DOCKER_DNS: 8.8.8.8 DOCKER_IMAGE: edgecrush3r/tidal-connect:latest BUILD_OR_PULL: pull MQA_PASSTHROUGH: false MQA_CODEC: false PWD: /root/tidal-connect-docker Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Pre-flight checks. Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Checking to see if Docker is running. Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Confirmed that Docker daemon is running. Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Checking to see if Docker image edgecrush3r/tidal-connect:latest exists. Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Docker image edgecrush3r/tidal-connect:latest does not exist on local machine. Wed Aug 30 11:15:02 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Pulling docker image edgecrush3r/tidal-connect:latest. latest: Pulling from edgecrush3r/tidal-connect 31994f9482cd: Pull complete 1fcd56867895: Pull complete 2b00aeeafa5f: Pull complete 6cda31d42924: Pull complete 4f4fb700ef54: Pull complete 12672f71e2cd: Pull complete 4273e5c247e0: Pull complete 08a87ae52162: Pull complete 84b47c0b0147: Pull complete 75510e614a7c: Pull complete c72720657eb6: Pull complete b7acb6054aaa: Pull complete b6b9f415ba23: Pull complete 6de8d8336b84: Pull complete b5781ddcb422: Pull complete 4cbd8d568236: Pull complete 49086a2100fa: Pull complete 1b6d45ba6237: Pull complete d7a6cd50ba2f: Pull complete 14ad284be473: Pull complete Digest: sha256:4c4cf9508d947306f3ce2d7c8766392197fa19f046a5a88e79428b8974c2dbcc Status: Downloaded newer image for edgecrush3r/tidal-connect:latest docker.io/edgecrush3r/tidal-connect:latest Wed Aug 30 11:23:26 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished pulling docker image edgecrush3r/tidal-connect:latest. Wed Aug 30 11:23:26 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Select audio output device Found output devices... 0=sysdefault 1=default 2=dmix Choose your output Device (0-9): 0 sysdefault Wed Aug 30 11:24:04 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Creating .env file. Wed Aug 30 11:24:04 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished creating .env file. Wed Aug 30 11:24:04 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: /root/tidal-connect-docker/Docker/CONFIG already exists. this file will be replaced with new configuration. Wed Aug 30 11:24:05 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Create config symlink -> /root/tidal-connect-docker/Docker/.env Wed Aug 30 11:24:05 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Generating docker-compose.yml. Wed Aug 30 11:24:05 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished generating docker-compose.yml. Wed Aug 30 11:24:05 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Enabling TIDAL Connect Service. Created symlink /etc/systemd/system/multi-user.target.wants/tidal.service -> /etc/systemd/system/tidal.service. Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished enabling TIDAL Connect Service. Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Adding TIDAL Connect Source to Beocreate. Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Adding TIDAL Connect Source to Beocreate UI. ln: failed to create symbolic link '/opt/beocreate/beo-extensions/tidal': No such file or directory Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished adding TIDAL Connect Source to Beocreate. Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Installation Completed. Wed Aug 30 11:24:06 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Starting TIDAL Connect Service. Starting TIDAL Connect Service. Finished starting TIDAL Connect Service. Wed Aug 30 11:24:10 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Restarting Beocreate 2 Service. Stopping Beocreate 2 Server Failed to stop beocreate2.service: Unit beocreate2.service not loaded. Starting Beocreate 2 Server Failed to start beocreate2.service: Unit beocreate2.service not found. Finished restarting Beocreate 2 Server. Wed Aug 30 11:24:11 +07 2023 rAudio install_hifiberry.sh[1993]: [INFO]: Finished, exiting. rAudio:~/tidal-connect-docker # sudo systemctl enable tidal.service sudo systemctl status tidal.service * tidal.service - Tidal Connect Docker Service Loaded: loaded (/etc/systemd/system/tidal.service; enabled; preset: disabled) Active: active (exited) since Wed 2023-08-30 11:24:10 +07; 1min 12s ago Main PID: 2524 (code=exited, status=0/SUCCESS) CPU: 173ms Aug 30 11:24:06 rAudio systemd[1]: Starting Tidal Connect Docker Service... Aug 30 11:24:06 rAudio docker-compose[2524]: Container tidal_connect Creating Aug 30 11:24:09 rAudio docker-compose[2524]: Container tidal_connect Created Aug 30 11:24:09 rAudio docker-compose[2524]: Container tidal_connect Starting Aug 30 11:24:10 rAudio docker-compose[2524]: Container tidal_connect Started Aug 30 11:24:10 rAudio systemd[1]: Finished Tidal Connect Docker Service. rAudio:~/tidal-connect-docker #
Cái Beocreate đó mình không dùng, nó của HifiberryOS dùng cho loa B&O. Tự skip qua.2 dòng màu đỏ này là gì vậy bác Lâm ?
Thêm cái remote rAudio/bubbleupnp server cho nas nhà nữa là trọn vẹn bác lâm ạ .Cái Beocreate đó mình không dùng, nó của HifiberryOS dùng cho loa B&O. Tự skip qua.
Đã thay chấu sạc (vào nước) . Pin phù bác Dũng order mình thay ạ .
Em thấy trên shopee bán pin này nhiều anh xem mua thay giùm em nhé! Điện thoại này là vsmart live.Đã thay chấu sạc (vào nước) . Pin phù bác Dũng order mình thay ạ .
Cổng usb của DAC cấp điện nuôi được Pi4 à bác?Ngoài kết nối bluetooth Pi4 với Suca đó là USB . Cái khác biệt là cổng USB này : Nguồn và tín hiệu là 1 ( nghĩa là dây usb vừa là nguồn nuôi cho Pi4 đồng thời nó là đường tín hiệu vậy là gọn nhất bác ạ kiểu truyền này ko qua Hub-Pi4 ui ) .
Anh kt nhe !Tidal mình đã hết hạn ai còn cho mình thử tí ? Hoặc ai đã cài vào rAudio xác nhận TC nó có kêu ko ạ ? Cảm ơn tất cả . . . nhất là bác Lâm số 1 ui .
Bác check TK Tidal của bác còn Premium không? Nếu hết hạn nó sẽ không nhận.kích vô biểu tượng raudio nó nhảy ra không nhận
Thanks bác, mình check lại.vẫn đang dùng TC của DAStereo, thank
Phần 2: Dùng Docker Tidal của GioF17Có thể cài Tidal Connect trên rAudio 64 bit như sau:
1. Cài Docker
Mã:sudo rm -f /var/lib/pacman/sync/* sudo pacman -Syy sudo pacman -S git sudo pacman -S docker-compose sudo pacman -S docker sudo systemctl start docker.service sudo systemctl enable docker.service
Mã:git clone https://github.com/TonyTromp/tidal-connect-docker.git cd tidal-connect-docker ./install_hifiberry.sh
2. Chọn Card
Quá trình cài sẽ hiện chọn DAC, chọn card số có chữ default hoặc chọn số có tên DAC đang dùng.
0=sysdefault
1=default
2=dmix
...
Choose your output Device (0-9): 1
default
Mã:sudo systemctl enable tidal.service sudo systemctl status tidal.service
3. Nếu không có tiếng
Nếu play không có tiếng thì WinSCP edit file này:
/root/tidal-connect-docker/Docker/entrypoint.sh
Thay thế nguyên chữ này ${PLAYBACK_DEVICE} bằng chữ: default
--playback-device "default"
Hoặc gán DAC vào, DAC như cách cài TC trước kia
--playback-device "DAC ABC"
Mã:sudo systemctl daemon-reload sudo systemctl restart tidal.service
4. Nếu còn chưa ra tiếng nữa thì config Tidal theo
Github: https://github.com/GioF71/tidal-connect
sudo systemctl disable tidal.service
sudo systemctl stop tidal.service
git clone https://github.com/GioF71/tidal-connect
aplay -l
cd tidal-connect
touch .env
sudo nano /root/tidal-connect/.env
CARD_NAME=RPi-DAC HiFi
CARD_INDEX=0
FRIENDLY_NAME=rAudio TC
DNS_SERVER_LIS=8.8.8.8
cd /root/tidal-connect
docker-compose up -d
cd /root/tidal-connect
docker-compose down
Mượn TK Tidal Premium check cả 2 cách dùng Docker trên.Phần 2: Dùng Docker Tidal của GioF17
Github: https://github.com/GioF71/tidal-connect
Không kết nối Tidal được. Giờ sẽ chuyển sang dùng mục số 4 như sau:
1. Tắt Tidal trước đó.
Mã:sudo systemctl disable tidal.service sudo systemctl stop tidal.service
2. Cài mới từ GioF17
Mã:git clone https://github.com/GioF71/tidal-connect
Kiểm tra đang dùng DAC số mấy:
ví dụ kết quả là:Mã:aplay -l
card 0: sndrpirpidac...., là dùng card số 0
tên DAC: RPi-DAC HiFi...
hoặc dùng lệnh: cat /proc/asound/cards
Mã:cd tidal-connect touch .env sudo nano /root/tidal-connect/.env
Pate vào nội dung:
Mã:CARD_NAME=RPi-DAC HiFi CARD_INDEX=0 FRIENDLY_NAME=rAudio TC DNS_SERVER_LIS=8.8.8.8
CARD_NAME=điền tên ngắn gọn
CARD_INDEX=điền số card
FRIENDLY_NAME=Đặt tên tùy thích
Lưu lại bằng phím tắt: ctrt+x, nhấn y, nhấn enter
Lệnh chạy docker:
Mã:cd /root/tidal-connect docker-compose up -d
Nếu muốn dừng
Mã:cd /root/tidal-connect docker-compose down
Play nhạc
Mẹo:
Hiện file/folder ẩn trong WinSCP, nhấn phím ctrl+alt+h.
Sẽ thấy file ẩn vừa tạo trước đó: .env
Dùng WinSCP edit file .env để thêm, thay đổi các tham số, như card, name....
Xem thêm config tham số tại: https://github.com/GioF71/tidal-connect
Chiết cành bác ơi !Cổng usb của DAC cấp điện nuôi được Pi4 à bác?