Coder Social home page Coder Social logo

Comments (7)

nagyrobi avatar nagyrobi commented on July 19, 2024 1

Please update to the latest release 2.0.41 and test again.

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024 1

Thank you.

from home-assistant-custom-components-linkplay.

blavak68 avatar blavak68 commented on July 19, 2024

its the same for me

This error originated from a custom integration.

Logger: homeassistant.helpers.entity
Source: custom_components/linkplay/media_player.py:1826
Integration: Linkplay (documentation, issues)
First occurred: 12:06:01 (2 occurrences)
Last logged: 12:06:11

Update for media_player.wifi_baam_speaker_1 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 487, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 691, in async_device_update
    raise exc
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/linkplay/media_player.py", line 2268, in update
    self._update_from_icecast()
  File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 195, in wrapper
    result = method(*args, **kwargs)
  File "/config/custom_components/linkplay/media_player.py", line 1826, in _update_from_icecast
    import chardet
ModuleNotFoundError: No module named 'chardet'

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

With 2 HA installations couldn't reproduce this.
Can you please edit your custom_components/linkplay/manifest.json file to look like below:

"requirements": [
"uPnPClient~=0.0",
"validators~=0.12",
"chardet>=4.0.0"
],

And restart your HA instance.

from home-assistant-custom-components-linkplay.

bartekkw avatar bartekkw commented on July 19, 2024

Hi!
This entry was missing in my config file:
"chardet>=4.0.0"

After adding it and restarting HA my play / pause works as expected (refreshes) and I can again see music covers and music info in my mini media player :) No more such errors in log file. Thank you so much for helping with this annoying issue!

from home-assistant-custom-components-linkplay.

bartekkw avatar bartekkw commented on July 19, 2024

I have deleted this line, updated to 2.0.41 and I confirm that it works!

from home-assistant-custom-components-linkplay.

blavak68 avatar blavak68 commented on July 19, 2024

Thank you.

I confirm that it works!

from home-assistant-custom-components-linkplay.

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.