Commit Graph
272 Commits
Author SHA1 Message Date
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
Drew Weymouth 3b5e5171b5 Fix #345: make sure to truncate playlist title, description, owner 2024-03-08 08:05:18 -08:00
Drew Weymouth 739b5eb64d save last active tab in Now Playing page 2024-03-06 19:48:55 -08:00
Drew Weymouth 1e377619b5 Merge branch 'main' into feature/lyrics 2024-03-06 09:46:44 -08:00
Drew Weymouth 129afcf4a8 update lyrics text style 2024-03-06 09:44:52 -08:00
Drew Weymouth b3bec2694b fetch lyrics async 2024-03-06 08:13:02 -08:00
Drew Weymouth 3fa52c73df add unsynced lyrics view (not tested yet) 2024-03-06 08:05:53 -08:00
Michael Manganiello 2cb002dde0 misc: Implement Iterator approach for artists
First step towards improving sorting for Artists. Use the same iterator
approach as albums and tracks.
2024-03-06 00:54:16 -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
Michael Manganiello a6fefc992d Refactor and temporarily disable sharing artists 2024-03-03 21:01:48 -03:00
Michael Manganiello d9bbe03e81 misc: Notify user of failed sharing using a dialog 2024-03-03 20:45:00 -03:00
Michael Manganiello 9d3725cb51 feat: Add Share option for artists, albums, and tracks
This feature is only available on the Subsonic media provider. Using a
Jellyfin server will make Supersonic hide the "Share" option.

* Artists: Option available in grid view and in Artist view.
* Albums: Option available in grid view and in Album view.
* Tracks: Option available in tracklist, when a single track is selected.
2024-03-03 20:44:58 -03:00
Drew Weymouth 44abf3c434 add select all support to new NowPlaying page 2024-03-03 13:58:15 -08:00
Drew Weymouth e9142f9ebf add stub lyrics viewer component 2024-03-03 13:51:54 -08:00
Drew Weymouth eaef666b0c make sure to update displayed rating/favorite when changing from list 2024-03-03 13:48:45 -08:00
Drew Weymouth 67c5edbbde rm irrelevant comment 2024-03-03 11:50:07 -08:00
Drew Weymouth 151dbb9edf rename file 2024-03-03 11:48:27 -08:00
Drew Weymouth a86533b424 connect up PlayQueueList actions and remove old NowPlayingPage 2024-03-03 11:47:57 -08:00
Drew Weymouth aa58a50804 add status line to fullscreen page 2024-03-03 11:00:16 -08:00
Drew Weymouth 9b72ff9d17 add OnPlayQueueChange hook 2024-03-03 10:38:12 -08:00
Drew Weymouth 825f4325ed pool fullscreenpage for reuse when navigating 2024-03-02 17:25:16 -08:00
Drew Weymouth 9f16e2ebd9 connect actions 2024-03-02 17:18:49 -08:00
Drew Weymouth a458f14327 don't crash in fullscreen page when stopping (next track = nil) 2024-03-02 17:10:32 -08:00
Drew Weymouth b8ab480294 fullscreen play queue renders correctly 2024-03-02 16:01:14 -08:00
Drew Weymouth cbbebf6eb5 hook up rating and favorite actions 2024-03-02 09:28:35 -08:00
Drew Weymouth fee1dd66bb add FavoriteIcon and use in fullscreen page 2024-03-01 18:12:25 -08:00
Drew Weymouth f1e5c55461 more work on fullscreen page 2024-03-01 16:59:04 -08:00
Drew Weymouth 4023d9e76e add padding around large now playing card 2024-03-01 16:59:04 -08:00
Drew Weymouth c473c3ad23 some tweaks, still WIP 2024-03-01 16:59:04 -08:00
Drew Weymouth e719782437 beginning of work on fullscreen page 2024-03-01 16:59:04 -08:00
Drew Weymouth daac2c8566 fix keyboard scrolling weirdness by updating Fyne fork 2024-02-22 17:25:46 -08:00
Drew Weymouth a7309b08ca add keyboard scrolling to list views 2024-02-18 13:26:15 -08:00
Drew Weymouth c6687aaa95 add (non-focused) keyboard scrolling to grid view pages 2024-02-18 09:10:01 -08:00
Drew Weymouth a46b9559bf make sure to always update itemForID maps for focus traversal 2024-02-17 08:22:21 -08:00
Drew Weymouth bc113e404d add focus navigation to playlists list view 2024-02-16 09:15:49 -08:00
Drew Weymouth f789296944 refactor and add focus navigation to genres list 2024-02-16 08:33:24 -08:00
Drew Weymouth 6ac9337625 remove some outdated todo comments 2024-02-14 15:11:14 -08:00
Drew Weymouth e9d462e655 move player package into backend 2024-01-08 18:53:13 -08:00
Drew Weymouth e4342ac135 Add icons to menu items 2024-01-06 16:24:23 -08:00
Drew Weymouth 9c2f72d9f2 Fix #33: allow reordering of play queue 2024-01-06 14:22:18 -08:00
Drew Weymouth b3a5fee264 replace shuffle icon 2024-01-06 11:44:25 -08:00
natilou 55a959ac4c adding default color name, calling updateNavBtnsColor in SetPage and handling the nil case 2024-01-06 10:25:08 -03:00
natilou 159c127be8 Highlight the icon of the current page and reset the original color of the rest 2024-01-06 10:25:08 -03:00
Drew Weymouth bcf95ba26c don't assume MPV player in now playing page 2023-12-19 08:23:12 -08:00
Drew Weymouth 55f9461410 Refactor pt. 1: move MPV player to own package and extract some types 2023-12-17 13:50:30 -08:00
Drew Weymouth cb4329cf08 Display release types in album page 2023-12-16 15:03:22 -08:00
Drew Weymouth 6445320cb5 #283: Prevent artist bio from overflowing header space 2023-11-22 12:28:18 -06:00
Drew Weymouth 87fc88e308 Fix #157: Add "Auto" ReplayGain mode to auto-choose between Track and Album 2023-11-15 08:14:31 -08:00
Drew Weymouth aba2076894 remove Recently Played, Frequently Played album sort orders for Jellyfin 2023-11-14 16:58:04 -08:00