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

可以接入HASS播放,就是没声音 #53

Closed
hxfdean opened this issue Dec 28, 2020 · 6 comments
Closed

可以接入HASS播放,就是没声音 #53

hxfdean opened this issue Dec 28, 2020 · 6 comments

Comments

@hxfdean
Copy link

hxfdean commented Dec 28, 2020

大佬,我按文档接入了hass,云音乐标签可以搜索,可以选歌播放,登陆也正常,但是播放没有声音。
我是在hass的树莓派上运行的云api服务,和hass是同一台机器。
异常点在于hass的 “概览” 标签界面的“云音乐”卡片点开右上角三个点,只有“详情”和“历史”两个按钮,点击设置齿轮出现:该实体 ("media_player.yun_yin_le") 没有唯一的 ID,因此无法由 UI 管理其设置。请参阅 文档 以详细了解。 也就是说没有选择播放器的选项,音量调节,进度条等,也没有语音助手等 B站视频演示的那些东西。
求救求救,最后一步就成功,麻烦大佬拯救下。
感谢,感谢,感谢!

以下是我configation配置

media_player:

  • platform: ha_cloud_music
    api_url: 'http://localhost:3000'
    sidebar_title: 云音乐
    sidebar_icon: mdi:music
    show_mode: fullscreen
    uid: 414728269
    user: 1872*******
    password: d*******
    tts_before_message: '主人:'
    tts_after_message: '。我是你的家居管家!'
    tts_mode: 4
    is_voice: true
    is_notify: true
    is_debug: true
    mpd_host:
@maomao1996
Copy link
Owner

maomao1996 commented Dec 28, 2020 via email

@hxfdean
Copy link
Author

hxfdean commented Dec 28, 2020

感谢大佬,控制台没有报错,进度条时间也正常走,但是不知道为什么,没有声音出来,上面说的选择播放器界面出来了,是没有清空缓存刷新导致的,但是,还是没有声音,试了从mpd播放,mpd的服务端也能看见有新的mpd客户端链接,但是还是放不出声。。
顺便问下大佬,网页端怎么播放歌曲啊?

@hxfdean
Copy link
Author

hxfdean commented Dec 28, 2020

hass 就是 Home Assistant,我的错,偷懒了

@maomao1996
Copy link
Owner

maomao1996 commented Dec 28, 2020 via email

@corbettbain
Copy link

楼主解决这个问题了 吗 , 同样遇到这个问题

@maomao1996
Copy link
Owner

楼主解决这个问题了 吗 , 同样遇到这个问题

没有解决 0.0

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

3 participants