Set thế này là ăn luôn phải k bác. Em đang tính hỏi bác vì hôm qua tới giờ con pi cứ nhảy trùng ip vs thiết bị khác đã set ip tĩnh, nên k nghe dc, làm e cứ tưởng nó chết =)). Gắn cáp hdmi vào mới biết là trùng IP =))Set IP tĩnh
Mình tìm trong máy không còn lưu bác ơi.link bị xoá, Bác reup giúp em với ạ . Thanks Bác
{
"system":[
{
"title":"rAudio",
"iframe":"http://raudio",
"icon":""
},
{
"title":"Reboot",
"command":"/usr/bin/sudo /usr/bin/systemctl restart systemd-reboot.service",
"prompt":"Reboot now?"
},
{
"title":"Shutdown",
"command":"/usr/bin/sudo /usr/bin/systemctl restart systemd-poweroff.service",
"prompt":"Shutdown now?"
}
]
}
Ok Thanks Bác nhiều.Mình tìm trong máy không còn lưu bác ơi.
Nếu không ai còn lưu bác tự tạo bản LMSrAudio cho Pi 2 chỉ tốn vài phút.
1. Thẻ rAudio
2. Chạy cài LMS SQ https://github.com/lovehifi/raudiolms-32bit
3. Cài BubV9 https://github.com/lovehifi/lmsbub9
---------------
Sau khi cài BubV9 sẽ có sẵn menu LMS, bác edit file actions.json hoặc bác tự làm menu như sau:
Tạo menu Reboot, menu Shutdown, menu rAudio cho LMS.
1. Dùng WinSCP tạo thư mục tên material-skin trong này: /opt/logitechmediaserver-git/prefs/
2. PC, dùng notepad tạo file tên: actions.json
6. Copy nội dung này vào actions.json
Mã:{ "system":[ { "title":"rAudio", "iframe":"http://raudio", "icon":"" }, { "title":"Reboot", "command":"/usr/bin/sudo /usr/bin/systemctl restart systemd-reboot.service", "prompt":"Reboot now?" }, { "title":"Shutdown", "command":"/usr/bin/sudo /usr/bin/systemctl restart systemd-poweroff.service", "prompt":"Shutdown now?" } ] }
Có thể thay thế trong đó http://raudio bằng http://192.168.x.x (Ip máy bác)
3. Dùng WinSCP copy file actions.json vào trong này: /opt/logitechmediaserver-git/prefs/material-skin/
Hôm qua bác không nói tui chia cho bác boss dacChú hat pcm5122 này chọn driver bossdac nó mới hót ạ .
Đã order nó : 165 tệ +10 tệ ship nội địa = 175 tệ bác Duẩn ạ .
Phương án B nếu lk 502dac pro về chậm sau noen phòng xa 1 tí ui . . .
-o volumioHw -a 160:4::1: -b 20000:300000 -D 3:u32be
Cảm ơn anhSet IP tĩnh
plugin not installSure, you can add.
1./ Go to Plugin, active LMS
2./ Go to http://volumio/dev
3./ Active mode plugin test
4./ Go to Plugin, Active SQ Player (not SQ MC)
5./ WinSCP - edit file /etc/systemd/system/squeezelite.service
6./ Add output to USB to squeezelite.service:
Mã:-o volumioHw -a 160:4::1: -b 20000:300000 -D 3:u32be
volumioHw is output direct to HW USB DAC.
You can manually install the LMSplugin not install
"Incompatible architecture. Installation cannot continue."
Also, there is no sq player in the plugins, there is sq player mc
sudo apt-get update
cd /home/volumio && wget https://downloads.slimdevices.com/nightly/logitechmediaserver_8.4.0~1701875738_arm.deb
sudo apt-get install libio-socket-ssl-perl lame unzip -y
sudo apt-get -f install -y && sudo mkdir /var/lib/squeezeboxserver && sudo chown -R volumio:volumio /var/lib/squeezeboxserver && sudo usermod -aG audio squeezeboxserver
sudo dpkg -i logitechmediaserver_*.deb
sudo systemctl stop logitechmediaserver.service && sudo chmod 744 -R /var/lib/squeezeboxserver && sudo chown volumio:volumio /lib/systemd/system/logitechmediaserver.service
[Unit]
Description=Logitech Media Server Daemon
After=network.target
StartLimitIntervalSec=500
StartLimitBurst=5
[Service]
Restart=on-failure
RestartSec=5s
User=volumio
PermissionsStartOnly=true
#Group=nogroup
PIDFile=/var/run/logitechmediaserver.pid
# Legacy code; name is still squeezeboxserver
WorkingDirectory=/var/lib/squeezeboxserver
ExecStartPre=/bin/mkdir -p /var/log/squeezeboxserver
ExecStartPre=/bin/chown -R volumio:volumio /var/log/squeezeboxserver
ExecStart=/usr/sbin/squeezeboxserver \
--prefsdir /var/lib/squeezeboxserver/prefs \
--cachedir /var/lib/squeezeboxserver/cache \
--logdir /var/log/squeezeboxserver \
--charset utf8
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload && sudo systemctl restart logitechmediaserver.service && sudo systemctl status logitechmediaserver.service
sudo apt-get install squeezelite