Compare commits

..

20 Commits

Author SHA1 Message Date
Glenn Thompson 7e3c9e0767 style: Match audio player color to app panels
- Change audio player background from #1a1a1a to #1a2332
- Matches the blue-grey color used throughout the app
- Addresses Fade's feedback about brownish grey appearance
2025-11-22 10:39:09 +03:00
Glenn Thompson c36015747b Merge remote-tracking branch 'upstream/main' into glenneth/recently-played-tracks 2025-11-22 10:23:45 +03:00
Glenn Thompson 06fe13ee2e style: Update recently played track styling
- Change track link colors: cyan default, green hover, blue visited
- Add equal left/right padding (12px) to track-list for centered separators
- Increase track-item top/bottom padding from 6px to 10px for better spacing
- Move track-list and track-item inside recently-played-list block for proper CSS nesting
- Addresses feedback from easilok on symmetry and breathing room
2025-11-21 14:21:53 +03:00
Glenn Thompson a35e301583 fix: Correct LASS hover syntax for track links
- Move track-link styles inside recently-played-list block for proper CSS nesting
- Use (:and .track-link :hover) at correct nesting level per LASS documentation
- Fixes hover color change to green when mousing over track names
- Generates correct CSS selector: .recently-played-list .track-link:hover
2025-11-21 10:02:52 +03:00
Glenn Thompson dccca05b9b refactor: Make track name clickable with external link icon
- Replace separate MusicBrainz link with clickable track name
- Add external link icon next to track name
- Simplify grid layout by removing track-meta column
- Update CSS styling for track-link with hover effects
- Improves UX by making the primary action (clicking track) more intuitive
2025-11-21 08:50:19 +03:00
Glenn Thompson decff5c033 Merge remote-tracking branch 'origin/main' into glenneth/recently-played-tracks 2025-11-21 08:47:26 +03:00
Glenn Thompson e3e3a144d4 Merge remote-tracking branch 'upstream/main' 2025-11-21 08:35:30 +03:00
Glenn Thompson 6125d06c7d feat: Add recently-played.ctml partial template
Add modular partial template for recently-played section that can be included in other templates
2025-11-20 11:32:11 +03:00
Glenn Thompson ef204a7612 feat: Add favicon and asteroid.png graphics to front page
- Add favicon.ico, favicon-16x16.png, and favicon-32x32.png
- Add asteroid.png graphic to header on both front-page.ctml and front-page-content.ctml
- Update header styling to display asteroid graphics flanking the station name
2025-11-20 11:30:43 +03:00
Luis Pereira afcd4fe294 fix: playlist creation on frontend 2025-11-20 11:30:43 +03:00
Luis Pereira 4e509f12b1 fix: hide duplicated browser audio in player page 2025-11-20 11:30:43 +03:00
Luis Pereira adb14b56ab fix: tracks and playlist db interation through data-model 2025-11-20 11:30:43 +03:00
Glenn Thompson cec3763403 Merge remote-tracking branch 'upstream/main' 2025-11-20 07:04:29 +03:00
Glenn Thompson 06c5904ecd Refine recently played styling and MusicBrainz search
- Use 2-column grid layout: track/artist left, time/link right
- Match color scheme with now-playing section (blue text)
- Tighter row spacing (6px padding)
- Simplified MusicBrainz search query (no field prefixes)
- Fix CSS selector for proper link styling
- Right-align time and MusicBrainz link
2025-11-18 07:16:07 +03:00
Glenn Thompson 4fd35db924 Add recently played tracks feature with MusicBrainz integration
- Display last 3 played tracks on front page
- Auto-updates every 30 seconds
- Shows track title, artist, and time ago
- Links to MusicBrainz search for each track
- Thread-safe in-memory storage
- Works in both normal and frameset modes
- Hacker-themed green styling

Implements feature request from fade to show recently played tracks
with linkage to track info at music database.
2025-11-18 07:16:07 +03:00
Glenn Thompson c198775083 Merge remote-tracking branch 'upstream/main' 2025-11-18 07:15:32 +03:00
Glenn Thompson d187a01641 Merge remote-tracking branch 'upstream/main' 2025-11-17 06:34:49 +03:00
Glenn Thompson f498008d2a Merge remote-tracking branch 'upstream/main' 2025-11-15 18:43:48 +03:00
Glenn Thompson 96a3ce2b64 Merge remote-tracking branch 'upstream/main' 2025-11-14 09:08:31 +03:00
Glenn Thompson 63d606b39b fix: Use sequential mode in liquidsoap to play through entire playlist
The playlist was stuck on the first track because mode='normal' stops
after playing once. Changed to mode='sequential' which plays through
the entire playlist in order and then loops.

Also improved reload mechanism:
- Use reload_mode='watch' for efficient file change detection
- Increased reload interval to 5 minutes (less disruptive)
2025-11-13 07:08:25 +03:00
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@
(let ((query (format nil "~a ~a" artist song)))
(format nil "https://musicbrainz.org/search?query=~a&type=recording"
(drakma:url-encode query :utf-8))))
;; API Routes using Radiance's define-api
;; API endpoints are accessed at /api/<name> automatically
;; They use lambda-lists for parameters and api-output for responses