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

Thanhvo31

Well-Known Member
Đã bị giống vậy với dietpi. Nếu không change permissions từ 755 -> 775, 777. ampache không thấy, không phải tại phân quyền :D


Em lần theo thằng này mà không được
Permissions
Ampache must have Read access to all the files in the catalog, and Read+Execute to all the directories. If you run into issues where Ampache is saying it is unable to read a file or directory please double check the file permissions. The below two commands will set the correct file permissions for your files and directories. It is very important that you cd to the base of your MP3s first as these commands start at your current directory and recursively change permissions. Please note that these below commands cannot be ran in a Windows environment.
chmod -R u+rwX,go+rX /path/to/your/catalog/*

For mount points you should make sure that the user / group that your webserver is running as has read access to the mount, and that the mount is using the correct character set. Something like

mount -t smbfs //[computername or IP]/share /media/Storage -o uid=username,gid=users -o iocharset=utf

Edit; vừa thử qua max2play em thấy ớn cái giao diện rắc rối của nó quá
 

mtminh

Well-Known Member
Add catalog Dietpi/Ampache

root@DietPi:~# dietpi-launcher -> enter

## Nhận diện ổ NAS
DietPi-Drive_Manager -> enter

## Mount NAS
/mnt/02CA703ECA70305: /dev/sda1 | ntfs | Not mounted -> enter (02CA703ECA70305 = Số nàycó thể khác)

## Đổi tên thư mục mount
Mount: Mount the drive to /mnt/02CA703ECA703051 -> enter

## Mount NAS vào thư mục MPD
/mnt/02CA703ECA703051 -> /mnt/MPD -> enter

## Exit theo thứ tự để dietpi enable lại.
back -> exit -> ok -> exit ->ok

root@DietPi:~# chmod 775 /mnt/MPD
root@DietPi:~# chmod 775 /mnt/MPD/*
-----------
## Đăng nhập vào ampache: admin/dietpi
Góc trái trên:
Chọn Admin -> Add a catalog:
Catalog Name: Tùy thích
Catalog Type: Local
path: /mnt/MPD
Khai báo xong click: Add Catalog (Màu vàng)
--
Chọn Home (hình headphone) - > Song Titles.
Mỗi lần refresh (f5) trang web ampache, sẽ thấy số lượng bài tăng lên do ampache đang scan.
 
Chỉnh sửa lần cuối:

do_long_khach

Well-Known Member
các bác đang xài Moode bản mới nhất (4.4) cho hỏi Moode nó ko chơi với BubbleUpnp hay sao? Đã enable UpnP trong Moode mà mở Bubble trên điện thoại ko thấy Moode trong phần Renderer...
 

binna

Well-Known Member
Fanless PC mini ở đây giảm giá đậm các bác . :eek:

https://vi.aliexpress.com/item/Mini...108.1000016.1.68c17b0d8kgIJY&isOrigTitle=true

X45658.jpg


Chơi Daphile chọn cấu hình này là ngon a . :cool::(

X15879.jpg


Miễn phí vận chuyển về đến trước cửa nhà luôn các bác . ;):p:D
Screen Shot 2019-01-14 at 6.41.43 PM.png

em này lại giảm giá
https://vi.aliexpress.com/item/Mini...108.1000016.1.68c17b0d8kgIJY&isOrigTitle=true
 

Thanhvo31

Well-Known Member
@mtminh

Em theo rồi mà chưa rõ chỗ này lắm
CvknwkVCKPZ3IUk3NdgwhNaWHfyPavH-Oyq4JL_opWiCcS3EjdsnVBSI_-g5wwseBEf8fimnFXFaogaNGjkolUeGeRNnC1buCN_frTB0bnMsvQ8Sf_qSOxgN_HP9pbzunlo1Amkfxg_GNRtOC9TpbsG67LwWoZigs3VP5vZ4J0ajMJrWM78KHa4jxhJSgnStHVIF4nfbY5IRFLh8wpmbDb62x8pZT9I5oKdxDDuWaWeH3gGRUlIjJYyptrY3LwEJxkzNvF4rafZpc41e0V5FblQ8J5YeLTn7ENqmb-zlZQdsi3Miclz2G4y5Lq5uLpGSzMaRwnQwLspd9wzCJleNBs1EtekjF0bPlUq-YmltgMoYOrlGTsMMzw9xRj2K-zJVmhBRz9tkTNvi8rNqRmuF4wGABWuNOqY2h8n6OQNeise-cBwGeTFucylWMd62ur8luwA6tM-_HfKrvkfdK2T7qhN0gm6DWStEzkaCZjyaBQzPLXyWptnBAaNEkHyuXjT0OoxL7mRs4rIo2SIifvNz1FFXaOf7fUELELK7v0V1A7Tl22ApLAjyETWieJR8Kfy5_G7j9Lu2vI44zSCvX-ToPP25tu3U_Z2zTroL8vjUG8xtIirEWsctmyhJc6B-sgsPuPLJlTEZYTeeDW7GTWVSFGaT7dwqiS7x692cxvbJJmsqlyVqRHKpASlWgrqzltMgGeiBiu1G-6oMtqFO2PY=w1906-h1658-no

Em hiểu là tạo ra TM MPD dạng symlink phải không?

## Mount NAS

Nguyên dòng lệnh thế này?

"/mnt/02CA703ECA70305: /dev/sda1 | ntfs | Not mounted" -> enter (02CA703ECA70305 = Số nàycó thể khác)

Phần Drive Manager nó có
Add network > Samba >
Please enter the fileservers IP address
│ - eg: 192.168.0.2
(enter IP 192.xxx.xxx.xxx) or /mnt/02CA703ECA70305?
Please enter the fileservers shared folder name
??? /dev/sda1 ???
Please enter the fileservers username : xxx
Please enter the fileservers password : yyyy
Please enter a unique folder name for the mount location (eg: samba). This will be placed in /mnt/ ?


Bác làm rõ hơn giúp em

Em không khoái thằng ampache này lắm nhưng phải quyết tìm cho ra vụ catalog của nó.

Cảm ơn bác


## Đổi tên thư mục mount
Mount: Mount the drive to /mnt/02CA703ECA703051-> enter

## Mount NAS vào thư mục MPD
/mnt/02CA703ECA703051 -> /mnt/MPD -> enter
 

zeze

Well-Known Member
Hì chào các bác, sau 3 năm không đụng đến Audio. Giờ quay lại thì nhìn cái thùng Rpi3 em mod, không hiểu chi chi cả. Kết nối web Runeaudio gì đấy không biết cách mount music gì đó :( .
 

Đính kèm

  • Rpi.png
    Rpi.png
    498.7 KB · Xem: 8

linh0983

Well-Known Member
Add catalog Dietpi/Ampache

root@DietPi:~# dietpi-launcher -> enter

## Nhận diện ổ NAS
DietPi-Drive_Manager -> enter

## Mount NAS
/mnt/02CA703ECA70305: /dev/sda1 | ntfs | Not mounted -> enter (02CA703ECA70305 = Số nàycó thể khác)

## Đổi tên thư mục mount
Mount: Mount the drive to /mnt/02CA703ECA703051 -> enter

## Mount NAS vào thư mục MPD
/mnt/02CA703ECA703051 -> /mnt/MPD -> enter

## Exit theo thứ tự để dietpi enable lại.
back -> exit -> ok -> exit ->ok

root@DietPi:~# chmod 775 /mnt/MPD
root@DietPi:~# chmod 775 /mnt/MPD/*
-----------
## Đăng nhập vào ampache: admin/dietpi
Góc trái trên:
Chọn Admin -> Add a catalog:
Catalog Name: Tùy thích
Catalog Type: Local
path: /mnt/MPD
Khai báo xong click: Add Catalog (Màu vàng)
--
Chọn Home (hình headphone) - > Song Titles.
Mỗi lần refresh (f5) trang web ampache, sẽ thấy số lượng bài tăng lên do ampache đang scan.


Dietpi mình add nas như vầy xong qua ampache add catalog như max2play là được bác . o_O
VVV.jpg


http://www.hdvietnam.com/threads/ra...m-nghe-nhac-moi.1174389/page-553#post-9938780
 
Chỉnh sửa lần cuối:
Bên trên