mirror of
https://github.com/screentinker/screentinker.git
synced 2026-05-15 07:32:23 -06:00
Migration (database.js): switched from sync execFileSync to async execFile with promise wrapper, matching the pattern in playlists.js. Probes each video content item, backfills content.duration_sec, and uses the real duration in playlist_items. Falls back to the assignment's original duration_sec if the probe fails or content isn't a video. V1 import (status.js): moved assignment-to-playlist conversion out of the synchronous db.transaction() so async ffprobe can run. Content files are already on disk from the transaction, so probing works. Same fallback logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| db | ||
| middleware | ||
| player | ||
| routes | ||
| services | ||
| ws | ||
| config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||