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

Mpd support #56

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open

Mpd support #56

wants to merge 43 commits into from

Conversation

tramhao
Copy link
Contributor

@tramhao tramhao commented May 13, 2021

This support play music by mpd and can lower cpu usage during playing dramatically. When playing with beep, my gotop cpu usage of gomu is around 20%, but when use mpd, cpu usage of gomu is 2-3 percent, and mpd use another 3 percent.
You'll need to modify configuration to use it

# Backend music playing server, default is beep, mpd is optional
backend_server	= "mpd"
# mpd connect string
mpd_port	= "localhost:6600"

@issadarkthing
Copy link
Owner

This is cool! I will look at it

@tramhao
Copy link
Contributor Author

tramhao commented May 20, 2021

Problem with album photo:
When press skip continuously, following error message will appear:

[xgbutil] xwindow.go:326: BadWindow {NiceName: Window, Sequence: 395, BadValue: 44040219, MinorOpcode: 0, MajorOpcode: 4}

It seems that the album photo destory too fast. Trying to figure out how to fix it.

@tramhao
Copy link
Contributor Author

tramhao commented May 21, 2021

Problem with album photo:
When press skip continuously, following error message will appear:

[xgbutil] xwindow.go:326: BadWindow {NiceName: Window, Sequence: 395, BadValue: 44040219, MinorOpcode: 0, MajorOpcode: 4}

It seems that the album photo destory too fast. Trying to figure out how to fix it.

should be fixed now.

@tramhao
Copy link
Contributor Author

tramhao commented May 21, 2021

Please don't merge it, have some serious problems.

@tramhao
Copy link
Contributor Author

tramhao commented May 25, 2021

Seems working now.

@tramhao
Copy link
Contributor Author

tramhao commented May 28, 2021

In order to fix data race, a lot of getters and setters are used. Any suggestion for improvement?

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

Successfully merging this pull request may close these issues.

2 participants