RuneAudio 0.5-beta for most Raspberry Pi models

Raspberry Pi related support

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby Beelzebassie » 13 Nov 2018, 18:37

Much appreciated, Janui!
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 75
Joined: 09 Nov 2014, 12:16

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby Gabriel Syme » 13 Nov 2018, 20:07

I now have 0.5 installed and running and with Rern's UI enhancements. Thanks to everyone who has made this software possible!
User avatar
Gabriel Syme
 
Posts: 11
Joined: 08 Apr 2016, 20:28

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby belgarath0815 » 13 Nov 2018, 23:35

Hi,
Switched from a Pi 2 with rune 0.3 to a Pi 3 with rune 0.5. Nearly everything works great just one thing I noticed: When my USB Dac is set as Output Device, Airplay is not working.
I can connect to rune from the Apple device but as soon as I press play it disconnects rune . It's working without problem when I switch to analog output..

any ideas?

Regards
belgarath0815
 
Posts: 14
Joined: 22 Jun 2015, 22:31

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby janui » 14 Nov 2018, 10:17

Hi belgarath0815,
belgarath0815 wrote:I can connect to rune from the Apple device but as soon as I press play it disconnects rune . It's working without problem when I switch to analog output..
Could you log in via SSH and run the following commands:
Code: Select all
systemctl status shairport-sync
redis-cli hgatall mpdconf
redis-cli hgetall airplay
mpc outputs
Please post the output.
janui
User avatar
janui
 
Posts: 704
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby belgarath0815 » 14 Nov 2018, 19:19

Thx for the fast reply!

Output as requested:

Code: Select all
 shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
   Loaded: loaded (/usr/lib/systemd/system/shairport-sync.service; disabled; vendor preset: dis>
   Active: active (running) since Wed 2018-11-14 18:53:01 CET; 3min 9s ago
  Process: 24960 ExecStartPre=/usr/bin/mkdir -p /var/run/shairport (code=exited, status=0/SUCCE>
 Main PID: 24961 (shairport-sync)
    Tasks: 3 (limit: 2302)
   CGroup: /system.slice/shairport-sync.service
           └─24961 /usr/bin/shairport-sync -c /etc/shairport-sync.conf

Nov 14 18:53:01 runeaudio systemd[1]: Starting Shairport Sync - AirPlay Audio Receiver...
Nov 14 18:53:01 runeaudio systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
Nov 14 18:53:01 runeaudio shairport-sync[24961]: Successful Startup


Code: Select all
root@runeaudio(rw):~# redis-cli hgetall mpdconf
 1) "zeroconf_enabled"
 2) "yes"
 3) "zeroconf_name"
 4) "RuneAudio"
 5) "log_level"
 6) "none"
 7) "bind_to_address"
 8) "any"
 9) "port"
10) "6600"
11) "max_connections"
12) "20"
13) "user"
14) "mpd"
15) "db_file"
16) "/var/lib/mpd/mpd.db"
17) "sticker_file"
18) "/var/lib/mpd/sticker.sql"
19) "pid_file"
20) "/var/run/mpd/pid"
21) "music_directory"
22) "/mnt/MPD"
23) "playlist_directory"
24) "/var/lib/mpd/playlists"
25) "state_file"
26) "/var/lib/mpd/mpdstate"
27) "dsd_usb"
28) "DSDDOP"
29) "follow_outside_symlinks"
30) "yes"
31) "follow_inside_symlinks"
32) "yes"
33) "auto_update"
34) "no"
35) "filesystem_charset"
36) "UTF-8"
37) "id3v1_encoding"
38) "UTF-8"
39) "volume_normalization"
40) "no"
41) "audio_buffer_size"
42) "8192"
43) "buffer_before_play"
44) "10%"
45) "gapless_mp3_playback"
46) "yes"
47) "mixer_type"
48) "disabled"
49) "curl"
50) "yes"
51) "ffmpeg"
52) "yes"
53) "version"
54) "0.20.20"
55) "soxr"
56) "very high"
57) "replaygain"
58) "auto"


Code: Select all
root@runeaudio(rw):~# redis-cli hgetall airplay
 1) "name"
 2) "Rune"
 3) "interpolation"
 4) ""
 5) "output_backend"
 6) "alsa"
 7) "alac_decoder"
 8) "apple"
 9) "run_this_before_play_begins"
10) "/var/www/command/airplay_toggle on"
11) "run_this_after_play_ends"
12) "/var/www/command/airplay_toggle off"
13) "run_this_wait_for_completion"
14) "yes"
15) "alsa_output_device"
16) "hw:1"
17) "alsa_mixer_device"
18) ""
19) "alsa_mixer_control"
20) "PCM"
21) "alsa_output_format"
22) "S16"
23) "pipe_pipe_name"
24) "/tmp/shairport-sync-output-pipe"
25) "metadata_enabled"
26) ""
27) "metadata_include_cover_art"
28) ""
29) "metadata_pipe_name"
30) "/tmp/shairport-sync-metadata"
31) "extlabel"
32) ""
33) "source_ip_number"
34) "192.168.0.154"
35) "server_ip_number"
36) "192.168.0.249"
37) "user_agent"
38) "AirPlay/371.4.7"
39) "source_active_remote_token"
40) "4258498148"
41) "dacp_id"
42) "4A4F61E7F63D41C"
43) "source_remote_control_port_number"
44) "49218"
45) "ao"
46) "FOSTEX USB AUDIO HP-A8"
47) "soxronoff"
48) "0"
49) "metadataonoff"
50) "0"
51) "artworkonoff"
52) "0"
53) "enable"
54) "1"



Code: Select all
mpc outputs
Output 1 (bcm2835 ALSA_1) is disabled
Output 2 (FOSTEX USB AUDIO HP-A8) is enabled
Output 3 (bcm2835 ALSA_2) is disabled
belgarath0815
 
Posts: 14
Joined: 22 Jun 2015, 22:31

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby janui » 14 Nov 2018, 22:43

Hi belgarath0815,
belgarath0815 wrote:Thx for the fast reply!
Output as requested:
Thanks for the output. It looks fine, but I need a bit more information. Could you post the output of these commands:
Code: Select all
redis-cli hgetall acards
aplay -l
amixer controls -c 0
amixer controls -c 1
After collecting this information, could you try this command, then reboot and retest:
Code: Select all
redis-cli hset airplay alsa_output_format S32
It may just fix it.
janui
User avatar
janui
 
Posts: 704
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby belgarath0815 » 14 Nov 2018, 23:53

First of all: ITS FIXED!! THANKS A LOT :)

here the requested output:

Code: Select all
 redis-cli hgetall acards
1) "bcm2835 ALSA_1"
2) "{\"id\":\"1\",\"sysname\":\"bcm2835 ALSA\",\"extlabel\":\"RaspberryPi Analog Out\",\"hwplatformid\":\"01\",\"mixer_numid\":\"1\",\"mixer_control\":\"PCM\",\"route_cmd\":\"amixer -c 0 cset numid=3 1 > \\/dev\\/null\",\"device\":\"hw:0,0\",\"name\":\"bcm2835 ALSA_1\",\"type\":\"alsa\",\"integrated_sub\":1,\"real_interface\":\"{\\\"device\\\":\\\"hw:0,0\\\",\\\"name\\\":\\\"bcm2835 ALSA\\\",\\\"type\\\":\\\"alsa\\\",\\\"system\\\":\\\"card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]\\\"}\"}"
3) "FOSTEX USB AUDIO HP-A8"
4) "{\"device\":\"hw:1,0\",\"name\":\"FOSTEX USB AUDIO HP-A8\",\"type\":\"alsa\",\"system\":\"card 1: HPA8 [FOSTEX USB AUDIO HP-A8], device 0: USB Audio [USB Audio]\"}"
5) "bcm2835 ALSA_2"
6) "{\"id\":\"2\",\"sysname\":\"bcm2835 ALSA\",\"extlabel\":\"RaspberryPi HDMI Out\",\"hwplatformid\":\"01\",\"mixer_numid\":\"1\",\"mixer_control\":\"PCM\",\"route_cmd\":\"amixer -c 0 cset numid=3 2 > \\/dev\\/null\",\"device\":\"hw:0,0\",\"name\":\"bcm2835 ALSA_2\",\"type\":\"alsa\",\"integrated_sub\":1,\"real_interface\":\"{\\\"device\\\":\\\"hw:0,0\\\",\\\"name\\\":\\\"bcm2835 ALSA\\\",\\\"type\\\":\\\"alsa\\\",\\\"system\\\":\\\"card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]\\\"}\"}"


Code: Select all
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HPA8 [FOSTEX USB AUDIO HP-A8], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Code: Select all
amixer controls -c 0
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=PCM,name='IEC958 Playback Con Mask'
numid=4,iface=PCM,name='IEC958 Playback Default'


Code: Select all
amixer controls -c 1
numid=2,iface=MIXER,name='Clock Source 16 Validity'
numid=1,iface=PCM,name='Playback Channel Map'
belgarath0815
 
Posts: 14
Joined: 22 Jun 2015, 22:31

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby Toube » 15 Nov 2018, 09:06

Hi Guys,

I tried installing youtube-dl to use the mpd to play youtube using command line.. not sure if it is even possible?
So I ran the command "sudo pacman -S youtube-dl" and got the following error:
Code: Select all
resolving dependencies...
looking for conflicting packages...

Packages (1) youtube-dl-2018.07.29-1

Total Download Size:    2.07 MiB
Total Installed Size:  12.04 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
error: failed retrieving file 'youtube-dl-2018.07.29-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.


Any tips?

Thanks.
-Toube
Toube
 
Posts: 131
Joined: 10 Oct 2018, 08:10

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby RoyB » 15 Nov 2018, 16:08

janui wrote:Hi RoyB,
RoyB wrote:So, my PI 3B works with 0.4Beta janui-20171120 but not as wanted with 0.5Beta janui-20180903-0/5. What puzzles me now is this whether a hardware problem or might there still be a kernel problem?
Thanks for reporting this and also for being so persistent. I really cannot think of anything which could cause this, even though it still sounds like a power issue. The kernel for the 2B and 3B are almost identical, so I would not expect to find an issue there. ...
janui


Hi janui,
You were right, it is a power issue!
I measured the voltage at the micro USB connector at startup and during use and also viewed it with an oscilloscope. The voltage drops occasionally too much. At the output of the linear power supply the voltage is stable. After shortening the feeding cable the Pi3B and Pi2B operate fine with RuneAudio 0.5Beta janui-20180903-5.
So apparantly a somewhat other startup process and a power feeding on its edge (shame on me) caused the problems.

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

Re: RuneAudio 0.5-beta for all Raspberry Pi models

Postby RoyB » 15 Nov 2018, 16:38

I have two remarks on the UI of the Volume Control in RuneAudio 0.5Beta-janui-20180903. As far as I know not posted earlier.

1) The indication of the level is shown dimmed (gray) when Safari (iPad/iPhone) is used. With Firefox (desktop) it is clear blue.
2) The down (left) and up (right) buttons under the dial only work after using the zero level button or after manualy altering the level.

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 10 guests