Commit Graph
33 Commits
Author SHA1 Message Date
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
Drew Weymouth 7d293af45b begin defining a generic MediaProvider interface and model 2023-05-13 17:31:39 -07:00