We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Listening to a song without album or a cover art lets the MQTT update code fail because a expected key is missing within the data:
ERROR:chromecast:command CastMediaStatus(status=<MediaStatus {'metadata_type': 3, 'title': "xxx", 'series_title': None, 'season': None, 'episode': None, 'artist': 'xxx', 'album_name': '', 'album_artist': 'xxx', 'track': None, 'subtitle_tracks': {}, 'images': [MediaImage(url=None, height=0, width=0)], 'supports_pause': True, 'supports_seek': True, 'supports_stream_volume': True, 'supports_stream_mute': True, 'supports_skip_forward': False, 'supports_skip_backward': False, 'current_time': 0.591299, 'content_id': 'xxx', 'content_type': 'audio/mpeg', 'duration': 272.79200000000003, 'stream_type': 'BUFFERED', 'idle_reason': 'INTERRUPTED', 'media_session_id': 37, 'playback_rate': 1, 'player_state': 'BUFFERING', 'supported_media_commands': 207, 'volume_level': 1, 'volume_muted': False, 'media_custom_data': {}, 'media_metadata': {'metadataType': 3, 'title': "xxx", 'albumName': '', 'albumArtist': 'xxx', 'artist': 'xxx', 'images': [{'height': 0, 'width': 0}]}, 'current_subtitle_tracks': []}>) failed Traceback (most recent call last): File "/home/x/PycharmProjects/chromecast-mqtt-connector/handler/adapter.py", line 204, in _worker self._worker_cast_media_status(item.status) File "/home/x/PycharmProjects/chromecast-mqtt-connector/handler/adapter.py", line 389, in _worker_cast_media_status image_filtered = image["url"] KeyError: 'url'
The text was updated successfully, but these errors were encountered:
#10 fix exception if no album art url given
bb657a4
Merge pull request #12 from nohum/#10-album-art-missing-error
0e1fa4b
nohum
No branches or pull requests
Listening to a song without album or a cover art lets the MQTT update code fail because a expected key is missing within the data:
The text was updated successfully, but these errors were encountered: