Changeset 183875b in Klonkt for src/services/PlaylistService.js
- Timestamp:
- 06/20/2026 05:23:08 AM (3 months ago)
- Branches:
- main
- Children:
- d727e92
- Parents:
- 459acd9
- File:
-
- 1 edited
-
src/services/PlaylistService.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/PlaylistService.js
r459acd9 r183875b 94 94 // filenames (only tracks with a media file are playable). 95 95 const tracks = db.prepare(` 96 SELECT t.id, t.title, t.artist, t.duration, t.cover_url, m.filename 96 SELECT t.id, t.title, t.artist, t.duration, t.cover_url, 97 t.link_spotify, t.link_youtube, t.link_soundcloud, m.filename 97 98 FROM playlist_tracks pt 98 99 JOIN audio_tracks t ON t.id = pt.track_id … … 110 111 cover: t.cover_url || p.cover_url || '', 111 112 duration: t.duration || 0, 113 link_spotify: t.link_spotify || '', 114 link_youtube: t.link_youtube || '', 115 link_soundcloud: t.link_soundcloud || '', 112 116 url: urlFor ? urlFor(t.filename) : null, 113 117 }));
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)