Changeset 183875b in Klonkt for src/config


Ignore:
Timestamp:
06/20/2026 05:23:08 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d727e92
Parents:
459acd9
Message:

feat(audio): per-track "open in" Spotify/YouTube/SoundCloud links

New per-track fields link_spotify/link_youtube/link_soundcloud (audio_tracks),
editable in the track editor (https + correct host validated). Shown as small
brand icons per track row in standalone track embeds, albums and playlists —
click opens the track on that service (new tab). buster audio.css?v=8.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    r459acd9 r183875b  
    9292  ensureColumn('audio_tracks', 'credit', 'TEXT');   // eigenaar/credit (copyright-houder)
    9393  ensureColumn('audio_tracks', 'license', 'TEXT');  // licentie (bv. "CC BY 4.0", "Alle rechten voorbehouden")
     94  ensureColumn('audio_tracks', 'link_spotify',    'TEXT');  // "open in"-links per track
     95  ensureColumn('audio_tracks', 'link_youtube',    'TEXT');
     96  ensureColumn('audio_tracks', 'link_soundcloud', 'TEXT');
    9497
    9598  // Playlists (v9 feature) — first-class entity. CREATE IF NOT EXISTS is
Note: See TracChangeset for help on using the changeset viewer.