RuneAudio+R e6

Raspberry Pi related support

Re: RuneAudio+R e6

Postby BVLabs » 07 Dec 2020, 10:11

It says like this - is this normal?

In System -> Version e6 20201201
Raspberry Pi 3 Model B Rev 1.2
Terra-Berry DAC2+
BVLabs
 
Posts: 19
Joined: 26 Sep 2016, 06:30
Location: Moldova,Dnestrovsc

Re: RuneAudio+R e6

Postby ceejayemm » 07 Dec 2020, 18:23

BVLabs

Version e6 20201201 - shows that you are running the RA+Re6 version with the latest 20201201 (Dec 01 2020) addons applied. The date will change as Rern releases updated Addons and you apply them to your RA installation.

In regard to the Access Point (I don't use it by the way) - do you actually need to use the RA Access Point ? Normally you would connect to your own network using either a wired or wifi connection. Using a wired connection should get an IP Number from your network (via DHCP) and is the simplest to use. To set up a wifi connection you need to follow the instructions in the first post of this thread and create a 'wifi' file on the /boot folder. This is a bit more difficult to do, but not much, and I use this type of connection all the time with no problems once set up.

Chris
ceejayemm
 
Posts: 131
Joined: 29 Oct 2016, 18:13

Re: RuneAudio+R e6

Postby BVLabs » 07 Dec 2020, 18:49

Yes, I really need hotspot mode. In some places, there is no wired network, so access point mode is needed to control the player.

Before that, I had a previous version, after the update, the access point mode worked fine, but after the first reboot of the player, this defect repeated itself again. If you use a new image right away, it doesn't work right away.
Raspberry Pi 3 Model B Rev 1.2
Terra-Berry DAC2+
BVLabs
 
Posts: 19
Joined: 26 Sep 2016, 06:30
Location: Moldova,Dnestrovsc

Re: RuneAudio+R e6

Postby bnilsson » 08 Dec 2020, 11:28

rern,

I have noticed a funny behaviour when using RuneAudio as a UPnP/DLNA rendering device.
I am sometimes using BubbleUPnP for Android a s controller, sending tracks to Rune OpenHome or UPnP rendering device.
It works well if it is a simple queue, but if I am jumping between the Bubble playlist queue entries, or adding track in the middle of the playlist, strange things happen.
It seems tracks are added to the Rune playlist in an unexpected way, the wrong track is played, the added track being in target is added before AND after the current track, the same track is played repeatedly regardless of what track is selected in the Bubble UPnP controller, etc. Difficult to describe and reproduce in a clear way.
When two apps are supposed to work together, it is of course difficult to say who is doing what, right or wrong.
To check this further, I tested HifiberryOS with the same function, and there this does not happen.

Edit: Just checked with the "original" RuneAudio 20180903_10_runeaudio_rpiB2.img, and this works well. The Rune playlist always contains a partial copy of the Bubble playlist, the track being played from Bubble plus the nearest subsequent tracks. If Bubble is adding a new "play next" track, or another track is selected in the playlist, the Rune playlist is updated accordingly. I plan to see if I can identify in which of your "eN" editions the problem first appeared.

I also note that in earlier versions of RuneAudio, there was a setting for the UPnP renderer, if the Rune playlist should be fully managed by the controller or not, this setting is no longer there.

Could you please take a look at this?

BN
bnilsson
 
Posts: 58
Joined: 06 Jun 2016, 11:22

Re: RuneAudio+R e6

Postby BVLabs » 10 Dec 2020, 07:57

Hello guys, hello Rern.
I really hoped that the project began to live a new life, you literally gave a second hope. But now I understand why the project is still in beta. Every update comes out very slowly. The saddest thing is that what used to work stably even in the old version 0.4 beta is no longer functional. I mean the access point function.

I do not want to reproach anyone in any way, but I think that if there is feedback from the user, it is probably worth paying attention to them.

Once again I would like to express my respect to everyone who keeps this great product afloat.

P.S. I would gladly support Rern personally with a donate, but I don't see his payment details.
Raspberry Pi 3 Model B Rev 1.2
Terra-Berry DAC2+
BVLabs
 
Posts: 19
Joined: 26 Sep 2016, 06:30
Location: Moldova,Dnestrovsc

Re: RuneAudio+R e6

Postby BVLabs » 10 Dec 2020, 08:08

How difficult would it be to add this code, to this version of the system?
The native application is very convenient to manage, but without these lines of code, it cannot automatically detect the device on the network.

in avahi/services/runeaudio.service

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">RuneAudio [RuneAudio+Re6] [b8:27:eb:54:09:3a]</name>
<service>
<type>_http._tcp</type>
<port>80</port>
<txt-record>skin_name=RuneUI</txt-record>
<txt-record>runeos_version=0.6-beta</txt-record>
<txt-record>mac_eth0=[b8:27:eb:47:87:e6]</txt-record>
</service>
</service-group>
Raspberry Pi 3 Model B Rev 1.2
Terra-Berry DAC2+
BVLabs
 
Posts: 19
Joined: 26 Sep 2016, 06:30
Location: Moldova,Dnestrovsc

Re: RuneAudio+R e6

Postby Auralcurator » 11 Dec 2020, 03:28

e6 looks pretty nice! Moving from e5 to e6 there seems to be something different in how MPD builds its library. I added MPD logging and ran a rebuild and I don't see any explanation in the log. I only show 1 album from a NAS mounted library that contains quite a few:

RuneAudio:~ # mpc listall | wc -l
32718
RuneAudio:~ # mpc list album | wc -l
2337
RuneAudio:~ # mpc list artist | wc -l
4772
RuneAudio:~ # mpc list composer | wc -l
279
RuneAudio:~ # mpc list genre | wc -l
260

The UI doesn't show Songs but the other items show the above number -1 for each but not Album. It shows 1.

Version e6 20201201 • RuneAudio
Hardware Raspberry Pi 3 Model B Rev 1.2
SoC BCM2837 • 4 Cortex-A53 @ 1.2GHz • 1GB
Output Device Sound Blaster Play! 3
Kernel 5.4.80-1-ARCH
MPD 0.22.3-1

I saw some mention of a charset issue. Was there something that changed from e5 to e6 here because it loaded correctly on e5. Is there any way to find an error or indicator for what is causing the Album list to not generate?

Thanks so much
Attachments
Screenshot 2020-12-10 182634.png
Library Screenshot
Screenshot 2020-12-10 182634.png (51.36 KiB) Viewed 886 times
Synology-DS214NAS -> RPi 3B+ -> Emotiva XDA-2 -> Adcom GFA5200
Auralcurator
 
Posts: 4
Joined: 24 Feb 2020, 04:15

Re: RuneAudio+R e6

Postby alecs123 » 11 Dec 2020, 05:07

Hello... I'm trying to import .m3u files that I have created in the previous beta 0.4 and 0.5 that were stored in /var/lib/mpd/playlists. I have copied them as well in the same directory and used the import tool in the addons but I get errors, so I'm wondering how should the files syntaxis be?
this is part of the code I have now:

Code: Select all
#EXTM3U
#EXTINF:,The Whole Of The Moon
NAS/Musica/Waterboys - Unknown - 00 - The Whole Of The Moon.mp3
#EXTINF:,Here I Go Again
NAS/Musica/White Snake - Unknown - 00 - Here I Go Again.mp3


as you can see, it points to the NAS directories and the files...

Thanks for your help
alecs123
 
Posts: 23
Joined: 18 Apr 2018, 04:20

Re: RuneAudio+R e6

Postby rern » 11 Dec 2020, 11:11

BVLabs wrote:...
Before that, I had a previous version, after the update, the access point mode worked fine, but after the first reboot of the player, this defect repeated itself again. If you use a new image right away, it doesn't work right away.

- Settings > Features > enable
- Click RPi Access Point lable and post the result.

Auralcurator wrote:...
Is there any way to find an error or indicator for what is causing the Album list to not generate?
...

Try:
Code: Select all
mpc -f '%album%^^[%albumartist%|%artist%]^^%file%' listall \
| awk -F'/[^/]*$' 'NF && !/^\^/ && !a[$0]++ {print $1}' \
| sort -u
Does the result list all albums as it should?

And let's see that 1 album:
Code: Select all
cat /srv/http/data/mpd/album


@alecs123,

Playlists created by MPD don't contain the #EXT... lines. They're just simple file lists. Remove the lines and try again.

rern
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: RuneAudio+R e6

Postby BVLabs » 11 Dec 2020, 13:26

rern wrote:- Settings > Features > enable
- Click RPi Access Point lable and post the result.
rern


The situation is this: if from the very beginning, the Wi-Fi was turned off and the access point was also turned off, then everything turns on and works. After everything started to work successfully, we reboot, and after it again a bug - we cannot get the IP address.

some boot log:

Dec 11 14:10:42 runeaudio systemd[1]: Started Automatic wireless network connection using netctl profiles.
Dec 11 14:10:42 runeaudio systemd[1]: Reached target Network.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl-auto@wlan0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=hostapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Dec 11 14:10:42 runeaudio systemd[1]: Starting The PHP FastCGI Process Manager...
Dec 11 14:10:42 runeaudio systemd[1]: Started OpenSSH Daemon.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sshd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Starting Permit User Sessions...
Dec 11 14:10:42 runeaudio systemd[1]: Finished Permit User Sessions.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Started Getty on tty1.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Reached target Login Prompts.
Dec 11 14:10:42 runeaudio hostapd[302]: Configuration file: /etc/hostapd/hostapd.conf
Dec 11 14:10:42 runeaudio hostapd[302]: wlan0: Could not connect to kernel driver
Dec 11 14:10:42 runeaudio hostapd[302]: Using interface wlan0 with hwaddr b8:27:eb:01:5c:6e and ssid "RuneAudio"
Dec 11 14:10:42 runeaudio hostapd[302]: random: Cannot read from /dev/random: Resource temporarily unavailable
Dec 11 14:10:42 runeaudio hostapd[302]: random: Only 0/20 bytes of strong random data available
Dec 11 14:10:42 runeaudio hostapd[302]: random: Not enough entropy pool available for secure operations
Dec 11 14:10:42 runeaudio hostapd[302]: WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
Dec 11 14:10:42 runeaudio hostapd[302]: wlan0: interface state UNINITIALIZED->ENABLED
Dec 11 14:10:42 runeaudio hostapd[302]: wlan0: AP-ENABLED
Dec 11 14:10:42 runeaudio systemd-networkd[217]: wlan0: Gained carrier
Dec 11 14:10:42 runeaudio dnsmasq[303]: dnsmasq: syntax check OK.
Dec 11 14:10:42 runeaudio systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dnsmasq comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Reached target Network is Online.
Dec 11 14:10:42 runeaudio systemd[1]: Reached target Host and Network Name Lookups.
Dec 11 14:10:42 runeaudio kernel: kauditd_printk_skb: 14 callbacks suppressed
Dec 11 14:10:42 runeaudio kernel: audit: type=1130 audit(1607688642.762:26): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dnsmasq comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio kernel: audit: type=1130 audit(1607688642.782:27): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shairport-sync comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shairport-sync comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
Dec 11 14:10:42 runeaudio audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=upmpdcli comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio systemd[1]: Started UPnP Renderer front-end to MPD.
Dec 11 14:10:42 runeaudio kernel: audit: type=1130 audit(1607688642.802:28): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=upmpdcli comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 11 14:10:42 runeaudio dnsmasq[308]: started, version 2.82 cachesize 150
Dec 11 14:10:42 runeaudio dnsmasq[308]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
Dec 11 14:10:42 runeaudio dnsmasq[308]: DBus support enabled: connected to system bus
Dec 11 14:10:42 runeaudio dnsmasq[308]: warning: interface wlan0 does not currently exist
Dec 11 14:10:42 runeaudio dnsmasq-dhcp[308]: DHCP, IP range 192.168.5.2 -- 192.168.5.254, lease time 1d
Dec 11 14:10:42 runeaudio dnsmasq[308]: reading /etc/resolv.conf
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 1.1.1.1#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 9.9.9.10#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 8.8.8.8#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 2606:4700:4700::1111#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 2620:fe::10#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: using nameserver 2001:4860:4860::8888#53
Dec 11 14:10:42 runeaudio dnsmasq[308]: cleared cache
Dec 11 14:10:42 runeaudio avahi-daemon[268]: Server startup complete. Host name is runeaudio.local. Local service cookie is 1585164681.
Dec 11 14:10:42 runeaudio sshd[305]: Server listening on 0.0.0.0 port 22.
Raspberry Pi 3 Model B Rev 1.2
Terra-Berry DAC2+
BVLabs
 
Posts: 19
Joined: 26 Sep 2016, 06:30
Location: Moldova,Dnestrovsc

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests