screentinker/server/routes
ScreenTinker 1483500458 Probe video durations during migration and v1 import
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>
2026-04-11 22:24:56 -05:00
..
activity.js Initial open source release 2026-04-08 12:14:53 -05:00
assignments.js Phase 2: assignments.js operates on device playlists instead of assignments table 2026-04-11 22:05:19 -05:00
auth.js Initial open source release 2026-04-08 12:14:53 -05:00
content.js Instant playlist push, fix YouTube looping, auto-fetch video titles 2026-04-08 15:42:41 -05:00
device-groups.js Phase 2: device-groups assign-content uses playlists + new assign-playlist endpoint 2026-04-11 22:06:26 -05:00
devices.js Phase 2: devices.js returns playlist items instead of assignments 2026-04-11 22:05:48 -05:00
kiosk.js Initial open source release 2026-04-08 12:14:53 -05:00
layouts.js Initial open source release 2026-04-08 12:14:53 -05:00
playlists.js Phase 2: playlists API returns display_count, is_auto_generated + assign endpoint 2026-04-11 22:09:32 -05:00
provisioning.js Initial open source release 2026-04-08 12:14:53 -05:00
reports.js Initial open source release 2026-04-08 12:14:53 -05:00
schedules.js Phase 2: schedules accept playlist_id, scheduler overrides device playlist 2026-04-11 22:07:36 -05:00
status.js Probe video durations during migration and v1 import 2026-04-11 22:24:56 -05:00
stripe.js Initial open source release 2026-04-08 12:14:53 -05:00
subscription.js Initial open source release 2026-04-08 12:14:53 -05:00
teams.js Initial open source release 2026-04-08 12:14:53 -05:00
video-walls.js Initial open source release 2026-04-08 12:14:53 -05:00
white-label.js Initial open source release 2026-04-08 12:14:53 -05:00
widgets.js Fix widget assignments, designer scaling, and cache strategy 2026-04-08 16:25:05 -05:00