Moode Forum
Which Airplay-Code/ Connect IOS via Airplay - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Which Airplay-Code/ Connect IOS via Airplay (/showthread.php?tid=6205)

Pages: 1 2


RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

Thank you to everybody so far for all the hints and ideas.

Just the latest update at the beginning: I took my old reseted iPhone (with V16.7.5) and have tried to connect to moOde. Surprise! This works without requesting a Code.

So, the question is still, why my regulare iphone with V17.3 is requesting a connect code. So far the only thing I can see is, that this one is a company managed phone (very liberal). But should this really be an issue? For example the connecting to another Airplay renderer like my Marantz Receiver is working fine. 

So, to get more samelike situation I will take tonight my wifes iPhone also with 17.3 but without company mangement and in addidtion her iPad with same company management to explore if there is any differences in behaviour.

In general I am pretty sure not having something special here. The Pi3 is connected via ethernet to a switch where also the WLAN router and wired WLAN repeater is connected to. No security functions at all (...so far). The iPhone SE 2022 is connected via WiFi as usual and I do not have any other Apple equipment like AppleTV etc. running.


RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

(02-05-2024, 11:59 PM)TheOldPresbyope Wrote: Is the RPi3B connected to the OPs "internal LAN" via Ethernet or using an external WiFi transceiver? What is the IP address of the RPi3B when connected? Best would be to post the System information as often asked for in other support threads.
Can you please support me getting the system information? 
I saw such detailed information overview yesterday night somewhere but I am not able to locate it within moOde again. I would expect such information in the m/configure/system dialog but there is no button for such overview.


RE: Which Airplay-Code/ Connect IOS via Airplay - Nutul - 02-06-2024

(02-06-2024, 11:25 AM)fibonacci Wrote:
(02-05-2024, 11:59 PM)TheOldPresbyope Wrote: Is the RPi3B connected to the OPs "internal LAN" via Ethernet or using an external WiFi transceiver? What is the IP address of the RPi3B when connected? Best would be to post the System information as often asked for in other support threads.
Can you please support me getting the system information? 

m => configure => network


RE: Which Airplay-Code/ Connect IOS via Airplay - Tim Curtis - 02-06-2024

(02-06-2024, 11:18 AM)fibonacci Wrote: Thank you to everybody so far for all the hints and ideas.

Just the latest update at the beginning: I took my old reseted iPhone (with V16.7.5) and have tried to connect to moOde. Surprise! This works without requesting a Code.

So, the question is still, why my regulare iphone with V17.3 is requesting a connect code. So far the only thing I can see is, that this one is a company managed phone (very liberal). But should this really be an issue? For example the connecting to another Airplay renderer like my Marantz Receiver is working fine. 

So, to get more samelike situation I will take tonight my wifes iPhone also with 17.3 but without company mangement and in addidtion her iPad with same company management to explore if there is any differences in behaviour.

In general I am pretty sure not having something special here. The Pi3 is connected via ethernet to a switch where also the WLAN router and wired WLAN repeater is connected to. No security functions at all (...so far). The iPhone SE 2022 is connected via WiFi as usual and I do not have any other Apple equipment like AppleTV etc. running.

The AirPlay receiver in moOde has never required a password and as I mentioned earlier my iPhone 14 running IOS 17.3 connects via Apple Music or Amazon Music without any password being required.

Its going to be difficult to troubleshoot unless someone is able to reproduce your issue on their end.

To get the System info report, do the following:

m, Configure, System
m, System info


RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

here the system info...
Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 8.3.7 2023-12-07
RaspiOS            = 11.8
Linux kernel        = 6.1.21-v8+ #1642
Platform        = Pi-3B 1.2 1GB
Architecture        = aarch64 (64-bit)
Home directory        = /home/pi
System uptime        = up 14 minutes
Timezone        = Europe/Berlin
Current time        = 2024-02-06 14:00:34

Host name        = moode-audio
Ethernet address    = 192.168.178.83
Ethernet MAC        = b8:27:eb:d1:b3:46
WLAN address        = unassigned
WLAN MAC        = no adapter
WLAN country        = US
WLAN AP SSID        = Moode-audio
WLAN AP chan        = 6
WLAN AP router        = Off

SoC identifier        = bcm2837
Core count        = 4
Kernel timer freq    = 250 Hz
SDCard freq        = 50 MHz
USB boot        = not enabled
Warranty        = OK

Root size        = 6.8G
Root used        = 42%
Root available        = 3.8G
Root expand        = expanded
Memory total        = 931 MB
Memory free        = 760 MB
Memory used        = 171 MB
SoC temperature        = 41.9°C
Throttled bitmask    = 0x50005
Throttled text        = Under-voltage detected, Currently throttled, Under-voltage has occurred, Throttling has occurred

Worker responsiveness    = Default
CPU governor        = ondemand
USB auto-mounter    = udisks-glue
Pi integrated WiFi    = Off
Pi integrated BT    = Off
HDMI output        = On
LED state        = 1,1
IP addr timeout        = 90 (secs)
Ethernet check        = Yes
SSH term server        = Off
Reduced sys logging    = Off

SMB file sharing    = Off
NFS file sharing    = Off
NFS access        =
NFS options        = rw,sync,no_subtree_check,no_root_squash

PHP-FPM version        = 7.4.33
NGINX version        = 1.18.0
SQLite3 version        = 3.34.1
Hostapd version        = 2.9
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = IQaudIODAC
Interface        = USB
Mixer name        = Analogue
Hardware mixer        = Yes
Supported formats    = S16_LE, S24_LE, S32_LE
ALSA max volume        = 100
ALSA output mode    = Default (plughw)
ALSA loopback        = Off
MPD max volume        = 100
Volume step limit    = 5
Display dB volume    = On
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 75
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.2.4-1.1+rpt2
SoX version        = 0.1.3-4

Bluetooth controller    = Off
Pairing agent        = Off
AirPlay receiver    = On
Spotify receiver    = Off
Squeezelite        = Off
RoonBridge        = Not installed
UPnP client        = Off
DLNA server        = Off
GPIO button handler    = Off
Multiroom sender    = Off
Multiroom receiver    = Disabled

Auto-shuffle        = Off
Ashuffle mode        = Track
Ashuffle filter        = None
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
USB volume knob        = Off
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
CamillaDSP        = off
CamillaDSP volsync    = Off
MPD httpd        = Off
Ignore CUE files    = Yes

P R E F E R E N C E S

Appearance
----------------------
Theme            = Default
Accent color        = Carrot
Alpha blend        = 0.75
Adaptive background    = No
Background image    = No
Cover backdrop        = Yes
Cover blur        = 5px
Cover scale        = 1.25
Renderer backdrop    = Yes
Font size        = Normal
Native lazyload        = Yes

Playback
----------------------
Show Queue thumbs    = Yes
Show Now-playing icon    = Waveform
Show CoverView playbar    = Yes
Show extra metadata    = encoded,output,track,date,composer
Search site        = Discogs
Playback history log    = No

Library
----------------------
One touch album        = Show tracks
One touch radio        = Play
One touch playlist    = No action
Albumview sort order    = by Artist/Year
Tagview sort order    = by Album/Year
Track play        = Track
Recently added        = 1 Month
Show sample rate    = HD only
Cover search pri    = Embedded cover
Pixel ratio        = 1.125
Thumbgen scan fmts    = Default
Thumbnail resolution    = 600px,60
Thumbnail columns    = 6/2 (Default)

Library (Advanced)
----------------------
Tag view genre        = Genre
Tag view artist        = Artist
Album key        = Album@Artist (Default)
Include comment tag    = No
Library filter        = full_lib
Library filter str    =
Ignore articles        = a,an,the
Show tagview genres    = Yes
Show tagview covers    = Yes
Ellipsis limited text    = No
UTF8 character filter    = No

CoverView
----------------------
Timed display        = Never
Automatic display    = Off
Backdrop style        = Gradient (Linear)
Display mode        = Cover
Layout            = Default
Extra metadata        = Yes

R A D I O   M A N A G E R   S E T T I N G S

Sort tag        = Name
Group method        = No grouping
Show moOde stations    = No action
Show other stations    = No action
Stream monitor        = Off

P L A Y L I S T   M A N A G E R   S E T T I N G S

Sort tag        = Name
Group method        = No grouping

M P D   S E T T I N G S

Version            = 0.23.14
Volume type        = software
SoX resampling        = disabled
Selective resampling    = disabled
SoX quality        = high
SoX multithreading    = off
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = no
Audio buffer        = 4 (MB)
Output buffer size    = 128 (MB)
Max playlist items    = 16384
Input cache        = Disabled
Device buffer        = 500 (ms)
Device period        = 125 (ms)

B L U E T O O T H   S E T T I N G S

Version            = 5.55
Bluealsa        = v4.1.0
Pairing agent        = 1.0.0
Pi-Bluetooth        = 0.1.19
Resume MPD        = No
PCM buffer time        = 500000 (µs)
ALSA output mode    = Default (_audioout)

A I R P L A Y   S E T T I N G S

Version            = 4.3.2
Friendly name        = Moode-audio AirPlay
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Version            = 0.4.2
Friendly name        = Moode-audio Spotify
Bitrate (kbps)        = 160
Format            = S16
Dither            = Automatic (Default)
Volume curve        = log
Volume range (dB)    = 60
Initial volume (%)    = 0
Volume normalization    = No
Method            = dynamic
Gain type        = auto
Pregain (dB)        = 0
Threshold (dBFS)    = -2
Attack (ms)        = 5
Release (ms)        = 100
Knee            = 1
Autoplay        = No
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.9.8-1317 "DSD/SRC enabled"
Friendly name        = Moode-audio
ALSA device        = hw:plughw:2,0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = Off
Mouse cursor        = On
Screen blank        = 600 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20240206 123301 worker: --
20240206 123301 worker: -- Start moOde 8 series
20240206 123301 worker: --
20240206 123301 worker: Successfully daemonized
20240206 123301 worker: Wait for Linux startup...
20240206 134649 worker: Linux startup complete
20240206 134649 worker: Boot config backed up
20240206 134654 worker: Session loaded
20240206 134702 worker: Package holds applied
20240206 134704 worker: File check complete
20240206 134704 worker: Debug logging on
20240206 134704 worker: Reduced logging off
20240206 134704 worker: --
20240206 134704 worker: -- Audio debug
20240206 134704 worker: --
20240206 134704 worker: ALSA cards:  0:b1 | 1:Headphones | 2:IQaudIODAC | 3:empty
20240206 134704 worker: MPD config:  2:IQaudIODAC | mixer:Analogue | cardnum:2
20240206 134705 worker: Mixer name:  [Analogue]
20240206 134705 worker: Hdwr volume: set to 0%
20240206 134705 worker: --
20240206 134705 worker: -- System
20240206 134705 worker: --
20240206 134710 worker: Host:     moode-audio
20240206 134710 worker: Model:    Pi-3B 1.2 1GB
20240206 134710 worker: moOde:    8.3.7 2023-12-07
20240206 134710 worker: RaspiOS:  11.8 Bullseye 64-bit
20240206 134710 worker: Kernel:   6.1.21 64-bit
20240206 134710 worker: MPD ver:  0.23.14
20240206 134710 worker: CPU gov:  ondemand
20240206 134710 worker: Userid:   pi
20240206 134710 worker: Homedir:  /home/pi
20240206 134710 worker: Timezone: Europe/Berlin
20240206 134710 worker: Keyboard: de
20240206 134710 worker: USB boot: not enabled yet
20240206 134711 worker: File sys: expanded
20240206 134711 worker: HDMI out: on
20240206 134711 worker: Sys LED0: on
20240206 134711 worker: Sys LED1: on
20240206 134711 worker: --
20240206 134711 worker: -- Network
20240206 134711 worker: --
20240206 134711 worker: Eth: adapter exists
20240206 134711 worker: Eth: timeout up to 90 secs
20240206 134711 worker: Eth: method  dhcp
20240206 134711 worker: Eth: address 192.168.178.83
20240206 134711 worker: Eth: netmask 255.255.255.0
20240206 134712 worker: Eth: gateway 192.168.178.1
20240206 134712 worker: Eth: pri DNS 192.168.178.1
20240206 134712 worker: Eth: domain  fritz.box
20240206 134712 worker: Wlan: adapter does not exist
20240206 134712 worker: --
20240206 134712 worker: -- Software update
20240206 134712 worker: --
20240206 134712 worker: Automatic check off
20240206 134712 worker: --
20240206 134712 worker: -- File sharing
20240206 134712 worker: --
20240206 134712 worker: SMB file sharing:  off
20240206 134712 worker: NFS file sharing:  off
20240206 134712 worker: DLNA file sharing: off
20240206 134712 worker: --
20240206 134712 worker: -- Audio config
20240206 134712 worker: --
20240206 134712 worker: MPD config:    update skipped (USB audio device)
20240206 134712 worker: Audio device:  IQaudIODAC
20240206 134712 worker: Formats:       S16_LE, S24_LE, S32_LE
20240206 134713 worker: Mixer type     Software
20240206 134713 worker: Mixer name     Analogue
20240206 134713 worker: Hdwr volume:   controller detected
20240206 134713 worker: ALSA max vol:  100%
20240206 134713 worker: ALSA card:     2
20240206 134713 worker: ALSA mode:     Default
20240206 134713 worker: ALSA loopback: off
20240206 134713 worker: CamillaDSP:    off
20240206 134713 worker: Renderers:     active flags reset
20240206 134713 worker: --
20240206 134713 worker: -- MPD startup
20240206 134713 worker: --
20240206 134714 worker: MPD service:        started
20240206 134714 worker: MPD port 6600:      accepting connections
20240206 134715 worker: MPD ALSA Default:   on
20240206 134715 worker: MPD ALSA Bluetooth: off
20240206 134715 worker: MPD HTTP Server:    off
20240206 134715 worker: MPD crossfade:      off
20240206 134715 worker: MPD ignore CUE:     yes
20240206 134715 worker: MPD CDSP volsync:   off
20240206 134715 worker: MPD CDSP volrange:  60 dB
20240206 134715 worker: --
20240206 134715 worker: -- Music sources
20240206 134715 worker: --
20240206 134715 worker: USB auto-mount: udisks-glue
20240206 134715 worker: USB drives:     no drives found
20240206 134715 worker: NAS sources:    no music sources defined
20240206 134715 worker: --
20240206 134715 worker: -- Feature availability
20240206 134715 worker: --
20240206 134715 worker: Input select:    available, src MPD, out IQaudIODAC
20240206 134715 worker: Bluetooth:       available, ALSA mode Default
20240206 134715 startAirPlay(): (/usr/bin/shairport-sync -vv -a "Moode-audio AirPlay" -- -d _audioout > /var/log/shairport-sync.log 2>&1 &)
20240206 134715 worker: AirPlay:         started
20240206 134715 worker: Spotify Connect: available
20240206 134715 worker: Squeezelite:     available
20240206 134715 worker: RoonBridge:      not installed
20240206 134715 worker: Multiroom:       available
20240206 134715 worker: UPnP client:     available
20240206 134715 worker: GPIO buttons:    available
20240206 134715 worker: Stream recorder: n/a
20240206 134715 worker: HTTPS-Only mode: n/a
20240206 134715 worker: --
20240206 134715 worker: -- Volume levels
20240206 134715 worker: --
20240206 134715 worker: Volume knob:      75
20240206 134715 worker: Saved MPD volume: 0
20240206 134715 worker: Saved SRC volume: 0
20240206 134716 worker: Hdwr volume:      100%
20240206 134716 worker: --
20240206 134716 worker: -- Peripherals
20240206 134716 worker: --
20240206 134718 worker: Local display:   off
20240206 134718 worker: On-screen kbd:   off
20240206 134718 worker: Rotary encoder:  off
20240206 134718 worker: USB volume knob: off
20240206 134718 worker: LCD updater:     off
20240206 134718 worker: --
20240206 134718 worker: -- Miscellaneous
20240206 134718 worker: --
20240206 134718 worker: Auto-CoverView:    off
20240206 134718 worker: CoverView timeout: Never
20240206 134718 worker: Auto-shuffle:      off
20240206 134718 worker: Auto-play:         off
20240206 134718 worker: Web SSH server:    off
20240206 134718 worker: Maintenance task:  360 mins
20240206 134718 sendEngCmd(): File open failed, UI has never been opened in Browser
20240206 134718 worker: Current view:      reset to Playback
20240206 134718 worker: Session check:     ok
20240206 134718 worker: --
20240206 134718 worker: -- Startup complete
20240206 134718 worker: --
20240206 134718 worker: Mount monitor:    off
20240206 134718 worker: MPD monitor:      off
20240206 134718 worker: Watchdog monitor: started
20240206 134718 worker: Responsiveness:   Default
20240206 134718 worker: Sleep intervals:  worker=3, waitworker=1, watchdog=6, mountmon=30, mpdmon=6, gpiobuttons=1
20240206 134718 worker: Ready
20240206 135525 waitWorker(): Start net-config, w_active=0
20240206 135525 waitWorker(): End   net-config, w_active=0
20240206 135851 waitWorker(): Start sys-config, w_active=0
20240206 135851 waitWorker(): End   sys-config, w_active=0



RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

(02-06-2024, 12:16 PM)Tim Curtis Wrote: Its going to be difficult to troubleshoot unless someone is able to reproduce your issue on their end.

you will probably be right. will post my next with the different devices....


RE: Which Airplay-Code/ Connect IOS via Airplay - Phil323UK - 02-06-2024

Hi Mark,

Quote:After I have selected the network player on iPhone, I am asked for an Airplay-Code. Neither in the settings under m/configure/renderers nor here in the forum is there any information about which code to use. Standard entries such as "0000" etc. do not work either.

It's not moode asking for a code, It's IOS that is asking for a code.

Quote:So, the question is still, why my regulare iphone with V17.3 is requesting a connect code. So far the only thing I can see is, that this one is a company managed phone (very liberal)

So what does 'company managed phone' actually mean?
Is there a VPN configuration on your phone?

Regards,
Phil.


RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

(02-06-2024, 12:53 AM)Tim Curtis Wrote: A quick test with my iPhone/IOS 17.3 and I'm not able to repro the issue with the built in Apple Music app or Amazon Music  HD.

Maybe its some sort of security setting on the OP's iPhone?

(02-06-2024, 02:07 PM)Phil323UK Wrote: Hi Mark,

Quote:After I have selected the network player on iPhone, I am asked for an Airplay-Code. Neither in the settings under m/configure/renderers nor here in the forum is there any information about which code to use. Standard entries such as "0000" etc. do not work either.

It's not moode asking for a code, It's IOS that is asking for a code.

Quote:So, the question is still, why my regulare iphone with V17.3 is requesting a connect code. So far the only thing I can see is, that this one is a company managed phone (very liberal)

So what does 'company managed phone' actually mean?
Is there a VPN configuration on your phone?

Regards,
Phil.

I am not familiar with the Airplay protocol version 1&2 to say which side is requesting something or if client "thinks" that something is required. But you are right from user perspective the IOS is requesting the code obviously.

"company managed phone" means, that theoretical it could be, that some enterprise rules could apply, even if I do not believe in it. But in fact, something seems to be different here otherwise the problem would not arise. Hopefully I can get some more information from the other two devices. Will keep you posted.


RE: Which Airplay-Code/ Connect IOS via Airplay - fibonacci - 02-06-2024

So, I made the same test now with three devices besides my personal iPhone. None of them requests a Connecting Code as seen in the screenshot of OP.

...and just to be on the safe side I have reseted my device but once registered incl. the enterprise rules I am asked to enter the Airplay-Code once selected to moOde.

I surrender for the moment Undecided and just do without this function on this device.


It's nice to see that support is offered here as a matter of course!!!

Mark