fix: seek desync + TMDB worker + continue watching UX#8
Merged
Conversation
added 6 commits
June 24, 2026 03:57
- Slide transition (translateY 100%) on fs-hidden controls — no phantom clicks - Wheel volume at 2% steps with natural scroll inversion (webkitDirectionInvertedFromDevice) - Auto-hide delay: 2s mouse / 3s touch - aria-pressed on play/mute/fullscreen buttons, synced via volumechange listener - Chapter markers (window.CHAPTER_MARKERS) rendered as .seek-marker on seekbar Tests: 7/7 E2E, 3/3 red-checks confirmed
- player.js: corrige S.offset double-count en mode natif (seek → 2× la cible) condition &&-explicite pour couvrir les deux états confirmed/step indépendamment - functions.php: find_php_cli() priorise le binaire versionné (/usr/bin/php8.2) évite de tomber sur /usr/bin/php (PHP 8.4 sans pdo_sqlite) sur Debian multi-PHP - download.php: "Reprendre" — tri par récence, max 6 items, flex-wrap (no overflow) - tmdb-worker: discover_folders filtre vendor/node_modules/__pycache__ et les dossiers sans vidéo ni sous-dossier (ebooks, comics, MP3 exclus)
… volume >100% - Seekbar thumbnail preview: PHP endpoint ?keyframe_thumb=T extracts 160×90 JPEG via ffmpeg (timeout 8s, 204 on failure). JS debounce 100ms, 5s-rounded cache, AbortController, graceful fallback to timecode-only tooltip. - Double-tap mobile zones: left/right halves ±10s via touchstart double-tap (250ms window), .dt-flash animation, no conflict with swipe seek or FS toggle. - Speed keyboard shortcuts: '.' / '>' = +0.25×, ',' / '<' = −0.25× (range 0.5–2×), OSD + localStorage persist, added to keyboard help overlay. - Volume >100% via WebAudio GainNode: lazy init on first user gesture, scroll wheel continues past 100% up to 200%, orange mute icon when amplifying, sb_volume_gain persisted in localStorage.
…iscriminant - download.php : émet Content-Type/Cache-Control uniquement après proc_close, évite de cacher une 204 avec des headers image en cas d'échec ffmpeg - player-ux.spec.ts : patch HTMLVideoElement.prototype.duration au lieu de l'instance (non-configurable en headless Chromium) pour rendre le test chapter markers réellement discriminant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changements
player.js— bug seek (arrive au double du temps demandé)S.offsetdouble-count en mode natif : pendant les 4 premières secondes (S.confirmed=null), la réponse keyframe écrasaitS.offsetavec la cible →realTime() = offset + currentTime = 2×&&explicite pour couvrirS.confirmedetS.stepindépendammentS.offset = 0dans le chemin confirmed-native comme filet de sécuritéfunctions.php— TMDB worker silencieuxfind_php_cli()priorise/usr/bin/php8.2avant/usr/bin/php/usr/bin/php= PHP 8.4 sanspdo_sqlite→ crash silencieux du workerdownload.php— section "Reprendre" overflow horizontalflex-wrap:wrapà la place du scroll horizontaltools/tmdb-worker.php— pollution base de données (~11 000 entrées parasites)SKIP_DIRS: skipvendor,node_modules,cache,var,__pycache__dans la traversée récursiveTest plan
php8.2 tools/tmdb-worker.php→ doit traiter sans crasher