Commit Graph
51 Commits
Author SHA1 Message Date
owen cab5a987b0 add features 2026-07-29 04:35:25 -05:00
Drew Weymouth 2d864a5320 add support for OpenSubsonic playbackReport extension (#910)
* add support for OpenSubsonic playbackReport extension

* better style
2026-04-22 11:00:51 -07:00
Drew Weymouth ddd96803b3 Merge branch 'main' into feature/new-playlist-btn 2025-09-27 07:50:02 -07:00
Jacalz 08f335da44 Run gofumpt on the project 2025-09-17 22:30:49 +02:00
Drew Weymouth 6ea3499491 add 'New Playlist' button to Playlists page 2025-09-17 08:55:35 -07:00
Drew Weymouth d701375d35 implement library browsing for Subsonic 2025-07-12 12:43:55 -07:00
Drew Weymouth 265e4f961f Fix #628: Add setting to transcode stream 2025-05-31 10:12:57 -07: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 4afedda04e translate sort order strings 2024-07-21 16:23:47 -07:00
Drew Weymouth 59d979ba80 Include radio stations in Quick Search 2024-07-01 08:04:10 -07:00
Drew Weymouth 7793fd8fdb Refactor: move some playback-related functions to backend package 2024-06-24 18:49:30 -07:00
Drew Weymouth 77d21717f6 add missed files in previous commit 2024-06-01 11:20:13 -07:00
Drew Weymouth 98a140791b beginning of work to save queue to server 2024-04-16 17:26:46 -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 914636e91f remove SupportsSongRadio infra since all mediaproviders support it now 2024-03-31 09:28:50 -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 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 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 e261eab4f3 Jellyfin does not support 5-star ratings - make it disableable 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 08ca09d686 remove ping - it's not actually used anymore 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 de8539df0a attach play action to track results in quick search 2023-11-05 14:51:59 -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 f84a03c703 Closes #249: add Rescan Library to settings menu 2023-09-25 16:38:02 -07: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 5361de6581 add back prefetching album cover callback to iterators 2023-05-15 18:21:28 -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 0ebbf621b1 finish mediaprovider interface for subsonic 2023-05-14 18:59:38 -07:00
Drew Weymouth e34497ec24 bunch of work on Subsonic mediaprovider adapter 2023-05-14 17:48:06 -07:00
Drew Weymouth c4436a4887 more work on generic MediaProvider interface 2023-05-14 11:38:06 -07:00