Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

player.py#L282 这行会假死,需要做超时判断 #929

Open
moomiji opened this issue Sep 19, 2021 · 1 comment
Open

player.py#L282 这行会假死,需要做超时判断 #929

moomiji opened this issue Sep 19, 2021 · 1 comment

Comments

@moomiji
Copy link
Contributor

moomiji commented Sep 19, 2021

stroutlines = self.popen_handler.stdout.readline()

现象:#864 #920

@moomiji moomiji changed the title player.py#L282 这行会假死,需要做超时判断来kill mpg123 player.py#L282 这行会假死,需要做超时判断,或提前kill mpg123 Sep 19, 2021
@moomiji moomiji changed the title player.py#L282 这行会假死,需要做超时判断,或提前kill mpg123 player.py#L282 有些歌播完后这行会假死(现象同#864),需要做超时判断,或提前跳出循环结束播放 Sep 19, 2021
@moomiji moomiji changed the title player.py#L282 有些歌播完后这行会假死(现象同#864),需要做超时判断,或提前跳出循环结束播放 player.py#L282 这行会假死,需要做超时判断 Sep 27, 2021
@moomiji
Copy link
Contributor Author

moomiji commented Sep 27, 2021

临时解决方法:

  1. 手动kill mpg123
  2. 提前跳出循环结束播放,避免播放完成的假死,但播放中的假死无法避免,个人的修改见:https://github.com/moomiji/musicbox/tree/personal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant