Commit Graph
8 Commits
Author SHA1 Message Date
Michael Manganiello 13f0692566 Move loop button to auxiliary controls, change button color on toggle 2023-06-18 22:45:09 -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 2ef0282c0b update module import paths 2023-05-07 09:53:34 -07:00
Drew Weymouth a9cec173dd Fix #95: temporarily add tappable behavior to seekbar slider until Fyne 2.4 2023-04-27 09:21:07 -07:00
Drew Weymouth fa63b0e516 Fix #24: slider should only trigger play time update when being dragged 2023-04-25 17:07:05 -07:00
Drew Weymouth 58153327e6 fix seek bar changing size with num. digits in track time 2023-02-05 16:56:11 -08:00
Drew Weymouth f2268ca6f8 minor formatting 2023-01-03 16:43:53 -08:00
Drew Weymouth cefb25133e refactor UI for better separation 2022-12-24 16:47:00 -08:00