Commit Graph
63 Commits
Author SHA1 Message Date
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 0bd0ea8919 adding get son radio support to Jellyfin server 2024-03-30 12:31:14 -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
Drew Weymouth 1e377619b5 Merge branch 'main' into feature/lyrics 2024-03-06 09:46:44 -08:00
Michael Manganiello d917efe801 fix: Handle sorting for accented strings 2024-03-06 00:55:46 -03: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
Drew Weymouth ea1d78ed58 add LyricsProvider / GetLyrics 2024-03-05 08:53:57 -08: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 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 1e466e4cdf start of JukeboxPlayer backend 2023-12-19 17:31:10 -08:00
Drew Weymouth 53dc9277ec Add Comment column to tracklist 2023-12-16 15:54:03 -08:00
Drew Weymouth 1521c0c4ba add ReleaseTypes to the album model 2023-12-16 13:44:16 -08:00
Drew Weymouth 79b8d34430 #284: fix artist radio for Jellyfin 2023-11-16 08:17:32 -08:00
Drew Weymouth 2ffcac9b88 add scrobbling for Jellyfin 2023-11-14 18:08:55 -08:00
Drew Weymouth b7f54054d8 correctly distinguish user/pass auth errors from other connectivity errors again 2023-11-14 17:36:07 -08:00
Drew Weymouth aba2076894 remove Recently Played, Frequently Played album sort orders for Jellyfin 2023-11-14 16:58:04 -08:00
Drew Weymouth 80a3104e79 all playlist functionality works now 2023-11-14 09:05:02 -08:00
Drew Weymouth cafca00b1b editing playlist metadata is working now 2023-11-14 09:05:02 -08:00
Drew Weymouth 7d3e942e3f playlist updates 2023-11-14 09:05:02 -08:00
Drew Weymouth e261eab4f3 Jellyfin does not support 5-star ratings - make it disableable 2023-11-14 09:05:02 -08:00
Drew Weymouth f25e748be5 implement favorites, download, albuminfo for Jellyfin 2023-11-14 09:05:02 -08:00
Drew Weymouth 4f9b3a70bf implement Quick Search for Jellyfin 2023-11-14 09:05:02 -08:00
Drew Weymouth 9e10e2442c fix artist radio for jellyfin 2023-11-14 09:05:02 -08:00
Drew Weymouth 831ce1de97 track iterator for jellyfin + generics refactoring of helpers 2023-11-14 09:05:02 -08:00
Drew Weymouth 58428cc35d convert units properly for RunTimeTicks and Bitrate 2023-11-14 09:05:02 -08:00
Drew Weymouth 8aed1e5234 add Jellyfin albumiterator 2023-11-14 09:05:02 -08:00
Drew Weymouth 08ca09d686 remove ping - it's not actually used anymore 2023-11-14 09:05:02 -08:00
Drew Weymouth 7637440fd6 extract additional iterator helper to share with Jellyfin 2023-11-14 09:05:02 -08:00
Drew Weymouth 5431fe3058 get artist funcs 2023-11-14 09:05:02 -08:00
Drew Weymouth 2867d13498 more Jellyfin integration work 2023-11-14 09:05:02 -08:00
Drew Weymouth c8255517f6 extract random iter helper to be reused with Jellyfin 2023-11-14 09:05:02 -08:00
Drew Weymouth d948d2d725 beginning of adding Jellyfin support 2023-11-14 09:05:02 -08:00
Drew Weymouth 2b78b7a70d switch rank order between playlists and tracks 2023-11-05 15:18:03 -08:00
Drew Weymouth fd9ae477b6 improve result ranking 2023-11-05 15:05:05 -08:00
Drew Weymouth de8539df0a attach play action to track results in quick search 2023-11-05 14:51:59 -08:00
Drew Weymouth 5fd3f96129 WIP ranking of search results 2023-11-05 14:08:48 -08:00
Drew Weymouth 3238aad65a include playlists and genres in results; UI improvement 2023-11-05 14:07:52 -08:00
Drew Weymouth 17df4d780e more WIP 2023-11-05 14:07:52 -08:00
Drew Weymouth 0439ec695b add SearchAll function to MediaProvider 2023-11-05 14:07:52 -08:00
Drew Weymouth c9320b8021 Add setting to disable server transcoding 2023-10-30 17:32:27 -07:00
Drew Weymouth c8e43e7e53 use OpenSubsonic extensions in SubsonicMediaProvider 2023-10-22 11:53:21 -07:00
Drew Weymouth f84a03c703 Closes #249: add Rescan Library to settings menu 2023-09-25 16:38:02 -07:00
natilou 681fa06255 changing AlbumInfo attributes name, using the same names as subsonic API. Checking if lastFm and musicBrainzID are not empty strings. Saving the musicbrainz release url in constant. Using 'Show Info...' in meatball menu. 2023-06-27 09:48:36 -03:00
natilou f26e9dbcbf Add UI for viewing the album info returned by Subsonic getAlbumInfo API
- Adding "Get Info" in album page's "meatball" menu. When the option is clicked a pop up appears with
the album information and links to Last.fm and MusicBrainz.

Screenshot:

Fixes #105
2023-06-27 09:48:36 -03:00
natilou f190aaf732 Ability to download tracks
- Adding the option to download the selected track or tracks.
When the download is clicked it opens a dialog that lets you choose where
you want to save the track and the file name (by default
the file name is the track number, the track name and the extension, example "03 - my song.mp3")
If there are many tracks selected it will open one dialog for each track
- Next steps: download an album and a playlist using zip
2023-06-15 10:12:53 -03:00
Drew Weymouth 286967217e #182: switch back to GetArtistInfo2 and add defensive nil check 2023-05-31 16:41:18 -07:00