DSF/DFF playback intermittently fails with “Couldn’t create command line” after player reconnect (usedop=1, DoP)
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- C
- スター
- 6
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LMS-Community/plugin-DSDPlayer のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
LMS-Community/plugin-DSDPlayer#4 · コメント 1 件 ·
LMS-Community/plugin-DSDPlayer の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
Revivedx/SavageWindRecomp#1358 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
ossc-db/pg_hint_plan#255 ·
-
Status: Opened
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
awslabs/aws-c-common#1319 ·