question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ambilight don't work and Theater don't undimm in Android TV (Nvidia Shield)

See original GitHub issue

So when i force the hue_ip to avoid #37 the ambilight mode don’t work. When a playback starts the lights turn red and/or blue and never changes again. The theater mode starts working, but when the playback pauses/stop don’t undimm to previous state. This is the onlye error i get:

> 11:52:41.204 T:138410161232   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'MyPlayer' object has no attribute 'playlistpos'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.kodi.hue.ambilight/default.py", line 138, in onPlayBackEnded
                                                if self.playlistpos < self.playlistlen-1:
                                            AttributeError: 'MyPlayer' object has no attribute 'playlistpos'
                                            -->End of Python script error report<--

I try with SPMC (and branch v16), Kody17.0, Kody17.1 RC1 and always the same…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sungolfercommented, Mar 18, 2017

That fix worked for me too.

0reactions
tfraleycommented, Jun 5, 2017

Thank you for the reply. I found it, I was looking in the wrong location It was under the player section.

Working well now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Philips Hue Lights + Shield TV to make ambilight - Reddit
Hello guys, I own some bulbs from Philips Hue and I'd like to make an ambilight setup were my lights are synced to...
Read more >
GitHub - mpolednik/script.kodi.hue.ambilight
If you only want some of the lights to undim during pause, it is possible to configure "subgroup" in add-on settings -> Theater...
Read more >
Why HDR Looks Too Dark on Your TV, and How to Fix It
Certain presets may dim the entire image to keep black levels as deep as possible, which is not necessary in a well-lit room....
Read more >
USB AMBILIGHT for SMART TVS (No Raspberry PI) feat ...
Finally got an Android TV Ambilight Prototype which just works with USB! Now its time to do the software part. No need for...
Read more >
Full Hyperion Ambilight Tutorial (TV Backlight) - YouTube
Several people have requested that I write a tutorial for my Hyperion Ambilight (Bias LIghting) setup and even though it took a whole...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found