48 Commits
Author SHA1 Message Date
Jacalz 534a7bfaaf Run modernise on the project
This will be available in "go fix" within Go 1.26 but in the meantime:

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
2025-09-17 22:28:16 +02:00
Drew Weymouth a317b382ff Fix #665: Add option to play albums in order on Albums page 2025-08-10 15:06:27 -07:00
Drew Weymouth 568e380a51 add Play random button to album page 2025-02-20 16:13:11 -08:00
Drew Weymouth 99e48d6ff7 add album shuffle mode to Genre page 2025-02-13 13:46:29 -03:00
Drew Weymouth ff6a204284 localize list of startup pages in Settings 2024-07-24 07:55:43 -07:00
Drew Weymouth 4afedda04e translate sort order strings 2024-07-21 16:23:47 -07:00
Drew Weymouth d48337c83b and some more 2024-07-21 11:13:27 -07:00
Drew Weymouth edf85a4162 add option to show album years in grid views 2024-06-27 17:44:41 -07:00
Michael Manganiello ab2ac363b0 fix: Disable genre filter only on Genre page 2024-03-11 23:59:53 -03:00
Michael Manganiello a220243279 misc: Decouple Grid view from Albums
The Grid view and related components were highly coupled to Albums,
including the filter button that is currently used only for album
filtering.

As part of the migration of Artists to Grid view, this is the smallest
possible change to convert many of the existing code to
generics/interfaces that will allow different media to be displayed and
filtered by using Grid views.

The main changes in this diff are:

* Introduction of generics for Media types (`M`) and Filter options
  (`F`), which can be later extended to other entities besides Albums.
* Complete decoupling of `GridViewPage` and related components from
  Albums (making these pages also generic).
* Refactoring of Subsonic/Jellyfin specific code to understand these new
  generics when dealing with filtering logic.
2024-03-11 00:44:20 -03:00
Michael Manganiello 801967a530 misc: Upgrade Go to v1.21
Upgrade to 1.21 as 1.20 is now unmaintained.

Most changes are related to the new `slices` package from standard
library, which can replace some existing custom functions.
2024-03-05 09:49:10 -03:00
Drew Weymouth aba2076894 remove Recently Played, Frequently Played album sort orders for Jellyfin 2023-11-14 16:58:04 -08:00
Drew Weymouth 9b2fee47f1 refactor: shared base impl between albums and genre pages 2023-08-07 17:28:24 -07:00
Drew Weymouth 203070328c reuse grid view across several pages 2023-07-09 14:14:23 -07:00
Drew Weymouth 1c771b0832 reuse grid view for searching on albums page 2023-07-08 15:18:37 -07:00
Drew Weymouth de7a16639e switch GridView to icon placeholder 2023-05-23 17:35:26 -07:00
Drew Weymouth e8ab651d9d add genres to album filters panel 2023-05-18 18:10:09 -07:00
Drew Weymouth f926ed3fb9 fix some bugs and restructure a bit more 2023-05-15 17:05:18 -07:00
Drew Weymouth fd106560d0 more refactoring - compiles now but not extensively tested 2023-05-14 20:50:06 -07:00
Drew Weymouth 85042fcbd4 begin the refactoring - doesnt compile 2023-05-14 19:31:04 -07:00
Drew Weymouth 4730b74039 add album filters to genre page 2023-05-12 09:22:49 -07:00
Drew Weymouth 87ae111cb2 more work on album filters 2023-05-11 16:45:47 -07:00
Drew Weymouth 0a20299cf4 add albumfilterdialog 2023-05-11 08:55:11 -07:00
Drew Weymouth 882f951aa1 add AlbumFilter to backend album iterators 2023-05-11 08:54:18 -07:00
Drew Weymouth 5634dfcfc1 simplify SearchEntry and extract a debouncer util func 2023-05-10 21:05:17 -07:00
Drew Weymouth 2ef0282c0b update module import paths 2023-05-07 09:53:34 -07:00
Drew Weymouth 76657b5c1c Fix #136: add context menu to album and playlist grid views 2023-05-02 17:50:35 -07:00
Drew Weymouth 31e82ae367 refactor: generic SliceContains 2023-04-29 10:21:40 -07:00
Drew Weymouth 9b1349b0ac add grid view option to playlists page 2023-04-28 19:28:20 -07:00
Drew Weymouth 753e7f9bcc refactor 2: use generic model for grid view 2023-04-28 17:25:57 -07:00
Drew Weymouth cf4540eb32 refactor 1: renaming 2023-04-28 16:50:35 -07:00
Drew Weymouth c6e655a704 fix #125 - search state not being properly restored 2023-04-08 18:49:32 -07:00
Drew Weymouth 7164fa15c6 quick minSize optimizations 2023-04-02 10:40:55 -07:00
Drew Weymouth 26c6ee7ac8 move HSpace to util package 2023-03-14 10:21:22 -07:00
Drew Weymouth 37941bbeef spacing adjustments 2023-03-04 10:10:17 -08:00
Drew Weymouth a8ea12feaf fix hiding of popups on escape 2023-03-03 20:51:04 -08:00
Drew Weymouth 37928881c0 Albums page: remember last sort order 2023-03-02 20:49:00 -08:00
Drew Weymouth d01ac697bd make artist and album hyperlinks in tracklist; refactor navigation to the controller package 2023-02-23 17:23:14 -08:00
Drew Weymouth 941012b7d2 make sure calls to server are async in UI callbacks; fix genre page not playing albums regression 2023-02-16 17:55:33 -08:00
Drew Weymouth 22e9287608 refactor: get rid of browsingpane as play album mediator 2023-02-10 18:02:08 -08:00
Drew Weymouth a6a4444524 albums and genre pages: save/reload search context 2023-02-05 16:38:49 -08:00
Drew Weymouth 85548a0d84 add ctrl/cmd+F shortcut to focus search entry 2023-01-19 18:15:37 -08:00
Drew Weymouth 78862f6bf0 save only page state in history and reconstruct page UI 2023-01-09 20:24:15 -08:00
Drew Weymouth 584a160809 add cache warming for album covers to album iterators 2023-01-07 16:24:18 -08:00
Drew Weymouth 3074034e44 move search bar to within albums page (right hand side) 2023-01-06 15:29:49 -08:00
Drew Weymouth 273f089fd6 bug fix 2023-01-06 09:55:03 -08:00
Drew Weymouth 805087cc3d add reload to browsing pane + pages 2023-01-06 09:28:50 -08:00
Drew Weymouth 7b3aca6027 refactoring package organization 2023-01-04 17:33:44 -08:00