Giter Site home page Giter Site logo

大佬,集成后广播可以播放,TTS语音正常,就是没法播放网易云api的歌曲,网易云api这边控制台一切正常 about cloud_music HOT 3 CLOSED

hxfdean avatar hxfdean commented on August 12, 2024
大佬,集成后广播可以播放,TTS语音正常,就是没法播放网易云api的歌曲,网易云api这边控制台一切正常

from cloud_music.

Comments (3)

shaonianzhentan avatar shaonianzhentan commented on August 12, 2024

大佬,集成后广播可以播放,TTS语音正常,就是没法播放网易云api的歌曲,全部都是走进度条,没有声音出来。网易云api这边控制台一切正常,这是怎么回事?望搭救

一般出现这种情况,都是你自己配置的问题,好好看日志细心检查一下,为什么接口不通?是服务没起来?还是服务被隔离了?

from cloud_music.

singer1860 avatar singer1860 commented on August 12, 2024

Logger: homeassistant
Source: custom_components/ha_cloud_music/api_music.py:444
First occurred: 下午2:13:54 (5 occurrences)
Last logged: 下午2:27:19

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/ha_cloud_music/api_voice.py", line 103, in text_event
await self.api_music.play_list_hotsong(_name)
File "/config/custom_components/ha_cloud_music/api_music.py", line 444, in play_list_hotsong
if obj['code'] == 200:
TypeError: 'NoneType' object is not subscriptable
大佬,无法在线搜索听歌,其它都正常。日志代码奉上

from cloud_music.

shaonianzhentan avatar shaonianzhentan commented on August 12, 2024

Logger: homeassistant
Source: custom_components/ha_cloud_music/api_music.py:444
First occurred: 下午2:13:54 (5 occurrences)
Last logged: 下午2:27:19

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/ha_cloud_music/api_voice.py", line 103, in text_event
await self.api_music.play_list_hotsong(_name)
File "/config/custom_components/ha_cloud_music/api_music.py", line 444, in play_list_hotsong
if obj['code'] == 200:
TypeError: 'NoneType' object is not subscriptable
大佬,无法在线搜索听歌,其它都正常。日志代码奉上

首先先确定接口服务是否正常,如果没问题,再升级到最新版本试试
一般都是接口服务没有正常部署的问题,我已经被问过无数次了

from cloud_music.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.