Skip to content

Commit

Permalink
feature:don't complain when there is no image_url and a stream is p…
Browse files Browse the repository at this point in the history
…laying.
  • Loading branch information
bushvin committed Jan 11, 2024
1 parent de50c0c commit e845131
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/mopidy/speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def __get_track_image(self, uri=None):
image_url = self.expand_url(
self.current_track_extension, current_image[uri][0].uri
)
elif (self.queue[tlid].get("is_stream")):
image_url = None
else:
_LOGGER.warning("No image_url found for %s", uri)
image_url = None
Expand Down
6 changes: 6 additions & 0 deletions mopidy-CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.0] - 2024-01-11

### Changed

- don't complain when there is no `image_url` and a stream is playing.

## [2.2.2] - 2024-01-06

Happy New Year!
Expand Down

0 comments on commit e845131

Please sign in to comment.