Skip to content

Commit

Permalink
fix:wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bushvin committed Jan 12, 2024
1 parent e845131 commit 6d4afc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/mopidy/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"requirements": [
"mopidyapi>=1.1.0"
],
"version": "2.2.2",
"version": "2.3.1",
"zeroconf": [
{
"type": "_mopidy-http._tcp.local."
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mopidy/speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ 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")):
elif (self._current_track_is_stream):
image_url = None
else:
_LOGGER.warning("No image_url found for %s", uri)
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.1] - 2024-01-12

### Fixed

- wrong value for `is_stream`

## [2.3.0] - 2024-01-11

### Changed
Expand Down

0 comments on commit 6d4afc2

Please sign in to comment.