Skip to content

Releases: 4br3mm0rd/mpyg321

2.2.1

17 May 12:06
ed758f2
Compare
Choose a tag to compare
  • Adds toggle_play and toggle_pause functions

2.2.0

04 May 21:39
b10e90e
Compare
Choose a tag to compare

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

05 Jan 01:19
0b52f3f
Compare
Choose a tag to compare

Resolves small bug that would crash the wrapper.

2.1.0

25 Oct 21:04
fc49027
Compare
Choose a tag to compare

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

2.0.1

18 Apr 13:27
4996229
Compare
Choose a tag to compare

Fixes bug when using audiodevice.

2.0.0

18 Apr 09:45
bf444b6
Compare
Choose a tag to compare

v2.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.

1.5.1

14 Apr 11:47
3129a0a
Compare
Choose a tag to compare
  • pexpect added to setup.py install_requirements

1.5.0

23 Nov 19:02
780349f
Compare
Choose a tag to compare

Adds mute/unmute feature for mpg123

1.4.1

19 Aug 17:02
c77dca6
Compare
Choose a tag to compare

Support volume feature for mpg321

1.4.0

19 Aug 16:51
f656979
Compare
Choose a tag to compare

Bugfix:

  • Sometimes, the process would crash after playing for more than 30sec (pexpect timeout). This should be fixed.

Performance:

  • For mpg123, silence the frames output by default so that pexpect has less data to process

New Features:

  • Volume
  • Load list