arkrow / PyMusicLooper

A python program for repeating music endlessly and creating seamless music loops, with play/export/tagging support.
https://pypi.org/project/pymusiclooper/
MIT License
261 stars 25 forks source link

Switch mpg123 to another lib like mpg123 #8

Closed RERASER closed 1 year ago

RERASER commented 1 year ago

Is your feature request related to a problem? Please describe. It look like preview and play feature doesn't work with Windows,because https://github.com/20tab/mpg123-python works not well on Windows. Describe the solution you'd like FFPYPLAYER is a pylib player using ffmpeg,and PyMusicLooper must works with ffmpeg. We can use FFPYPLAYER instead of mpg123 or another lib like mpg123

Describe alternatives you've considered Use FFPlay Directly?

arkrow commented 1 year ago

Currently, the multi-platform python sounddevice is being looked into as an alternative. Since this is a major change requiring code refactoring and rewrite, it will be released with the next major version release (v3.0).

arkrow commented 1 year ago

Update: fixed in v3.0.0 thanks to a re-implementation of playback using python sounddevice, which has better cross-platform compatibility and does not rely on external libraries like mpg123