Commit Graph
61 Commits
Author SHA1 Message Date
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
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 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 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 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 4f9b3a70bf implement Quick Search 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 8aed1e5234 add Jellyfin albumiterator 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 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 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
Drew Weymouth 5acd9dd37f switch artists page to grid view 2023-05-23 17:21:48 -07:00