Commit Graph
39 Commits
Author SHA1 Message Date
Drew Weymouth e7b2b821f3 hook up seek for synced lyrics 2024-05-16 19:22:08 -07:00
Michael Manganiello 3856ecdf73 misc: Make NowPlayingCard.Update receive Track object
Small change to `NowPlayingCard`, to be able to use more Track
properties in the future (e.g. favorite status).
2024-04-27 14:02:05 -03:00
Drew Weymouth a86533b424 connect up PlayQueueList actions and remove old NowPlayingPage 2024-03-03 11:47:57 -08:00
Drew Weymouth e719782437 beginning of work on fullscreen page 2024-03-01 16:59:04 -08:00
Drew Weymouth 1665281ad7 Refactor pt. 2: route player transport controls+callbacks through PlaybackManager 2023-12-18 09:06:17 -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 e841793318 more refactoring to make nowplayingcard more consistent with rest of widget APIs 2023-11-14 08:59:49 -08:00
Drew Weymouth 4f002574c2 handle multiple artists properly in UI 2023-10-22 11:40:06 -07:00
Drew Weymouth 9004e002f2 fix loopmode crash regression 2023-07-13 18:43:18 -07:00
Drew Weymouth e754b40a09 implement MPRIS SetVolume 2023-07-13 14:41:11 -07:00
Drew Weymouth a12b6dd276 expose repeat mode through MPRIS 2023-07-13 13:12:57 -07:00
Michael Manganiello 13f0692566 Move loop button to auxiliary controls, change button color on toggle 2023-06-18 22:45:09 -03:00
Michael Manganiello 7161dd40a9 Reduce direct dependency on Player even more 2023-06-18 22:45:05 -03:00
Michael Manganiello 4629ede7a7 Interface BottomPanel through PlaybackManager to reduce direct dependency on Player 2023-06-18 22:43:03 -03:00
Michael Manganiello 2ab19f65e1 Add Loop functionality to player controls
Adding the Loop functionality, along with the Player changes to support
it, and a button to the player controls.

`Player` now has a `loopMode` attribute, which determines whether it
should loop. At the moment, only the following modes are supported:

* `LoopNone`: Disables loop.
* `LoopAll`: Enables loop for the entire playlist queue.

This has been designed as an enum, to support other modes in the future
(e.g. loop for the current track only).

It depends on the `loop` functionality provided by MPV (using the
[`loop-playlist` option](https://mpv.io/manual/master/#options-loop-playlist)),
so no custom logic is needed to reset the currently playing index.
2023-06-18 22:43:03 -03:00
Drew Weymouth 85042fcbd4 begin the refactoring - doesnt compile 2023-05-14 19:31:04 -07:00
Drew Weymouth 3e448ed995 add context menu to cover thumbnail in bottom panel 2023-05-08 09:10:43 -07:00
Drew Weymouth 2ef0282c0b update module import paths 2023-05-07 09:53:34 -07:00
Drew Weymouth 053474f669 make track title in bottom panel link to Now Playing page 2023-04-30 10:17:34 -07:00
Drew Weymouth 78194165f4 show full size cover when clicking thumbnail in now playing display 2023-04-30 09:30:53 -07:00
Drew Weymouth cf4540eb32 refactor 1: renaming 2023-04-28 16:50:35 -07:00
Drew Weymouth 163d195032 use coverArt ID instead of album ID to fetch images 2023-03-20 18:14:02 -07:00
Drew Weymouth d01ac697bd make artist and album hyperlinks in tracklist; refactor navigation to the controller package 2023-02-23 17:23:14 -08:00
Drew Weymouth d9ec269191 Revert "refactor play count update to be cleaner, code-wise"
This reverts commit cd52a893d4, which introduced a regression.
Pages with a tracklist may not have the same in-memory model of the track,
so it is necessary to directly inform them of play count updates.
2023-02-21 17:43:06 -08:00
Drew Weymouth cd52a893d4 refactor play count update to be cleaner, code-wise 2023-02-20 19:24:47 -08:00
Drew Weymouth a83e21d7ea remember volume setting across restarts 2023-02-19 14:19:31 -08:00
Drew Weymouth f7f6bcd546 ensure play count in tracklist updates after scrobble 2023-02-13 17:04:47 -08:00
Drew Weymouth c66c43ecc8 update subsonic client library 2023-02-09 20:14:26 -08:00
Drew Weymouth 867461dab5 remove gcache dependency, switch to custom image cache with TTL for memory savings 2023-02-02 15:52:59 -08:00
Drew Weymouth 0f943e7cc0 add genres page, and extract bottomPanelLayout for reuse in navigation bar 2023-01-15 13:10:44 -08:00
Drew Weymouth 7b3aca6027 refactoring package organization 2023-01-04 17:33:44 -08:00
Drew Weymouth 4912e6d180 make artist/album in now playing card navigable 2023-01-03 16:59:16 -08:00
Drew Weymouth e5c9920c12 remove separators and make page background darker 2023-01-03 16:26:03 -08:00
Drew Weymouth 44536b8bef adding thick separator to navigation bar and bottom panel 2023-01-03 15:57:35 -08:00
Drew Weymouth 4f0b2c24c8 add volume slider 2022-12-29 14:40:10 -08:00
Drew Weymouth f792b473e8 another big refactor to make code more manageable 2022-12-25 16:59:42 -08:00
Drew Weymouth cefb25133e refactor UI for better separation 2022-12-24 16:47:00 -08:00
Drew Weymouth 181554058a big refactor to prepare for removing server hard-coding 2022-12-19 19:28:19 -08:00
Drew Weymouth c21d7d03eb first commit 2022-12-17 16:52:13 -08:00