Skip to content

Commit

Permalink
Hotfix to patch duplicate mpg123 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
arkrow committed Jan 12, 2023
1 parent a7c2966 commit 7ba1bf2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ This project started out as a fork of [Nolan Nicholson](https://github.com/Nolan

## Version History

- v2.5.2 Hotfix for v2.5.1's redundant mpg123-related error message
- v2.5.1 Added workaround for libsndfile mp3 loading issue; fixed error handling when no loop points were found, when audio has not been loaded or when mpg123 is unavailable.
- v2.5.0 Added option to print loop points to terminal STDOUT (contributed by Coolsonickirby). Project relicensed to MIT license as of v2.5+.
- v2.4.0 Temporarily disabled preserve_tags features to resolve dependency installation issues; pending re-implementation.
Expand Down
2 changes: 1 addition & 1 deletion pymusiclooper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
# coding=utf-8

__version__ = "2.5.1"
__version__ = "2.5.2"
1 change: 0 additions & 1 deletion pymusiclooper/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ def play_looping(self, loop_start, loop_end, start_from=0):
out.start(self.rate, self.channels, ENC_FLOAT_32)
except Exception as e:
logging.error('An issue related to the mpg123 library for playback has occured. If it is not installed/functional, alternatively use the export fucntionalities such as --export . See ` pymusiclooper --help ` for a full list of options.')
logging.error(e)
return

playback_frames = librosa.util.frame(self.playback_audio.flatten(order="F"), frame_length=2048, hop_length=512)
Expand Down

0 comments on commit 7ba1bf2

Please sign in to comment.