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

fix: #21 使用 player_play_music 接口,兼容部分不能播放的设备 #33

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

hanxi
Copy link
Collaborator

@hanxi hanxi commented Jun 22, 2024

兼容了 _type = 1 时亮灯, _type = 2 时不亮灯。

@yihong0618
Copy link
Owner

Thanks will take a look tonight

miservice/minaservice.py Outdated Show resolved Hide resolved
audio_type = ""
if _type == 1:
# If set to MUSIC, the light will be on
audio_type = "MUSIC"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any suggestion?

miservice/minaservice.py Outdated Show resolved Hide resolved
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