The audio codec list sent to Jellyfin comes from MediaCodecList, which describes ExoPlayer — but video does not play through ExoPlayer. Android force-renders every video in the webview <video> element (the interim override in VideoPlayer.svelte) and Linux always has, and Chromium/WebKit decode a far narrower set than the platform does. A motorola edge 30 ships /vendor/etc/media_codecs_dolby_audio.xml, so it reported ac3,eac3; the server direct-played an E-AC-3 track with static=true and the webview built a video decoder and no audio decoder at all — full picture, no sound. The defect is triggered by capability rather than the lack of it, which is why a Fairphone and an Honor tablet play the same file on the same build: without the Dolby decoder they never claim the codec, so the server transcodes to AAC. Confirmed by A/B on the failing device — hevc+eac3 silent, hevc+aac audible, same session, same profile, same direct-play path, audio codec the only variable. video_audio_codecs narrows the platform list to the webview-decodable set for the video direct-play profile only. Audio-only playback really is the native player's, so that profile keeps the full list rather than transcoding music that plays perfectly well. A list with nothing decodable still claims aac, since a profile claiming nothing invites the server to give up instead of transcoding. The video codec list is deliberately untouched: HEVC direct-plays through the webview correctly, so the constraint is specific to audio. Test-first: the tests failed against the old behaviour before the filter existed, including the case built from the phone's real codec list. The requirement-count assertion in extract-traces.test.ts moves 280 -> 281 for the added DR, which is the deliberate edit that test exists to force. Not yet verified on device — the 0.4.7 APK was still building.
76 lines
3.0 KiB
JSON
76 lines
3.0 KiB
JSON
{
|
|
"name": "jellytau",
|
|
"version": "0.4.7",
|
|
"description": "",
|
|
"type": "module",
|
|
"packageManager": "bun@1.3.5",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:e2e": "wdio run ./wdio.conf.ts",
|
|
"test:e2e:dev": "wdio run ./wdio.conf.ts --watch",
|
|
"test:all": "./scripts/test-all.sh",
|
|
"test:rust": "./scripts/test-rust.sh",
|
|
"check:boundary": "bash scripts/check-frontend-boundary.sh",
|
|
"android:build": "./scripts/build-android.sh",
|
|
"android:build:release": "./scripts/build-android.sh release",
|
|
"android:build:device": "./scripts/build-android.sh --device",
|
|
"android:build:release:device": "./scripts/build-android.sh release --device",
|
|
"android:build:clean": "rm -rf node_modules/.vite dist .svelte-kit .next build target src-tauri/target && bun install && bun run build",
|
|
"android:deploy": "./scripts/deploy-android.sh",
|
|
"android:dev": "./scripts/build-and-deploy.sh",
|
|
"android:check": "./scripts/check-android.sh",
|
|
"android:logs": "./scripts/logcat.sh",
|
|
"desktop:build:linux": "./scripts/build-desktop-linux.sh",
|
|
"desktop:build:arch": "./scripts/build-arch.sh",
|
|
"desktop:build:windows": "./scripts/build-windows-cross.sh",
|
|
"docker:build:linux": "docker compose run --rm desktop-linux-build",
|
|
"docker:build:arch": "docker compose run --rm arch-build",
|
|
"docker:build:windows": "docker compose run --rm windows-cross",
|
|
"clean": "./scripts/clean.sh",
|
|
"tauri": "tauri",
|
|
"traces": "bun run scripts/extract-traces.ts",
|
|
"traces:json": "bun run scripts/extract-traces.ts --format json",
|
|
"traces:markdown": "bun run scripts/extract-traces.ts --format markdown > docs/traceability.md",
|
|
"traces:coverage": "bun run scripts/extract-traces.ts --format coverage",
|
|
"release:notes": "bun run scripts/release-notes.ts"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"@tauri-apps/plugin-os": "^2.3.2",
|
|
"hls.js": "^1.6.15",
|
|
"svelte-dnd-action": "^0.9.69"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-static": "^3.0.6",
|
|
"@sveltejs/kit": "^2.9.0",
|
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@tauri-apps/cli": "^2",
|
|
"@testing-library/svelte": "^5.3.1",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"@vitest/ui": "^4.0.16",
|
|
"@wdio/cli": "^9.5.0",
|
|
"@wdio/local-runner": "^9.5.0",
|
|
"@wdio/mocha-framework": "^9.5.0",
|
|
"@wdio/spec-reporter": "^9.5.0",
|
|
"happy-dom": "^20.0.11",
|
|
"jsdom": "^27.4.0",
|
|
"svelte": "^5.47.1",
|
|
"svelte-check": "^4.0.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.3",
|
|
"vitest": ">=1.0.0 <5.0.0",
|
|
"webdriverio": "^9.5.0"
|
|
}
|
|
}
|