Changeset a95dbfd in Klonkt
- Timestamp:
- 06/30/2026 06:22:56 PM (2 months ago)
- Branches:
- main
- Children:
- f24b795
- Parents:
- adb6291
- File:
-
- 1 edited
-
src/routes/admin-playlists.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-playlists.js
radb6291 ra95dbfd 88 88 const tracks = db.prepare(` 89 89 SELECT t.id, t.title, t.artist, t.duration, t.cover_url, 90 m.filename90 t.link_spotify, t.link_youtube, t.link_soundcloud, m.filename 91 91 FROM audio_tracks t 92 92 LEFT JOIN media m ON m.id = t.media_id … … 103 103 duration: t.duration || 0, 104 104 cover: t.cover_url || '', 105 playable: !!t.filename, 105 // Insertable if it has a hosted file OR an external link — a link-only track ([[track:]]) 106 // still renders its Spotify/YouTube card on the post, so it must not be disabled in the picker. 107 playable: !!t.filename || !!(t.link_spotify || t.link_youtube || t.link_soundcloud), 106 108 })), 107 109 });
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)