DSF/DFF playback intermittently fails with “Couldn’t create command line” after player reconnect (usedop=1, DoP)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 44/100
Línea de trabajo
Start by tracing the plugin’s client new/reconnect handling into setupTranscoder, which the issue identifies as the registration point for the per-player rules. Check how the dsf, dff, and wvpx entries are registered and whether the reconnect event can run before registration completes; add logging if needed to confirm the sequence. Done means the intermittent missing-command failure is explained and registration can be verified in logs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
- Lyrion Music Server 9.1.2-stable (ghcr.io/lms-community/lyrionmusicserver:9.1.2-stable), Docker on Unraid
- DSDPlayer plugin 1.14
- Player: Osmium Sound (squeezelite 2.0.0-1517), MAC xx.xx.xx.xx.xx.xx
- Squeezelite command in DoP mode: squeezelite -m xx.xx.xx.xx.xx.xx -o hw:CARD=AUDIO,DEV=0 -D -v -C 5 -s 192.168.1.2 -n Osmium-01 -M Osmium -r 384000 -b 16384:8192
- Per-player prefs (playdsd.prefs): usedop: 1, resample: '::::::', gain: 0
- No custom-convert.conf rules (restored to the original flac-only file)
Problem
DSF and DFF files play correctly in DoP at 5645 kHz on the DAC, but the failure is intermittent. After some player reconnections, both formats fail with:
Slim::Player::Song::open (426) Error: Couldn't create command line for dsf playback for [file:///music/...2L-109_stereo_5644k-1b_05.dsf]
Slim::Player::Song::open (426) Error: Couldn't create command line for dff playback for [file:///music/...2L-082_stereo-DSD_01.dff]
The TranscodingHelper debug log shows that no dsf-flc-- or dff-flc-- command is found; the only candidate is dsf-mp3-*-, which fails because ffmpeg is not in the container.
Observed sequence
- LMS restarted: DoP playback works.
- Osmium restarted: both formats fail (repeatedly).
- LMS restarted: works again.
- Osmium restarted: works.
So the failure is not tied to a specific restart. It looks like the per-MAC transcoder rules are sometimes not registered when the player reconnects (the plugin registers them on client new/reconnect in setupTranscoder). I have not been able to confirm the root cause. The plugin does not log anything in setupTranscoder, so there is no direct evidence of when registration happens.
Question
Is there a known race between the client new/reconnect event and the registration of the dsf/dff/wvpx transcoder entries? Is there a way to log registration to confirm it?
- Lenguaje dominante
- C
- Estrellas
- 6
- Forks
- 13
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LMS-Community/plugin-DSDPlayer
-
DSD Player don´t Play .dsf FilesAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
LMS-Community/plugin-DSDPlayer#4 · 1 comentario ·
Todos los issues de LMS-Community/plugin-DSDPlayer
Issues similares
-
Fix the gamepad image DualSense.Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
Revivedx/SavageWindRecomp#1358 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
ossc-db/pg_hint_plan#255 ·
-
Status: Opened
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
awslabs/aws-c-common#1319 ·