Commit Graph
23 Commits
Author SHA1 Message Date
Michael Manganiello 7161dd40a9 Reduce direct dependency on Player even more 2023-06-18 22:45:05 -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 fedb9fd70d add status line with media info to bottom of now playing page 2023-06-05 08:55:35 -07:00
Antoine Beaupré d6c249aa8c add debugging statements when playing
This was requested in issue #112.
2023-04-13 21:51:20 -04:00
Drew Weymouth d6a84c78a1 add config option for audio device name and set it on startup 2023-04-05 18:19:56 -07:00
Drew Weymouth b5086eafd3 add function to list mpv audio devices 2023-04-05 18:03:28 -07:00
Drew Weymouth 34f65e45ca switch libmpv binding 2023-04-05 17:35:26 -07:00
Drew Weymouth d84c0d71ed hook up playback config onchanged 2023-04-01 10:42:15 -07:00
Drew Weymouth 660281cf28 Merge pull request #103 from dweymouth/feature/replay-gain
Add ReplayGain support
2023-03-28 18:24:02 -07:00
Drew Weymouth fe5a6ffdf3 hook up replaygain config file options 2023-03-28 18:17:45 -07:00
Drew Weymouth e22a16ea5a expose MPV ReplayGain options 2023-03-28 18:16:10 -07:00
Drew Weymouth 0a11df8c07 limit MPV in-memory cache size and make it configurable 2023-03-28 17:34:39 -07:00
Drew Weymouth 26b3a7f667 add AudioExclusive mode 2023-03-17 18:14:08 -07:00
Drew Weymouth bd5c2f2cbb fix extra onTrackChange events 2023-03-17 17:57:18 -07:00
Drew Weymouth 4297e3318a add own libmpv binding 2023-02-18 12:36:15 -08:00
Drew Weymouth bc4a55e23a switch to own libmpv binding 2023-02-18 12:35:55 -08:00
Drew Weymouth 198b84b9c1 add Logout, OnLogout to server manager and hook up OnLogout callbacks 2023-02-12 15:47:15 -08:00
Drew Weymouth 4cc52d4135 ensure we unpause in player.PlayTrackAt 2023-02-11 13:46:46 -08:00
Drew Weymouth b667e2cd07 now playing page can remove tracks from play queue 2023-02-11 13:07:02 -08:00
Drew Weymouth 632df5c1b2 add album page showing track listing 2023-01-02 18:05:13 -08:00
Drew Weymouth 024557d49e update slider once per second always 2022-12-23 14:55:47 -08:00
Drew Weymouth f25e201440 switch mpv lib to remove deprecated mpv apis 2022-12-17 20:43:27 -08:00
Drew Weymouth c21d7d03eb first commit 2022-12-17 16:52:13 -08:00