Changeset ddf549f in Klonkt


Ignore:
Timestamp:
06/20/2026 02:14:20 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
5258945
Parents:
359b9ae
Message:

fix(player): playlist queue now carries track id (scroll-to-track)

embedPlaylistShortcodes built the queue JSON (tracksData) without id →
currentTrack was missing the id → scroll-to-track fell back to the top.
id now included; playlist rows already have the anchor.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/AudioEmbedService.js

    r359b9ae rddf549f  
    374374      // embedAlbumShortcodes — keep both in sync.
    375375      const tracksData = pl.tracks.map(t => ({
     376        id:     t.id,
    376377        url:    t.url,
    377378        title:  t.title,
Note: See TracChangeset for help on using the changeset viewer.