Commit Graph
548 Commits
Author SHA1 Message Date
Siiiiinth c21be4e55f fix lint 2026-02-15 09:29:20 -08:00
Siiiiinth 17e20e1596 implement remove track for shuffle 2026-02-15 09:29:17 -08:00
Siiiiinth 9874ca8c06 todo comments 2026-02-15 09:28:38 -08:00
Siiiiinth f010ef0272 checkpoint 3: base shuffle works, but very bad code 2026-02-15 09:28:38 -08:00
Siiiiinth 6a5ec33799 use new play queue len func in playbackmanager 2026-02-15 09:28:38 -08:00
Siiiiinth 177c43655d shuffle func checkpoint 2 2026-02-15 09:28:38 -08:00
Siiiiinth 452ac8ff5b checkpoint shuffle impl 2026-02-15 09:28:38 -08:00
Siiiiinth d8b63d93d8 insertItemsIntoPlayQueueAt func 2026-02-15 09:28:38 -08:00
Siiiiinth ba0fcfb9ab getPlayQueue func 2026-02-15 09:28:38 -08:00
Siiiiinth 79b2b293fc getPlayQueueItemAt func 2026-02-15 09:28:38 -08:00
Siiiiinth 65081246d9 reordered playqueue func 2026-02-15 09:28:38 -08:00
Siiiiinth 72f2068dc3 setPlayQueue func 2026-02-15 09:28:38 -08:00
Siiiiinth 83edeafe7c clearPlayQueue func 2026-02-15 09:28:38 -08:00
Siiiiinth ac480ec92c getPlayQueueLength func 2026-02-15 09:28:38 -08:00
Siiiiinth bab54833c3 wip 2026-02-15 09:28:38 -08:00
Siiiiinth 169304b931 rem callback 2026-02-15 09:28:38 -08:00
Siiiiinth 405d9643b3 added shuffle button to UI + base data flow 2026-02-15 09:28:38 -08:00
Siiiiinth fa56047a82 wip ui 2026-02-15 09:28:38 -08:00
Drew Weymouth 497c61e724 Fix #854: bounds-check for setNextTrack during handleTimePosUpdate 2026-02-13 07:47:19 -08:00
Drew Weymouth ead7364632 Merge pull request #835 from M0Rf30/feat/equalizer-improvements
Add equalizer preset management and AutoEQ integration
2026-02-08 17:50:07 -08:00
Drew Weymouth f2440d9d15 some log cleanup 2026-02-08 17:46:20 -08:00
Drew Weymouth 6c84910553 renaming 2026-02-08 17:15:38 -08:00
Drew Weymouth b52aa5b36f rate-current CLI option (#847) 2026-02-07 10:18:51 -08:00
Gianluca Boiano f302612d53 chore: remove dead code 2026-02-06 18:06:59 +01:00
Drew Weymouth 7956174c0e fix fC of 10-band eq 2026-02-06 08:48:30 -08:00
Drew Weymouth daf0440fbc extend searchdialog / SearchResult to properly support headphone profiles 2026-02-06 08:27:52 -08:00
Gianluca Boiano b0b2dc46f9 Update player to support both 10-band and 15-band equalizers 2026-02-06 02:50:40 +01:00
Gianluca Boiano 0097b0a052 Add 10-band equalizer support and AutoEQ integration 2026-02-06 02:50:39 +01:00
Drew Weymouth 3c46889014 Extract and display radio ICY metadata (#845)
* extract and display radio ICY metadata

* fix crash when casting radio station
2026-02-05 07:51:15 -08:00
Gianluca Boiano 2e33b81914 Improve code quality and thread safety (#844)
- Format Go files (gofmt) for backend/windows/notify*.go
- Add thread safety to Stopwatch with sync.Mutex
- Add comprehensive unit tests for Stopwatch with race detection
- Add godoc comments to ImageCache public APIs
- Improve IPC documentation with platform-specific socket path details
- Document portable mode TODO for future enhancement
2026-02-03 11:39:47 -08:00
Gianluca Boiano ada1564be7 Fix WidgetPool goroutine and ticker leak
- Add context cancellation to WidgetPool cleanup goroutine
- Properly stop ticker when context is canceled
- Add BackgroundContext() getter method to App for context access
- Pass application context to NewWidgetPool for lifecycle management

This fixes a resource leak where the cleanup goroutine would run
indefinitely without any way to stop it, preventing proper cleanup
on application shutdown.
2026-02-02 16:31:56 +01:00
Gianluca Boiano 43e8d0a453 Optimize resource usage in waveform generation and image cache
- Replace sleep-based polling in waveform generation with channel-based
  synchronization to reduce CPU usage and improve responsiveness
- Add sync.Pool for audio buffers in waveform analysis to reduce memory
  allocations
- Fix critical bug in ImageCache where struct field updates were not
  being persisted to the map, causing LRU tracking to fail
- Optimize ImageCache evictOne() to use single pass instead of two
  separate iterations through all cache items
- Upgrade read locks to write locks in ImageCache Get methods to ensure
  struct updates are properly saved
2026-02-01 22:29:28 +01:00
Gianluca Boiano 53b91f5d43 Disable waveform seekbar by default 2026-02-01 22:18:18 +01:00
Drew Weymouth 9aeb7d0bd2 Fix #798: Migrate SkipSSLVerify setting to per-server 2026-01-29 08:35:21 -08:00
Drew Weymouth 7b09418017 Fix #614: Update go-upnpcast for device discovery fix 2026-01-28 19:34:38 -08:00
Gianluca BoianoandDrew Weymouth 6c038df537 Fix equalizer audio filter string construction (#834)
* Fix equalizer audio filter string construction

* some code style cleanup

* import strings

---------

Co-authored-by: Drew Weymouth <dweymouth@users.noreply.github.com>
2026-01-28 19:32:16 -08:00
Gianluca Boiano c692fbf1ee Update tooling and fix build issues
- Migrate golangci-lint config to v2 format
- Update GitHub Actions: checkout v3→v4, Go 1.24→1.25
- Update golangci-lint-action v6→v9 with golangci-lint v2.8
- Fix dlnaplayer.go: use RequestHandler interface for go-upnpcast
- Fix go.mod replace directive version mismatch for fyne fork
2026-01-26 22:30:12 +01:00
Drew Weymouth d681d87b31 Discussion #485: use SortName when sorting artist's albums by name 2026-01-25 09:00:28 -08:00
Drew Weymouth e6127ccc11 #782 for Jellyfin: treat usernames as case-insensitive 2026-01-24 11:05:12 -08:00
Drew Weymouth 8e2e4c6d89 Fix #810: only enqueue autoplay tracks when 10 sec from end of play queue 2026-01-24 10:23:35 -08:00
zacaj 7c9b4074cb setting to disable fade out on pause 2026-01-17 05:08:12 +00:00
Drew Weymouth 6be5e2d4cb Fix #809 - check last instead of first lyric timestamp to check if synced 2026-01-16 09:06:58 -08:00
Siiiiinth 79024784ec cycle the playQueue from lastTrack -> firstTrack when clicking Next on lastTrack 2026-01-09 09:35:26 +01:00
Siiiiinth 2c19f9f926 cycle album when loopAll is checked 2026-01-08 23:02:06 +01:00
Siiiiinth 62332551ed fixed ForceRestartPlayback 2026-01-05 00:29:37 +01:00
Siiiiinth 81c935fdd0 moved logic to playbackengine, forceRestart preserves pause state 2026-01-05 00:25:33 +01:00
Siiiiinth 0bdc991dc8 renamed stopAfterCurrent -> pauseAfterCurrent 2026-01-03 19:21:47 +01:00
Siiiiinth 68b7456b31 fixed stopAfterCurrent bug 2025-12-26 23:09:44 +01:00
Drew Weymouth 5c209c0412 Fix #775: quickly fade out mpv player on pause 2025-12-03 07:08:56 -08:00
Drew Weymouth 5e6b1de522 Fix #774: Make headers for Album, Artist, Playlist page collapsible / compact 2025-12-02 08:35:03 -08:00