Coder Social home page Coder Social logo

pyemby's Issues

Home Assistant - Emby integration not responding

Home assistant Emby integration finds and shows the available media_players but you are not able to control it. All buttons are not working: play, pause, volume, and track location.

You are able to press all buttons but nothing happens.

Using Home assistant core-2021.10.4

'NoneType' object is not subscriptable

Within home-assistant, the current status of a jellyfin instance is not updated. The logs show the following:

ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pyemby/server.py", line 287, in socket_connection
    self.process_msg(msg.data)
  File "/usr/local/lib/python3.8/site-packages/pyemby/server.py", line 319, in process_msg
    self.update_device_list(self._sessions)
  File "/usr/local/lib/python3.8/site-packages/pyemby/server.py", line 342, in update_device_list
    dev_name, device['NowPlayingItem']['Type'],
TypeError: 'NoneType' object is not subscriptable

This looks to me like an issue in pyemby, perhaps just some mapping, or is this an issue by jellyfin not implementing the API correclty?

This has been reported in home-assistant/core#38501

Question about User

Is it possible to add/edit Users with this API Wrapper? Or have i to do the methods for this myself?
Could you lead me in the right direction?

Thank you :)

Support Jellyfin?

Would it be possible for this client to be able to support the Jellyfin project as the fully open source fork it would be nice to continue to use a pre-existing opensource python library.

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.