Changeset 834bcc3 in Klonkt for src/routes/audio.js
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/routes/audio.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/audio.js
rbb42dfb r834bcc3 92 92 const range = req.headers.range; 93 93 94 // Statisti eken: tel één play bij de initiële player-fetch (niet bijscrub/95 // range -continuaties; replays binnen 24u komen uit de browsercache → geen96 // d ubbeltelling). Best-effort, mag nooit de stream breken.94 // Statistics: count one play on the initial player fetch (not on scrub/ 95 // range continuations; replays within 24h come from the browser cache → no 96 // double counting). Best-effort, must never break the stream. 97 97 if (req.get('X-Audio-Player') === '1' && (!range || /^bytes=0-/.test(range))) { 98 98 try { … … 141 141 }); 142 142 143 // W elke post bevat deze track? (voor de mini-speler → "spring naar de post +144 // scroll naar de track".) Pakt de nieuwste gepubliceerde post met[[track:<id>]].143 // Which post contains this track? (for the mini-player → "jump to the post + 144 // scroll to the track".) Fetches the newest published post with [[track:<id>]]. 145 145 router.get('/track/:id/post', (req, res) => { 146 146 const id = String(req.params.id || '');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)