pylav.extension.bundled_node package#
Submodules#
pylav.extension.bundled_node.manager module#
- class pylav.extension.bundled_node.manager.LocalNodeManager(client, timeout=None)[source]#
Bases:
object
A manager for a local Lavalink node.
- abort_for_unmanaged#
- property build_time#
The Lavalink build time used by Lavalink.
- async connect_node(reconnect, wait_for=0.0, external_fallback=False)[source]#
Connect to the managed node.
- property disabled#
Whether the node is disabled or not.
- async static get_lavalink_process(*matches, cwd=None, lazy_match=False)[source]#
Get a list of Lavalink processes.
- property jvm#
The JVM version used by Lavalink.
- property lavaplayer#
The Lavaplayer version used by Lavalink.
- property ll_branch#
The Lavalink branch used by Lavalink.
- property ll_build#
The Lavalink build number used by Lavalink.
- async maybe_download_jar()[source]#
Download the Lavalink.jar if it doesn’t exist or is out of date.
- async static maybe_remove_apple_music_config(data)[source]#
Remove Apple Music config if it’s not set.
- async static maybe_update_apple_music_country_code(data)[source]#
Update Apple Music country code if it’s invalid.
- async static maybe_update_spotify_country_code(data)[source]#
Update Spotify country code if it’s invalid.
- property node#
The node object.
- property path#
The path to the Lavalink jar file.
- async process_existing_lavalink_processes(possible_lavalink_processes)[source]#
Process existing Lavalink processes.
- ready#
- async shutdown()[source]#
Shuts down the managed Lavalink node server and removes it from the node manager.
- start_monitor_task#
- timeout#
pylav.extension.bundled_node.utils module#
- pylav.extension.bundled_node.utils.change_dict_naming_convention(data)[source]#
Changes the naming convention of a dict.
- pylav.extension.bundled_node.utils.get_jar_ram_actual(executable)[source]#
Returns the actual ram for the jar