Mpyg321

Latest version: v2.2.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.2.1

- Adds `toggle_play` and `toggle_pause` functions

2.2.0

Adds support for events. You can now write callbacks for events by using the new decorators or the `subscribe_event` function:

player = MPyg123Player()

player.on(MPyg321Events.ANY_STOP)
def callback(context):
print("Any stop event occured")

or
def my_func(context):
print("Other event subscribed")

player.subscribe_event(MPyg321Events.ANY_STOP, my_func)

2.1.1

Resolves small bug that would crash the wrapper.

2.1.0

Implements custom args + rva-mix option.
Removes useless legacy code.

2.0.1

Fixes bug when using audiodevice.

2.0.0

- We now have 2 separate classes for mpg123 and mpg321
- This allows the players to only contain the functions that they support

Breaking changes:
- mute and unmute are only available for mpg123
- MPyg321Player only supports mpg321. People using mpg123 should migrate to `MPyg123Player` which has more features for mpg123.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.