Giter Site home page Giter Site logo

jtbgroup / kodi-playlist-card Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 746 KB

This repository is used to contain the code of a kodi playlist card for Home Assistant and publish it via HACS

License: MIT License

JavaScript 5.26% TypeScript 94.74%
home-assistant home-assistant-frontend home-assistant-hacs homeassistant kodi

kodi-playlist-card's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

kodi-playlist-card's Issues

Kodi Playlist Card

hi there, i installed the media sensor bundle (latest) and except for "Kodi Playlist Card" all works ell.
for the "Kodi Playlist Card" i only get a black small window.

  • reinstalled several times
  • double checked the config
  • what i saw is that the card isn't loading in my frontend (always a circle spinning).
  • running on :
    Version | core-2021.7.2
    -- | --
    Installation Type | Home Assistant OS
    Development | false
    Supervisor | true
    Docker | true
    Virtual Environment | false
    Python Version | 3.9.5
    Operating System Family | Linux
    Operating System Version | 5.9.16

Card not showing

The card is not showing up anymore in Lovelace

Latest HomeAssistant & LibreELEC versions

I only just noticed, but I assume it has to do with one of the latest updates? I can't find anything in the logs about it

Dashboard refresh when there is a playlist

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

Whenever I start a smart playlist in Kodi, any dashboard that has the playlist card will cause a whole-page refresh. I can see the whole page being drawn, including the playlist items on the playlist, then bam, refresh. Infinite loop too.

This does not happen when the card is empty because Kodi is off, or there is no playlist active.

I can't get any logs from the Web Developer inspector / console because I can't stop the browser from refreshing. Profoundly sorry I don't know how to give you more details.

What version of a card has described problem?

4.4.2

What was the last working version card?

I don't know but this wasn't happening a week ago

What browser (browsers/apps) does have this problem?

Happens in Safari, Android WebView and Firefox

What version of Home Assistant do you use?

2023.01

What type of installation are you running?

Home Assistant Core

Card's configuration

type: custom:kodi-playlist-card
              entity: sensor.kodi_media_sensor_playlist
              show_thumbnail: true
              show_thumbnail_border: false
              show_thumbnail_overlay: true
              show_line_separator: false
              hide_last_line_separator: false
              outline_color: var(--primary-text-color)
              items_container_scrollable: true
              items_container_height: 300px


### Javascript errors shown in the browser's console (if applicable)

```shell
Help me!  How can I stop refresh so I can get you an error message?

Additional information

No response

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.