- 积分
- 327
- 金钱
- 266
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 327
- 金钱
- 266
- HASS币
- 0
|
发表于 2019-10-11 17:42:52
|
显示全部楼层
一直报错
ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/zxl/homeassistant/custom_components/ha-cloud-music/media_player.py", line 164, in interval
if self.media_duration > 2 and self.media_duration - 2 <= self.media_position and self.next_count > 0:
File "/home/zxl/homeassistant/custom_components/ha-cloud-music/media_player.py", line 271, in media_duration
return self._media.attributes['media_duration']
KeyError: 'media_duration'
|
|