Files
supersonic/ui/widgets
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
..
2023-05-11 16:45:47 -07:00
2023-06-14 22:08:01 -07:00
2023-04-08 08:59:39 -07:00
2023-05-23 19:03:44 -07:00
2023-05-07 09:53:34 -07:00
2023-04-08 08:59:39 -07:00