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

toi511

Well-Known Member
Em nghĩ nếu như mình mount được cloud vào một folder trên pi. Rồi sau đó add vào assetupnp thì sẽ được ạ.

Cái này hỏi anh @quatmo là rõ nhất. Anh í chủ trì vụ phát nhạc trên cloud :D
Ok bác, dân điện sửa ống nước nên vụ này em dở phải hỏi lung tung. :D:D:D:D:D
 

quatmo

Well-Known Member
Ý bác nói có phải như hình không?
Vậy Pi nối ra DAC, thì tại sao phải dùng 2 Pi, mà không dùng chỉ 1 Pi? Pi nối ra DAC thì cài OS gì?
J3160_4.png
1. Hic, hình bác vẽ 2 cái Pi nên mình chỉ bác gắn luôn 2 cái vào cái Minipc. Nghĩ là bác có sẵn thì gắn xài luôn mỗi cái 1 OS nghe so sánh.

2. Vì thấy bác đang dự tính nên mình mới giới thiệu bác 1 cách tối ưu mà bác Phước đang chơi. Phù hợp với việc chơi từ ổ cứng của bác. Minipc + 1 con Pi là đủ. Túm lại Minipc thay cho vị trí cái Switch (chẳng cần xài Switch).

Bác hỏi mọi người cách nào ít bị nhiễu, nghe tốt hơn, có lẽ chẳng ai trả lời cái nào tốt hơn được.
Mình tính chơi Dual Pi (1 làm transport, 1 làm music server). Con Pi làm music server có 2 cách gắn ổ cứng. Các bác cho hỏi cách nào dùng ít bị nhiễu, nghe được tốt hơn ạ:
1. Gắn box ổ cứng 2.5'', lấy nguổn nuôi trực tiếp của Pi.
2. Gắn ổ cứng 3.5'', có nguồn riêng (giống như gắn NAS).

Mình chỉ có thể trả lời bác vì ổ cứng quay trong đó có cái motor tạo ra xung điện nhiễu tín hiệu I2S trên Pi. Mình trải nghiệm chạy ổ cứng gắn Pi cấp nguồn riêng cho cả 2 bằng Pin Lithium nhưng rồi vài hôm chán bõ luôn việc gắn ổ cứng trực tiếp.

Nếu bác cứ muốn chơi 2 Pi thì gắn cho nó cái ổ cứng SSD, đừng xài ổ cứng quay 3.5. Và tốt nhất dùng Pi 4 để làm server vì chip xử lý cho việc đó (USB) rời. Nên cấp nguồn 4A trở lên.
 

Thanhvo31

Well-Known Member
Ok bác, dân điện sửa ống nước nên vụ này em dở phải hỏi lung tung. :D:D:D:D:D

Hi bác

Mình vừa triển khai trên Windows 10 ngon
Linux chơi sau nhé
1) Tải https://downloads.rclone.org/v1.52.2/rclone-v1.52.2-windows-amd64.zip về máy
2) Giải nén ra 1 folder
3) Mở cmd tại folder có chứa rclone.exe
4) Chạy rclone.exe
5) C:\Users\xxx\App_P1\rclone>rclone config

2020/06/28 21:05:18 NOTICE: Config file "C:\\Users\\thanh\\.config\\rclone\\rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> chọn n
name> chọn theo mình muốn, ví dụ sgdrive
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value

chọn 13 (là google drive)
client_id> chọn Enter ("")
client_secret> cũng Enter
scope> mình chọn 1 (read write)
root_folder_id>cũng Enter
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n
Please go to the following link: https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=202264815644.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:eek:auth:2.0:eek:ob&response_type=code&scope=https://www.googleapis.com/auth/drive&state=xxxxxxxxxxxxxx_-A
Log in and authorize rclone for access
Chọn nguyên bộ đỏ, dán sang trình duyệt
Please copy this code, switch to your application and paste it there: xxxxxxxxxx, bê nguyên chỗ xxxxx dán xuống
Enter verification code>xxxxxxxxxx
Configure this as a team drive?
y) Yes
n) No (default)
y/n> chọn y (có nhé)

Fetching team drive list...
Choose a number from below, or type in your own value
1 / Big_Drive
\ "0AFBQtdxxyxyxyxyk9PVA"
Enter a Team Drive ID> của mình có 1 shares drive thôi, chọn 1
---
kết quả
--------------------
[bgdrive]
type = drive
scope = drive
token = {"access_token":"ya29.a0xxxxxxxxxxxxxxxxxxTkw0t-CbCxNXH7KbNUrNhDAODpvJPsGNT_wMBi8I9_LM3SR_KuwM9fltggZvVAKIKPP5dw44k0v_N73hxFLO8QyYuncXfR1UnxxxxxxxxxxxxxxxxxxxxxxxxTk8FZ2Hg","token_type":"Bearer","refresh_token":"1//0ecJmrlvWd9jTCgYIARAAGA4SNwF-L9IrG-RCOukEYggY83q4ASE_xxxxxxxxxxKVKs3MH4vwrA","expiry":"2020-06-28T22:07:59.9164529+07:00"}
team_drive = 0AFBQtdTmNNE3Uk9PVA
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
==== ====
bgdrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> chọn q
Xong vụ config.
Trên Win cài thêm WinFsp 2020.1
https://github.com/billziss-gh/winfsp/releases/download/v1.7/winfsp-1.7.20172.msi

Cài xong Winfps thì mount Share drive vào ổ còn trống, của mình chọn ổ G:

Từ dòng lệnh, gõ tiếp
C:\Users\xxx\App_P1\rclone>rclone mount sgdrive: G:
Tân hưởng thành quả thôi

Phà ôi, ổ gì mà 1PB?
ACtC-3f6ls07hEfULqf3_iwHqLIJx6ZeHIQvmW469rSsnAYj-hTCpeu4uwvsmQtfWzjXGszQfe2N0NIlB0rF0MyaVp-DeUKE3VtawhxbOxoc4nNPcoIoMdoZDPHMzf03r7ZZ8hVJPewusq7mire_XQsvrDFN2g=w2626-h496-no


Thử up 5.58M/s

ACtC-3dCBgbJm01l8pkrdXIt0N29N6t1ug2GDdtCl0JJpDllfyRsBpav_Mgp5hqGRKQDRPu6IeH792ASlURNQgTrmxBTSMCyRCl3iylk_bdwRMwaob4KOA53J8c-TR6-scB43yWGF8VRJV6dTrsDhNTQT2698Q=w932-h264-no


Down ~10 MB/s , quá ngon
ACtC-3d2IUpWKfYGt7NyXEDi7ogqOWHNzRxbAGMsQGoPMwLS_wZ48VKW8pXsAPw76P-81D5afsrjqo1tGRCHwLXu7ngmTN2pBNsjB5ntKM8GMQyG88C9pO8euKJc0PByr85Z_TI9SqKka7KubETOU18bHp8aRg=w896-h252-no
 
Chỉnh sửa lần cuối:

quatmo

Well-Known Member
mount được cái cloud này là ngon lém, chắc quyết tâm kiếm con Pi 4 về đu theo mọi người
( em đang dùng miniPc, cài RaiDrive, mount cái này lên Win, chạy Jriver ngon choét, ngon hơn OneDrive nhiều )
Asset ngon thật đấy bác. Nghe trong trẻo hơn hẳn. Kiểu này chắc phải mua license thôi bác. Nó mount googledrive được k bác nhỉ. Được thì tuyệt
Em nghĩ nếu như mình mount được cloud vào một folder trên pi. Rồi sau đó add vào assetupnp thì sẽ được ạ.

Cái này hỏi anh @quatmo là rõ nhất. Anh í chủ trì vụ phát nhạc trên cloud :D

Được nha bác, mình vừa cài xong Asset UPnP trên RopiXL. Scan album folder mount từ GDrive, play ngon.

Cách làm như sau:
1. Download bản Ropi mod 2000.

2. Chạy tắt cái MinmServer đi
systemctl disable minimserver.service

3. Download vế máy tính: https://www.dbpoweramp.com/install/Asset-RaspberryPi.tar.gz
cd /usr/bin
mkdir asset
chmod 777 asset
cd asset

4. Dùng WinSCP copy file Asset-RaspberryPi.tar.gz từ máy tính vào /usr/bin/asset rồi chạy tiếp:
tar -zxvf *.gz
rm *.gz
cd /usr/bin/asset/Asset-R6.6-Linux-ARM32-trial/bin
./AssetUPnP
Chạy cài xong sẽ hiện ra Ip:port của trang Asset UPnP Config

5. Trên trình duyệt chạy Ip:port đó
6. Add folder đã mount vào trước đó, apply cho nó scan album
 
Chỉnh sửa lần cuối:

toi511

Well-Known Member
Hi bác

Mình vừa triển khai trên Windows 10 ngon
Linux chơi sau nhé
1) Tải https://downloads.rclone.org/v1.52.2/rclone-v1.52.2-windows-amd64.zip về máy
2) Giải nén ra 1 folder
3) Mở cmd tại folder có chứa rclone.exe
4) Chạy rclone.exe
5) C:\Users\xxx\App_P1\rclone>rclone config

2020/06/28 21:05:18 NOTICE: Config file "C:\\Users\\thanh\\.config\\rclone\\rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> chọn n
name> chọn theo mình muốn, ví dụ sgdrive
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value

chọn 13 (là google drive)
client_id> chọn Enter ("")
client_secret> cũng Enter
scope> mình chọn 1 (read write)
root_folder_id>cũng Enter
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n
Please go to the following link: https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=202264815644.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:eek:auth:2.0:eek:ob&response_type=code&scope=https://www.googleapis.com/auth/drive&state=xxxxxxxxxxxxxx_-A
Log in and authorize rclone for access
Chọn nguyên bộ đỏ, dán sang trình duyệt
Please copy this code, switch to your application and paste it there: xxxxxxxxxx, bê nguyên chỗ xxxxx dán xuống
Enter verification code>xxxxxxxxxx
Configure this as a team drive?
y) Yes
n) No (default)
y/n> chọn y (có nhé)

Fetching team drive list...
Choose a number from below, or type in your own value
1 / Big_Drive
\ "0AFBQtdxxyxyxyxyk9PVA"
Enter a Team Drive ID> của mình có 1 shares drive thôi, chọn 1
---
kết quả
--------------------
[bgdrive]
type = drive
scope = drive
token = {"access_token":"ya29.a0xxxxxxxxxxxxxxxxxxTkw0t-CbCxNXH7KbNUrNhDAODpvJPsGNT_wMBi8I9_LM3SR_KuwM9fltggZvVAKIKPP5dw44k0v_N73hxFLO8QyYuncXfR1UnxxxxxxxxxxxxxxxxxxxxxxxxTk8FZ2Hg","token_type":"Bearer","refresh_token":"1//0ecJmrlvWd9jTCgYIARAAGA4SNwF-L9IrG-RCOukEYggY83q4ASE_xxxxxxxxxxKVKs3MH4vwrA","expiry":"2020-06-28T22:07:59.9164529+07:00"}
team_drive = 0AFBQtdTmNNE3Uk9PVA
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
==== ====
bgdrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> chọn q
Xong vụ config.
Trên Win cài thêm WinFsp 2020.1
https://github.com/billziss-gh/winfsp/releases/download/v1.7/winfsp-1.7.20172.msi

Cài xong Winfps thì mount Share drive vào ổ còn trống, của mình chọn ổ G:

Từ dòng lệnh, gõ tiếp
C:\Users\xxx\App_P1\rclone>rclone mount sgdrive: G:
Tân hưởng thành quả thôi

Phà ôi, ổ gì mà 1PB?
ACtC-3f6ls07hEfULqf3_iwHqLIJx6ZeHIQvmW469rSsnAYj-hTCpeu4uwvsmQtfWzjXGszQfe2N0NIlB0rF0MyaVp-DeUKE3VtawhxbOxoc4nNPcoIoMdoZDPHMzf03r7ZZ8hVJPewusq7mire_XQsvrDFN2g=w2626-h496-no


Thử up 5.58M/s

ACtC-3dCBgbJm01l8pkrdXIt0N29N6t1ug2GDdtCl0JJpDllfyRsBpav_Mgp5hqGRKQDRPu6IeH792ASlURNQgTrmxBTSMCyRCl3iylk_bdwRMwaob4KOA53J8c-TR6-scB43yWGF8VRJV6dTrsDhNTQT2698Q=w932-h264-no


Down ~10 MB/s , quá ngon
ACtC-3d2IUpWKfYGt7NyXEDi7ogqOWHNzRxbAGMsQGoPMwLS_wZ48VKW8pXsAPw76P-81D5afsrjqo1tGRCHwLXu7ngmTN2pBNsjB5ntKM8GMQyG88C9pO8euKJc0PByr85Z_TI9SqKka7KubETOU18bHp8aRg=w896-h252-no
Ngon quá bác
 

toi511

Well-Known Member
Được nha bác, mình vừa cài xong Asset UPnP trên RopiXL. Scan album folder mount từ GDrive, play ngon.

Cách làm như sau:
1. Download bản Ropi mod 2000.

2. Chạy tắt cái MinmServer đi
systemctl disable minimserver.service

3. Download vế máy tính: https://www.dbpoweramp.com/install/Asset-RaspberryPi.tar.gz
cd /usr/bin
mkdir asset
chmod 777 asset
cd asset

4. Dùng WinSCP copy file Asset-RaspberryPi.tar.gz từ máy tính vào /usr/bin/asset rồi chạy tiếp:
tar -zxvf *.gz
rm *.gz
cd /usr/bin/asset/Asset-R6.6-Linux-ARM32-trial/bin
./AssetUPnP
Chạy cài xong sẽ hiện ra Ip:port của trang Asset UPnP Config

5. Trên trình duyệt chạy Ip:port đó
6. Add folder đã mount vào trước đó, apply cho nó scan album
Mình cài asset ok rồi tính hỏi bác cách mount google drive team share cho nó thôi
 

bmc264

Active Member
Hi bác

Mình vừa triển khai trên Windows 10 ngon
Linux chơi sau nhé
1) Tải https://downloads.rclone.org/v1.52.2/rclone-v1.52.2-windows-amd64.zip về máy
2) Giải nén ra 1 folder
3) Mở cmd tại folder có chứa rclone.exe
4) Chạy rclone.exe
5) C:\Users\xxx\App_P1\rclone>rclone config

2020/06/28 21:05:18 NOTICE: Config file "C:\\Users\\thanh\\.config\\rclone\\rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> chọn n
name> chọn theo mình muốn, ví dụ sgdrive
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value

chọn 13 (là google drive)
client_id> chọn Enter ("")
client_secret> cũng Enter
scope> mình chọn 1 (read write)
root_folder_id>cũng Enter
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n
Please go to the following link: https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=202264815644.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:eek:auth:2.0:eek:ob&response_type=code&scope=https://www.googleapis.com/auth/drive&state=xxxxxxxxxxxxxx_-A
Log in and authorize rclone for access
Chọn nguyên bộ đỏ, dán sang trình duyệt
Please copy this code, switch to your application and paste it there: xxxxxxxxxx, bê nguyên chỗ xxxxx dán xuống
Enter verification code>xxxxxxxxxx
Configure this as a team drive?
y) Yes
n) No (default)
y/n> chọn y (có nhé)

Fetching team drive list...
Choose a number from below, or type in your own value
1 / Big_Drive
\ "0AFBQtdxxyxyxyxyk9PVA"
Enter a Team Drive ID> của mình có 1 shares drive thôi, chọn 1
---
kết quả
--------------------
[bgdrive]
type = drive
scope = drive
token = {"access_token":"ya29.a0xxxxxxxxxxxxxxxxxxTkw0t-CbCxNXH7KbNUrNhDAODpvJPsGNT_wMBi8I9_LM3SR_KuwM9fltggZvVAKIKPP5dw44k0v_N73hxFLO8QyYuncXfR1UnxxxxxxxxxxxxxxxxxxxxxxxxTk8FZ2Hg","token_type":"Bearer","refresh_token":"1//0ecJmrlvWd9jTCgYIARAAGA4SNwF-L9IrG-RCOukEYggY83q4ASE_xxxxxxxxxxKVKs3MH4vwrA","expiry":"2020-06-28T22:07:59.9164529+07:00"}
team_drive = 0AFBQtdTmNNE3Uk9PVA
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
==== ====
bgdrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> chọn q
Xong vụ config.
Trên Win cài thêm WinFsp 2020.1
https://github.com/billziss-gh/winfsp/releases/download/v1.7/winfsp-1.7.20172.msi

Cài xong Winfps thì mount Share drive vào ổ còn trống, của mình chọn ổ G:

Từ dòng lệnh, gõ tiếp
C:\Users\xxx\App_P1\rclone>rclone mount sgdrive: G:
Tân hưởng thành quả thôi

Phà ôi, ổ gì mà 1PB?
ACtC-3f6ls07hEfULqf3_iwHqLIJx6ZeHIQvmW469rSsnAYj-hTCpeu4uwvsmQtfWzjXGszQfe2N0NIlB0rF0MyaVp-DeUKE3VtawhxbOxoc4nNPcoIoMdoZDPHMzf03r7ZZ8hVJPewusq7mire_XQsvrDFN2g=w2626-h496-no


Thử up 5.58M/s

ACtC-3dCBgbJm01l8pkrdXIt0N29N6t1ug2GDdtCl0JJpDllfyRsBpav_Mgp5hqGRKQDRPu6IeH792ASlURNQgTrmxBTSMCyRCl3iylk_bdwRMwaob4KOA53J8c-TR6-scB43yWGF8VRJV6dTrsDhNTQT2698Q=w932-h264-no


Down ~10 MB/s , quá ngon
ACtC-3d2IUpWKfYGt7NyXEDi7ogqOWHNzRxbAGMsQGoPMwLS_wZ48VKW8pXsAPw76P-81D5afsrjqo1tGRCHwLXu7ngmTN2pBNsjB5ntKM8GMQyG88C9pO8euKJc0PByr85Z_TI9SqKka7KubETOU18bHp8aRg=w896-h252-no
Win dows 10 bác dùng RaiDrive cho nhanh kick file exe là xong
 

bmc264

Active Member
Mình sẽ làm thêm bản Volumio cho Pi 4, Moodeaudio thì chạy được Pi 3/4
--------
Để chạy được cloud việc đầu tiên cần cài Ok thư viện rclone trước
https://rclone.org/downloads/

Và tạo Google Drive: API, client_id, client_secret OK (Tương tự như tạo Youtube api, trước mình hướng dẫn) đối với Onedrive cũng vậy.

Mình sẽ cập nhật link script vào đây sau
---------
Cập nhật hướng dẫn luôn, khỏi để link script.

1./ Install Rclone
sudo curl https://rclone.org/install.sh | sudo bash

2./ Tạo Google Drive Client ID hoặc Onedrive... xem mục tương ứng trong hướng dẫn: https://rclone.org/docs

3./ Cấu hình rclone SSH gõ: rclone config
name> gdrive (tên này sẽ dùng để cấu hình mount bên dưới). Mỗi tên tương ứng với 1 folder muốn mount.
Pate các thông số: client_id, client_secret.... theo hướng dẫn https://rclone.org/docs
Cài đặt rclone và cấu hình add API vào config thành công, mọi việc còn lại đơn giản như sau.

4./ Mở fuse:
sudo chmod -R 777 /etc/fuse.conf && sudo nano /etc/fuse.conf
Chỉnh sửa dòng - bõ dấu #: user_allow_other

5. Tạo folder dùng để mount cloud vào vd:
mkdir /mnt/INTERNAL/GDRIVE

6./ Tạo file mount với nội dung bên dưới, mountdrive.sh lưu vào vd: /opt/mountdrive.sh
#!/bin/bash
/usr/bin/rclone mount gdrive: /mnt/INTERNAL/GDRIVE --allow-other --gid=1000 --uid=1000 --dir-cache-time 7760h --fast-list --umask 002 --log-level INFO --user-agent rclone


7./ Tạo file unmount với nội dung bên dưới, unmountdrive.sh lưu vào vd: /opt/unmountdrive.sh
#!/bin/bash
for i in $(mount | grep rclone | cut -d' ' -f 3); do /bin/fusermount -z -u $i ; done


8./ Tạo file service khởi động vào /lib/systemd/system/gdrive.service. (của MoodeAudio: User=pi và Group=pi) nội dung bên dưới:

[Unit]
Description=Gdrive Music
After=network.target
[Service]
Type=simple
ExecStart=/bin/sh /opt/mountdrive.sh
ExecStop=/bin/sh /opt/unmountdrive.sh
User=volumio
Group=volumio
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target


9./ Chạy khởi động
systemctl daemon-reload
systemctl enable gdrive.service
systemctl start gdrive.service


10./ Chạy kiểm tra nếu ACTIVE màu xanh là mount thành công, reboot lại
systemctl status gdrive.service

PS: Mình cài Rclone cho smpd Ok rồi nhưng chưa mount được, dính lỗi bộ thư viện fuse.

Em đã ACTIVE màu xanh . Bác cho hỏi mount vào Moode như thế nào em làm không được .
Đa tạ bác
 

quatmo

Well-Known Member
Được nha bác, mình vừa cài xong Asset UPnP trên RopiXL. Scan album folder mount từ GDrive, play ngon.

Cách làm như sau:
1. Download bản Ropi mod 2000.

2. Chạy tắt cái MinmServer đi
systemctl disable minimserver.service

3. Download vế máy tính: https://www.dbpoweramp.com/install/Asset-RaspberryPi.tar.gz
cd /usr/bin
mkdir asset
chmod 777 asset
cd asset

4. Dùng WinSCP copy file Asset-RaspberryPi.tar.gz từ máy tính vào /usr/bin/asset rồi chạy tiếp:
tar -zxvf *.gz
rm *.gz
cd /usr/bin/asset/Asset-R6.6-Linux-ARM32-trial/bin
./AssetUPnP
Chạy cài xong sẽ hiện ra Ip:port của trang Asset UPnP Config

5. Trên trình duyệt chạy Ip:port đó
6. Add folder đã mount vào trước đó, apply cho nó scan album

RoPi: Asset UPnP Premium mà share cho nhiều người cùng xài thì có bị ban không nhỉ?


Asset-UPnP_-ropi4.png
 

bmc264

Active Member
Bác thêm tham số -vv cuối dòng mount để kiểm tra lỗi tại sao mount không được, từ SSH chạy dòng bên dưới. (Mục số 6)

/usr/bin/rclone mount gdrive: /mnt/INTERNAL/GDRIVE --allow-other --gid=1000 --uid=1000 --dir-cache-time 7760h --fast-list --umask 002 --log-level INFO --user-agent rclone -vv
pi@moode:~ $ sudo systemctl status gdrive.service
● gdrive.service - Gdrive Music
Loaded: loaded (/lib/systemd/system/gdrive.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-06-28 14:45:18 EDT; 40s ago
Main PID: 8498 (sh)
Tasks: 10 (limit: 2200)
Memory: 8.1M
CGroup: /system.slice/gdrive.service
├─8498 /bin/sh /opt/mountdrive.sh
└─8499 /usr/bin/rclone mount gdrive: /mnt/INTERNAL/GDRIVE --allow-other --gid=1000 --uid=1000 --dir-cache-time 7760h --fast-list --umask 002 --log-level INFO --user-agent rclone

Jun 28 14:45:18 moode systemd[1]: Started Gdrive Music.

Của em active rồi , ý em hỏi là làm thế nào cho nó hiện lên trên moodeaudio ạ ( để moodeaudio đọc được file )
Thanks bác
 

tml3nr

Moderator
1. Hic, hình bác vẽ 2 cái Pi nên mình chỉ bác gắn luôn 2 cái vào cái Minipc. Nghĩ là bác có sẵn thì gắn xài luôn mỗi cái 1 OS nghe so sánh.

2. Vì thấy bác đang dự tính nên mình mới giới thiệu bác 1 cách tối ưu mà bác Phước đang chơi. Phù hợp với việc chơi từ ổ cứng của bác. Minipc + 1 con Pi là đủ. Túm lại Minipc thay cho vị trí cái Switch (chẳng cần xài Switch).

Bác hỏi mọi người cách nào ít bị nhiễu, nghe tốt hơn, có lẽ chẳng ai trả lời cái nào tốt hơn được.


Mình chỉ có thể trả lời bác vì ổ cứng quay trong đó có cái motor tạo ra xung điện nhiễu tín hiệu I2S trên Pi. Mình trải nghiệm chạy ổ cứng gắn Pi cấp nguồn riêng cho cả 2 bằng Pin Lithium nhưng rồi vài hôm chán bõ luôn việc gắn ổ cứng trực tiếp.

Nếu bác cứ muốn chơi 2 Pi thì gắn cho nó cái ổ cứng SSD, đừng xài ổ cứng quay 3.5. Và tốt nhất dùng Pi 4 để làm server vì chip xử lý cho việc đó (USB) rời. Nên cấp nguồn 4A trở lên.
Em test thì nhạc chứa trong ssd nghe tiếng sạch nhưng bị mất dynamic hix
 

hungpmu

Active Member
Công nhân cực phục các bác trên này nghiên cứu, em sau khi thử đi thử lại các bản thì em đã dừng lại Moode audio (ver nào em cũng chẳng nhớ) và dứt Internet để chơi trên NAS, nhạc thì dùng chùa của các bác trên này. Yên tâm nghe thôi :)
 

linh0983

Well-Known Member
Mình up lên minimserver2 scan nhanh mượt a . o_O

https://minimserver.com/minimserver2/downloads/

Sau này (sắp rồi a) chức năng minimstreamer chỉ có trong minimserver2 . Bản quyền minimserver2 cài đặt tối đa cho 3 máy ko kể chạy trên nền tảng nào . Ví dụ Nas synology + Window + MacOS .

Khoảng 30$ cho 3 máy dùng 12 tháng a . Mình sẽ active dùng cho Nas còn dư 2 có ai share với mình tính ra 10 đô cho 12 tháng rẻ chán các bác a . :D


Cv30yP.jpg


2 Album này hay các bác a . :rolleyes:

Cv3H44.jpg


Khi mới có chú nas Synology mình có cài Asset-synology-trial.spk dùng thử mình vẫn thích MinimServer-2.0.12-intel.spk a . :mad:
 

zeze

Well-Known Member
Công nhân cực phục các bác trên này nghiên cứu, em sau khi thử đi thử lại các bản thì em đã dừng lại Moode audio (ver nào em cũng chẳng nhớ) và dứt Internet để chơi trên NAS, nhạc thì dùng chùa của các bác trên này. Yên tâm nghe thôi :)
Mình cũng giống bác. Phần mềm Roon crack không được, nên tính đăng ký tài khoản Roonlabs free 15 ngày, sau đó đổi sang acc khác. Hết 15 ngày, sáng hôm qua nghe tin tin… nhìn lại tài khoản mất 119.88 USD ROONLABS COM WILMINGTON DE (dùng cho 1 năm) :) .
 
Bên trên