Commit Graph
95 Commits
Author SHA1 Message Date
Drew Weymouth d681d87b31 Discussion #485: use SortName when sorting artist's albums by name 2026-01-25 09:00:28 -08:00
zacaj 7058f74d42 (partial) Fix #742: add Genre, Album Artist, File Type columns 2025-11-11 03:36:33 +00:00
zacaj b0d918b93e (partial) Fix #742: add Date Added column 2025-11-11 03:36:30 +00:00
Drew Weymouth ddd96803b3 Merge branch 'main' into feature/new-playlist-btn 2025-09-27 07:50:02 -07:00
Jacalz ebc5b7e039 Fix all staticcheck errors that are not deprecations 2025-09-17 22:39:36 +02:00
Jacalz 08f335da44 Run gofumpt on the project 2025-09-17 22:30:49 +02:00
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 6ea3499491 add 'New Playlist' button to Playlists page 2025-09-17 08:55:35 -07:00
Drew Weymouth 766cfdfe91 Fix #668: Add sample rate, bit depth, channels to track info dialog 2025-08-08 07:50:43 -07:00
Drew Weymouth c521c617ec incremental waveform generation (kind-of) working 2025-07-26 15:33:22 -07:00
Drew Weymouth d701375d35 implement library browsing for Subsonic 2025-07-12 12:43:55 -07:00
Drew Weymouth 9c56429ed4 don't crash on All Tracks page if API call to get album tracks fails 2025-07-12 09:10:13 -07:00
Drew Weymouth 265e4f961f Fix #628: Add setting to transcode stream 2025-05-31 10:12:57 -07:00
Drew Weymouth 31c23490d1 add context menu actions to search dialog, refactor controller 2025-03-29 13:25:56 -07:00
Drew Weymouth 774bd996fc fix opensubsonic date, and locale detection 2024-12-23 17:39:57 -08:00
Drew Weymouth ff3b1addf8 show full OpenSubsonic date where available 2024-12-23 17:23:26 -08:00
Drew Weymouth c2efb048e2 more jukebox work 2024-08-31 09:09:12 -07:00
Drew Weymouth 0e9a8fc38b change module locations 2024-08-06 20:30:44 -07:00
ericwyn 36652fa61c change the default sort order of trackPages to the recently added 2024-08-05 10:34:10 +08:00
Drew Weymouth 14e93c1586 Fix #417 - add missed CoverArtID when unmarshaling GetArtist response 2024-07-27 17:22:33 -07:00
Drew Weymouth fdd449584b Fix #432: use artist sort name if present to sort 2024-07-25 17:46:55 -07:00
Drew Weymouth 4afedda04e translate sort order strings 2024-07-21 16:23:47 -07:00
Drew Weymouth d4066f0b1c add support for composer tag 2024-07-19 08:03:10 -07:00
Drew Weymouth bf97cdb526 add more to track info dialog 2024-07-18 17:33:42 -07:00
Drew Weymouth 03ce1cc115 add more info to dialog and adjust layout 2024-07-18 08:11:37 -07:00
Drew Weymouth 59d979ba80 Include radio stations in Quick Search 2024-07-01 08:04:10 -07:00
Drew Weymouth 2b39c6ba66 add fallback for artist Top Tracks when server returns none 2024-06-26 08:28:24 -07:00
Drew Weymouth 7793fd8fdb Refactor: move some playback-related functions to backend package 2024-06-24 18:49:30 -07:00
Drew Weymouth 7f6335c428 add similar songs fallback when server returns none 2024-06-24 08:23:49 -07:00
Drew Weymouth 1ed561c178 don't crash if server returns nil saved play queue but no error 2024-06-19 07:45:53 -07:00
Drew Weymouth c6b6da1f06 workaround Navidrome's incorrect getLyricsBySongId response schema 2024-06-03 08:12:15 -07:00
Drew Weymouth bfa3dc9892 more progress on radios 2024-06-01 12:18:28 -07:00
Drew Weymouth 77d21717f6 add missed files in previous commit 2024-06-01 11:20:13 -07:00
Drew Weymouth 0a902aef9f refactoring continued - compiles now 2024-05-31 16:37:14 -07:00
Drew Weymouth ce647c27b9 Fix #387: pass offset to subsonic random album fetch call 2024-05-20 18:17:41 -07:00
natilou f52a15e1da remove import not used 2024-05-02 21:02:52 -03:00
natilou e925b2fd2d chore: Delete cache playlists when playlists are modified 2024-05-02 20:36:50 -03:00
Drew Weymouth d6ab56765d don't crash on exit when saving play queue with nothing playing 2024-04-21 09:13:34 -07:00
Drew Weymouth f1aee40b05 pull in queue parsing fix 2024-04-16 19:37:35 -07:00
Drew Weymouth 63b0ab7374 add settings dialog radio for saving queue locally or to server 2024-04-16 18:13:22 -07:00
Drew Weymouth 98a140791b beginning of work to save queue to server 2024-04-16 17:26:46 -07:00
Drew Weymouth 36555fe64f remove now-unneeded time import 2024-04-14 10:11:23 -07:00
Drew Weymouth 4aa90187fe just use rand.Shuffle 2024-04-14 10:08:14 -07:00
Michael Manganiello 14bfaac7a2 feat: Add sorting options for Artists
Include both `Album Count` and `Random` sortings for the Artists page.

This change also fixes the Artist search feature in Jellyfin, which was
broken because of an open issue on Jellyfin [1]. The current workaround
is to do the filtering locally after receiving all results from Jellyfin
API.

Also, as the Jellyfin API doesn't include a sorting option for
`AlbumCount`, we need to disable pagination when that option is
selected, to receive all artists, and run the sorting locally.

[1] Related issue: https://github.com/jellyfin/jellyfin/issues/8222
2024-04-13 21:04:51 -03:00
Drew Weymouth d5f0971aa2 Closes #351: show reissue year in album page header 2024-03-31 08:26:54 -07:00
Drew Weymouth 0c03ac87a1 Merge pull request #355 from adamantike/misc/migrate-artists-page-to-gridview
misc: Migrate Artists page to GridView
2024-03-31 08:06:07 -07:00
Michael Manganiello 66658b1401 misc: Migrate Artists page to GridView
Remove custom page implementation for Artists, and instead rely on the
generic `GridView` approach. This also simplifies adding new
sorting/filtering options as next improvements.

The new `ArtistFilter` is a dummy implementation without any real
filters at the moment.

Also, the `go-jellyfin` upgrade is needed to correctly display the album
count for each artist.
2024-03-30 12:42:48 -03:00
natilou 298f4f6602 feat: Add Song radio option in tracklist.
At this moment this feature is only available on the Subsonic media provider. Using a
Jellyfin server the "Play song radio" option will be disabled.
2024-03-30 12:26:42 -03:00
Michael Manganiello b8cd79e6de fix: Add cloning logic to filters, make providers not update original filter 2024-03-17 00:56:49 -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