RuneAudio 0.6-beta for most Raspberry Pi models

Raspberry Pi related support

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby janui » 22 Feb 2024, 11:32

Hi RoyB,
RoyB wrote:...It is kind of trail-and-error to get RuneAudio working again. After several turn off actions (power off / reboots) at last RuneAudio recognizes the drive again and a fully update (seems a complete rebuild) of the MPD Library is then needed.
Of course I checked Debug in the meanwhile several times. Sometimes during the problem period the hdd is reported as a recognized Filesystem mount, but not seen in Sources RuneAudio...
Thanks for reporting your experiments. I have seen this sort of behaviour before, I discovered it was related to the start-up power consumption of the hdd. I could reproduce it with one hdd 50% of the time, while another hdd worked without problems. Recently when I add a USB stick in addition to a hdd it has sometimes created the same problem. The Pi supplies a total of 1.2A to all USB devices (the Pi 5 is different), this is just enough for most hdd's, but there is not much headroom. There are a couple of things which you could try:
- Clean the USB plugs and sockets
- Try using a different USB port on the Pi
- Try different cables on the hdd
- Use shorter cables on the hdd
- Use only one usb storage device
- Alter the startup delay in the file /boot/config.txt, its the line 'boot_delay=2', change it to 'boot_delay=3' or 'boot_delay=4'
- Try using a different power supply (check the debug, it reports under voltage when it occurs)[/list]
I will try some experiments with mounting usb disks, maybe some things can be done slightly differently.
As a last resort...
A powered USB hub was always advised in the past, but I have had mixed results; there are good and bad products on the market. I dont use them any more. Moving to a moderner hhd or using a ssd will reduce the power consumption. If you have another hdd its worth trying it before buying anything new.

janui
User avatar
janui
 
Posts: 704
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby Tantal » 22 Feb 2024, 15:31

thx janui
no problem, it was only the 1st scan (same on PC+Winamp; full scan also takes about 20 min)

unfortunately I couldn´t get the wifi to work.
In the beginning, my network appears in the list, but didn´t connect.
(neither with password, nore with security disabled in router)
A few restarts later, my network was vanished from the list, but the surrounding wifis were still displayed (my other wifi-devices work fine).... very strange :?

btw I´m on "rAudio-RPi2-20240108"
Rune version: 0.4 (build: beta-20160313) on RB Pi2 + HiFi-Berry
Tantal
 
Posts: 10
Joined: 28 May 2019, 10:00

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby Beelzebassie » 22 Feb 2024, 16:27

Tantal wrote:btw I´m on "rAudio-RPi2-20240108"


Wrong place... :lol:

Try this:

https://github.com/rern/rAudio/discussions
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 75
Joined: 09 Nov 2014, 12:16

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby Beelzebassie » 22 Feb 2024, 17:36

Encountered some strange behavior:

When browsing the library, adding a cue-sheet to the queue does show the album-art on playback; adding the folder the cue-sheet is in instead, does not.

EDIT: Folders contain one audio track and a complementing cue-sheet.
Attachments
Screenshot 2024-02-22 at 17-24-59 RuneAudio - RuneUI.png
Screenshot 2024-02-22 at 17-24-59 RuneAudio - RuneUI.png (65.25 KiB) Viewed 741 times
Screenshot 2024-02-22 at 17-27-57 RuneAudio - RuneUI.png
Screenshot 2024-02-22 at 17-27-57 RuneAudio - RuneUI.png (68.06 KiB) Viewed 741 times
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 75
Joined: 09 Nov 2014, 12:16

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby RoyB » 23 Feb 2024, 09:36

Hi janui,

janui wrote:
Thanks for reporting your experiments. I have seen this sort of behaviour before, I discovered it was related to the start-up power consumption of the hdd.



When I started using RuneAudio 0.6b, I noticed that this version takes some what more power than version 0.5 during startup. Debug reported under voltage as a problem. I increased the output voltage of the linear power supply a little bit and physically shortened the wires from the power supply to the Pi. I also monitored for a while the output voltage at short distance from the USB-C connector connected to the Pi. No severe voltage drop measured. Moreover the (red) power LED of the Pi, doesn’t blink at startups.
Since the modifications there were no Debug notifications of power supply problems.
I will try the suggested boot_delay option when I encounter again repeatedly the earlier mentioned problems.
It crossed my mind too to use a ssd instead of a hdd. This will certainly benefit the current demand at startup. Nevertheless the current hdd I use worked fine in the past. I checked its ‘health’.

Another point of view on possible causes.
When I change the content of the connected hdd by means of my desktop I use, like everybody, an explorer facility. I don’t use Windows explorer but xplorer2, and make use of tabs to drag-and-drop/copy files. Sometimes I close the tabs before closing xplorer2 and my desktop. Could closing or not closing affect RuneAudio?

After selecting termination of RuneAudio, RuneAudio needs a short period of time to complete the shutdown. This can be seen by blinking of the green LED on the Pi. Could a premature switching off of the power supply, cause problems?

RoyB
RoyB
 
Posts: 18
Joined: 08 Nov 2018, 16:50

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby janui » 23 Feb 2024, 11:37

Hi Beelzebassie,
Beelzebassie wrote:Encountered some strange behavior....
Could you send me the contents of an example que-sheet file?

Thanks,
janui
User avatar
janui
 
Posts: 704
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby janui » 23 Feb 2024, 12:07

Hi RoyB,
RoyB wrote:...I also monitored for a while the output voltage at short distance from the USB-C connector connected to the Pi. No severe voltage drop measured. Moreover the (red) power LED of the Pi, doesn’t blink at startups. Since the modifications there were no Debug notifications of power supply problems....
...Another point of view on possible causes...xplorer2...
I am glad you understand the power issues. Using regulators has advantages, but it is always 'just on the edge' of not quite enough power.
I went through the USB mounting code and found a few errors which are now fixed. However, these errors should not cause the problems which you are experiencing. Since you reported in your previous post that the the hhd is mounted in the debug, but not visible in the UI, I decided to implement repeating the mount and 'discovery' of the hdd/usb device. This is also included in the latest fix. It may just be that it is a 'temporary' issue from which the Pi recovers, if that is the case, Rune will now also recover.

I dont think the use of xplorer2 can cause any of the problems which you are seeing.

You can get the latest fix by updating the player (this will move the release to patch level 2):
1. Go to the /dev menu - in the browser url enter http://<playername>.local/dev (e.g. http://runeaudio.local/dev).
2. Switch dev mode on - Scroll down to the 'Dev Mode' button and toggle it to ON, then click on the ‘Save Settings’ button below the toggle button.
3. When the UI comes back, click on the first ‘Save Settings’ button to activate the dev mode options.
4. Perform a git pull - Scroll down to the ‘Update RuneUI’ option and click on the ‘git pull’ button. The update will then be carried out and the player will reboot.

janui
User avatar
janui
 
Posts: 704
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby Beelzebassie » 24 Feb 2024, 10:51

janui wrote:Hi Beelzebassie,
Beelzebassie wrote:Encountered some strange behavior....
Could you send me the contents of an example que-sheet file?

Thanks,
janui


No problem.

CUE file is UTF-8 encoded.

Code: Select all
TITLE "Antimatters"
PERFORMER "Bandulu"
REM DATE 1994
FILE "Bandulu - Antimatters.flac" WAVE
  TRACK 01 AUDIO
    ISRC GBAAW9400113
    TITLE "Agent Jah"
    PERFORMER "Bandulu"
    INDEX 00 00:00:00
    INDEX 01 00:00:33
  TRACK 02 AUDIO
    ISRC GBAAW9400123
    TITLE "Loose (interlude)"
    PERFORMER "Bandulu"
    INDEX 01 10:00:08
  TRACK 03 AUDIO
    ISRC GBAAW9400117
    TITLE "Shutdown"
    PERFORMER "Bandulu"
    INDEX 01 10:37:03
  TRACK 04 AUDIO
    ISRC GBAAW9400112
    TITLE "High Rise Heaven"
    PERFORMER "Bandulu"
    INDEX 01 15:30:20
  TRACK 05 AUDIO
    ISRC GBAAW9400111
    TITLE "Close Ups"
    PERFORMER "Bandulu"
    INDEX 01 21:54:53
  TRACK 06 AUDIO
    ISRC GBAAW9400115
    TITLE "Phaze In (remix)"
    PERFORMER "Bandulu"
    INDEX 00 25:33:20
    INDEX 01 25:35:08
  TRACK 07 AUDIO
    ISRC GBAAW9400119
    TITLE "Presence"
    PERFORMER "Bandulu"
    INDEX 01 35:58:00
  TRACK 08 AUDIO
    ISRC GBAAW9400118
    TITLE "Time (interlude)"
    PERFORMER "Bandulu"
    INDEX 01 44:27:40
  TRACK 09 AUDIO
    ISRC GBAAW9400116
    TITLE "Original Scientist"
    PERFORMER "Bandulu"
    INDEX 01 44:45:45
  TRACK 10 AUDIO
    ISRC GBAAW9400121
    TITLE "Downstairs Somewhere"
    PERFORMER "Bandulu"
    INDEX 00 52:59:43
    INDEX 01 53:01:30
  TRACK 11 AUDIO
    ISRC GBAAW9400120
    TITLE "Run Run"
    PERFORMER "Bandulu"
    INDEX 01 60:56:63
  TRACK 12 AUDIO
    ISRC GBAAW9400122
    TITLE "Industrial Orchestra"
    PERFORMER "Bandulu"
    INDEX 00 67:45:60
    INDEX 01 67:48:48
  TRACK 13 AUDIO
    ISRC GBAAW9400114
    TITLE "Out There (interlude)"
    PERFORMER "Bandulu"
    INDEX 01 69:52:38


EDIT: Did some experimenting: Having a CUE-sheet that refers to multiple, separate tracks shows the same behavior. (MP3's without embedded artwork; even when artwork is embedded it is not shown.)

Code: Select all
TITLE "PURE : LIVE"
PERFORMER "GODFLESH"
REM DATE 2022
FILE "01 - Spite.mp3" MP3
  TRACK 01 AUDIO
    TITLE "Spite"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "02 - Mothra.mp3" MP3
  TRACK 02 AUDIO
    TITLE "Mothra"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "03 - I Wasn’t Born to Follow.mp3" MP3
  TRACK 03 AUDIO
    TITLE "I Wasn’t Born to Follow"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "04 - Predominance.mp3" MP3
  TRACK 04 AUDIO
    TITLE "Predominance"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "05 - Pure.mp3" MP3
  TRACK 05 AUDIO
    TITLE "Pure"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "06 - Monotremata.mp3" MP3
  TRACK 06 AUDIO
    TITLE "Monotremata"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "07 - Baby Blue Eyes.mp3" MP3
  TRACK 07 AUDIO
    TITLE "Baby Blue Eyes"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "08 - Don’t Bring Me Flowers.mp3" MP3
  TRACK 08 AUDIO
    TITLE "Don’t Bring Me Flowers"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "09 - Pure 2.mp3" MP3
  TRACK 09 AUDIO
    TITLE "Pure 2"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
FILE "10 - Cold World.mp3" MP3
  TRACK 10 AUDIO
    TITLE "Cold World"
    PERFORMER "GODFLESH"
    INDEX 01 00:00:00
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 75
Joined: 09 Nov 2014, 12:16

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby Beelzebassie » 25 Feb 2024, 17:33

Adding single tracks from the CUE-sheet also doesn't seem to load cover-art.


TLDR

For now it seems like cover-art is only loaded when the entire CUE-sheet is added to the queue.
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 75
Joined: 09 Nov 2014, 12:16

Re: RuneAudio 0.6-beta for most Raspberry Pi models

Postby RoyB » 15 Mar 2024, 17:12

Current build version: janui-20231210-3



Hi janui,
I updated to build version 3.
Unfortunately in no way mounting of my hdd is now successful!
Debug shows that the hdd is connected, however this is not seen in Local Sources.
I tried several reboots and power-offs.
Version 2 worked fine the past few weeks.

Regards,
RoyB
RoyB
 
Posts: 18
Joined: 08 Nov 2018, 16:50

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 58 guests