4057b692ba
Build and Push Docker Image / build (push) Successful in 47s
two simplifications to how we pick and transcode the one-per-language audio track, motivated by seeing inconsistent DTS → FLAC vs DTS → EAC3 outputs in the wild: transcode target: - drop the FLAC path entirely. every incompatible source now targets EAC3 regardless of container or lossless/lossy status - FLAC for movie audio is bad value: ~2-3× the file size vs EAC3, no Atmos spatial metadata (TrueHD Atmos → FLAC silently loses Atmos), no AVR passthrough on Apple TV - one target = no more container-conditional surprises winner within a language group (betterAudio): - new priority: highest channels → Apple-compatible → default → index - old order put 'default' on top which forced a DTS-HD MA transcode even when an AC3 track at equal channels was right next to it. flipping means AC3 beats DTS-HD MA at the same channel count — pure copy instead of a lossless-then-re-encode round trip - channel count still dominates, so 7.1 TrueHD still beats 5.1 AC3 (and gets transcoded, which is the right call for real surround) tests: new case for DTS-HD MA default + AC3 non-default at 5.1 → AC3 wins, job_type=copy. new case for 7.1 TrueHD beats 5.1 AC3 default. every other existing test still holds.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "netfelix-audio-fix",
|
|
"version": "2026.04.14.12",
|
|
"scripts": {
|
|
"dev:server": "NODE_ENV=development bun --hot server/index.tsx",
|
|
"dev:client": "vite",
|
|
"dev": "concurrently \"bun run dev:server\" \"bun run dev:client\"",
|
|
"build": "vite build",
|
|
"start": "bun server/index.tsx",
|
|
"lint": "biome check .",
|
|
"format": "biome format . --write",
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"@internationalized/date": "^3.12.0",
|
|
"@tanstack/react-form": "^1.28.3",
|
|
"@tanstack/react-router": "^1.163.3",
|
|
"clsx": "^2.1.1",
|
|
"hono": "^4",
|
|
"mqtt": "^5.15.1",
|
|
"react": "19",
|
|
"react-aria-components": "^1.16.0",
|
|
"react-dom": "19",
|
|
"ssh2": "^1",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.4",
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@tanstack/router-plugin": "^1.163.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/ssh2": "^1",
|
|
"@vitejs/plugin-react-swc": "^4.2.3",
|
|
"bun-types": "latest",
|
|
"concurrently": "^9.2.1",
|
|
"tailwindcss": "^4.2.1",
|
|
"vite": "^7.3.1"
|
|
}
|
|
}
|