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

toi511

Well-Known Member
Anh @quatmo làm sao set ip tĩnh cho raudio anh. Ông anh xài không rành mà nó cứ đổi ip liên tục ông không vô được. Thanks anh
 

quatmo

Well-Known Member
Anh @quatmo làm sao set ip tĩnh cho raudio anh. Ông anh xài không rành mà nó cứ đổi ip liên tục ông không vô được. Thanks anh
Set IP tĩnh

2023-12-06-18_51_10-Logitech-Media-Server0188a67884a39b11.png
 

quatmo

Well-Known Member
link bị xoá, Bác reup giúp em với ạ :( . Thanks Bác :)
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/
 
Chỉnh sửa lần cuối:

nqn_vnn

Well-Known Member
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/
Ok Thanks Bác nhiều.
 

quatmo

Well-Known Member
Sure, 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.
 

sadays

Member
Sure, 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.
plugin not install

"Incompatible architecture. Installation cannot continue." :(

Also, there is no sq player in the plugins, there is sq player mc
 
Chỉnh sửa lần cuối:

quatmo

Well-Known Member
plugin not install

"Incompatible architecture. Installation cannot continue." :(

Also, there is no sq player in the plugins, there is sq player mc
You can manually install the LMS

#1
Mã:
sudo apt-get update

#2 https://lms-community.github.io/lms-server-repository/
Mã:
cd /home/volumio && wget https://downloads.slimdevices.com/nightly/logitechmediaserver_8.4.0~1701875738_arm.deb

#3
Mã:
sudo apt-get install libio-socket-ssl-perl lame unzip -y


#4
Mã:
sudo apt-get -f install -y && sudo mkdir /var/lib/squeezeboxserver && sudo chown -R volumio:volumio /var/lib/squeezeboxserver && sudo usermod -aG audio squeezeboxserver

#5
Mã:
sudo dpkg -i logitechmediaserver_*.deb

#6
Mã:
sudo systemctl stop logitechmediaserver.service && sudo chmod 744 -R /var/lib/squeezeboxserver && sudo chown volumio:volumio /lib/systemd/system/logitechmediaserver.service

#7 WinSCP edit this file /lib/systemd/system/logitechmediaserver.service

Delete all content in logitechmediaserver.service

Pate this content to logitechmediaserver.service and save.
Mã:
[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

#8
Mã:
sudo systemctl daemon-reload && sudo systemctl restart logitechmediaserver.service && sudo systemctl status logitechmediaserver.service


Mã:
sudo apt-get install squeezelite
 
Chỉnh sửa lần cuối:

sadays

Member
ok it is working

rpi5 working with 5 volt 3 amper anker battery
lms(daphile) on intel nuc celeron pc +squeezelite (rpi5) on volumio
dac l.k.s. modifiying dual ess sabre 9018
amp sugden a class a21
speaker diy with hivi driver

my first impression, increased instrument separation, background silence, bass and treble boost

maybe plasebo effect, I would like to hear your impressions

volumio is output all formast 44.1 and not optimizing

I'm sure it will be much better once I install the lms_r-adio.
 
Chỉnh sửa lần cuối:
Bên trên