-- Sample Beatport-style Tracks
-- Use this to test cover images and preview URLs before importing real data

-- Clear existing sample data (optional)
-- DELETE FROM tracks WHERE id <= 10;

-- Insert sample tracks with Beatport-style data
INSERT INTO tracks (name, artist, album, bpm, music_key, genre, mood, brightness, saturation, shape, level, position, cover_url, preview_url) VALUES

-- Track 1: Techno
('Stellar Drift', 'Cosmic Pulse', 'Space Echoes EP', 128, 'Am', 'Techno', 'Hypnotic', 0.3, 0.7, 'circle', 'high', 1, 
'https://i.imgur.com/placeholder-techno.jpg', 
NULL),

-- Track 2: Progressive House
('Sunrise Boulevard', 'Northern Lights', 'Dawn Sessions', 124, 'F', 'Progressive House', 'Uplifting', 0.9, 0.8, 'circle', 'loud', 2,
'https://i.imgur.com/placeholder-prog.jpg',
NULL),

-- Track 3: Minimal
('Deep Resonance', 'Underground Collective', 'Minimalism Vol 3', 122, 'Dm', 'Minimal', 'Dark', 0.2, 0.5, 'square', 'middle', 3,
'https://i.imgur.com/placeholder-minimal.jpg',
NULL),

-- Track 4: Melodic Techno
('Aurora Borealis', 'Parallel Universe', 'Nordic Tales', 126, 'Em', 'Melodic Techno', 'Dreamy', 0.6, 0.9, 'hex', 'middle', 4,
'https://i.imgur.com/placeholder-melodic.jpg',
NULL),

-- Track 5: Peak Time
('Apex', 'Drive System', 'Prime Time', 132, 'G', 'Peak Time Techno', 'Intense', 0.8, 1.0, 'triangle', 'extra', 5,
'https://i.imgur.com/placeholder-peak.jpg',
NULL);

-- Add more tracks from the Beatport playlist style
-- When you get real data, replace these with actual Beatport tracks

SELECT 'Sample tracks inserted successfully!' as Status;
SELECT COUNT(*) as TotalTracks FROM tracks;
