From b1ec08026d8957cc9886a6b7ea7e573b4d123d1e Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Sun, 12 Mar 2023 22:57:38 -0400 Subject: [PATCH] update docs --- docs/hdi/player.md | 12 ++++++++++++ docs/hdi/pool.md | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/hdi/player.md b/docs/hdi/player.md index ca54ffa..53cff82 100644 --- a/docs/hdi/player.md +++ b/docs/hdi/player.md @@ -67,6 +67,18 @@ There are also properties the `Player` class has to access certain values: - `float` - Returns the player’s position in a track in milliseconds. +* - `Player.adjusted_position` + - `float` + - Returns the player’s position in a track in milliseconds, adjusted for rate if affected. + +* - `Player.adjusted_length` + - `float` + - Returns the current track length in milliseconds, adjusted for rate if affected. + +* - `Player.rate` + - `float` + - Returns the players current rate, which represents the speed of the currently playing track. This rate is affected by the `Timescale` filter. + * - `Player.volume` - `int` - Returns the players current volume. diff --git a/docs/hdi/pool.md b/docs/hdi/pool.md index e328e00..12f8a4b 100644 --- a/docs/hdi/pool.md +++ b/docs/hdi/pool.md @@ -66,6 +66,10 @@ After you have initialized your function, we need to fill in the proper paramete - Set this value to `True` if you want Pomice to automatically switch all players to another available node if one disconnects. You must have two or more nodes to be able to do this. +* - `log_level` + - `LogLevel` + - The logging level for the node. The default logging level is `LogLevel.INFO`. + ::: @@ -84,7 +88,8 @@ await NodePool.create_node( spotify_client_id="", spotify_client_secret="" apple_music=, - fallback= + fallback=, + log_level= ) ```