[GH-ISSUE #185] Network share & network playback error #113

Open
opened 2026-02-27 19:28:28 +03:00 by kerem · 4 comments
Owner

Originally created by @Holzmusik on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/185

Hello,

Could someone give me a tip on how to get my network drive (connected to a Fritzbox) working? I've already tried everything under network sharing.

Originally created by @Holzmusik on GitHub (Feb 23, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/185 Hello, Could someone give me a tip on how to get my network drive (connected to a Fritzbox) working? I've already tried everything under network sharing.
Author
Owner

@p4co86 commented on GitHub (Feb 23, 2026):

How did you named your Foldername? Here is an Example of my Homeassistant Backup.

fritz.nas/PHILIPS_UFD/Backup/Home_Assistant

Did you try to get the folder working on Windows explorer?

I Have read that sometimes its calldd fritz.nas and sometime frizbox.nas......

try to get it working in winexplorer first and then switch to Audioserver.

<!-- gh-comment-id:3946759550 --> @p4co86 commented on GitHub (Feb 23, 2026): How did you named your Foldername? Here is an Example of my Homeassistant Backup. fritz.nas/PHILIPS_UFD/Backup/Home_Assistant Did you try to get the folder working on Windows explorer? I Have read that sometimes its calldd fritz.nas and sometime frizbox.nas...... try to get it working in winexplorer first and then switch to Audioserver.
Author
Owner

@Holzmusik commented on GitHub (Feb 23, 2026):

I've looked at it closely, the path to the folder is specified here, but I've tried everything possible, I can't get the network folder to be accepted.

http://fritz.nas/#/files/Seagate_Expansion_Drive/Musik

<!-- gh-comment-id:3947498537 --> @Holzmusik commented on GitHub (Feb 23, 2026): I've looked at it closely, the path to the folder is specified here, but I've tried everything possible, I can't get the network folder to be accepted. http://fritz.nas/#/files/Seagate_Expansion_Drive/Musik
Author
Owner

@p4co86 commented on GitHub (Feb 24, 2026):

take a deeper look in thr docker-compose.yaml

services:
loxoneaudioserver:
container_name: lox-audioserver
image: ghcr.io/lox-audioserver/lox-audioserver:latest
hostname: lox-audioserver
build:
context: .
dockerfile: ./Dockerfile
restart: unless-stopped
network_mode: host
# privileged caps (and security-opt) needed to mount smb folders within the container
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH

I remember using docker-compose did it form me. Before i used git clone. Take a look at the last 4 lines and try it with that.

<!-- gh-comment-id:3949279804 --> @p4co86 commented on GitHub (Feb 24, 2026): take a deeper look in thr docker-compose.yaml services: loxoneaudioserver: container_name: lox-audioserver image: ghcr.io/lox-audioserver/lox-audioserver:latest hostname: lox-audioserver build: context: . dockerfile: ./Dockerfile restart: unless-stopped network_mode: host # privileged caps (and security-opt) needed to mount smb folders within the container cap_add: - SYS_ADMIN - DAC_READ_SEARCH I remember using docker-compose did it form me. Before i used git clone. Take a look at the last 4 lines and try it with that.
Author
Owner

@Holzmusik commented on GitHub (Feb 24, 2026):

I've managed to get it working now, but not with the path from the browser. It only works with the IP address and the name of the SMB share. However, the music from the drive isn't playing. This seems to be a problem with the Fritz!NAS. The log file is attached.

[2026-02-24T10:31:18.337Z][DEBUG][Audio|Session] [message="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" zoneId=5] ffmpeg stderr
[2026-02-24T10:31:18.340Z][INFO][Audio|Session] [bufferedBytes=0 code=140 earlyExit=true profile=flac runMs=109 signal=null stderr="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" stderrAt=1771929078337 subscribers=0 totalBytes=0 zoneId=5] ffmpeg exited
[2026-02-24T10:31:18.341Z][WARN][Audio|Manager] [exitCode=140 exitSignal=null reason=undefined source=library:local:track:b64_bGlicmFyeTovL25hcy9zdG9yYWdlLTE3NzE5Mjg3MzUxMjcvMyUyMERvb3JzJTIwRG93biUyMCgyMDAyKSUyMEF3YXklMjBGcm9tJTIwVGhlJTIwU3VuL0F3YXklMjBGcm9tJTIwVGhlJTIwU3VuLmZsYWM= stderr="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" zoneId=5] playback session terminated by engine
[2026-02-24T10:31:18.343Z][SPAM][LoxoneHttp|Notifier] [artist="" duration=120 mode=stop sourceName=504F94FF1BB4 time=0 title="Playback error: library:local:track:b64_bGlicmFyeTovL25hcy9zdG9yYWdlLTE3NzE5Mjg3MzUxMjcvMyUyMERvb3JzJTIwRG93biUyMCgyMDAyKSUyMEF3YXklMjBGcm9tJTIwVGhlJTIwU..." zoneId=5 zoneName=Esszimmer] audio_event payload

<!-- gh-comment-id:3950747118 --> @Holzmusik commented on GitHub (Feb 24, 2026): I've managed to get it working now, but not with the path from the browser. It only works with the IP address and the name of the SMB share. However, the music from the drive isn't playing. This seems to be a problem with the Fritz!NAS. The log file is attached. [2026-02-24T10:31:18.337Z][DEBUG][Audio|Session] [message="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" zoneId=5] ffmpeg stderr [2026-02-24T10:31:18.340Z][INFO][Audio|Session] [bufferedBytes=0 code=140 earlyExit=true profile=flac runMs=109 signal=null stderr="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" stderrAt=1771929078337 subscribers=0 totalBytes=0 zoneId=5] ffmpeg exited [2026-02-24T10:31:18.341Z][WARN][Audio|Manager] [exitCode=140 exitSignal=null reason=undefined source=library:local:track:b64_bGlicmFyeTovL25hcy9zdG9yYWdlLTE3NzE5Mjg3MzUxMjcvMyUyMERvb3JzJTIwRG93biUyMCgyMDAyKSUyMEF3YXklMjBGcm9tJTIwVGhlJTIwU3VuL0F3YXklMjBGcm9tJTIwVGhlJTIwU3VuLmZsYWM= stderr="[in#0 @ 0x656e840] Error opening input: Stale file handle\nError opening input file /app/data/music/nas/storage-1771928735127/3 Doors Down (2002) Away From The Sun/Away From The Sun.flac.\nError opening input files: Stale file handle" zoneId=5] playback session terminated by engine [2026-02-24T10:31:18.343Z][SPAM][LoxoneHttp|Notifier] [artist="" duration=120 mode=stop sourceName=504F94FF1BB4 time=0 title="Playback error: library:local:track:b64_bGlicmFyeTovL25hcy9zdG9yYWdlLTE3NzE5Mjg3MzUxMjcvMyUyMERvb3JzJTIwRG93biUyMCgyMDAyKSUyMEF3YXklMjBGcm9tJTIwVGhlJTIwU..." zoneId=5 zoneName=Esszimmer] audio_event payload
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#113
No description provided.