Posts: 60
Joined: May 2022
Reputation:
9
Hi,
There currently exists a bug in Kodi Android that prevents screenshots working, thus by extension this addon too. I plan to investigate this soon, the next update should hopefully work :-)
Posts: 91
Joined: Oct 2012
Reputation:
1
2023-02-22, 00:28
(This post was last modified: 2023-02-22, 00:29 by Ruckus. Edited 1 time in total.)
OAR = Original Aspect Ratio.
Posts: 685
Joined: Mar 2011
Reputation:
87
sarbes
Team-Kodi Member
Posts: 685
There is no bug. As discussed multiple times in this thread, it is not possible on Android and similar low-end devices.
Posts: 23
Joined: Jun 2013
Reputation:
0
Just tried it on coreelec 21 nightly and it doesn't zoom in unfortunately.
I got buttons mapped to zoom but would rather have it done automatically π Thank you anyway! π
Posts: 60
Joined: May 2022
Reputation:
9
Could you try with hardware acceleration turned off and see if it works?
Posts: 23
Joined: Jun 2013
Reputation:
0
2023-05-16, 18:32
(This post was last modified: 2023-05-16, 18:36 by borygo77. Edited 1 time in total.)
It does work without hardware acceleration π
You can see script notification that it zoomed the video. But it's not possible to watch anything without it... Too weak to use software acc...
2023-05-16 17:24:52.002 T:28776 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'IndexError'>
Error Contents: bytearray index out of range
Traceback (most recent call last):
File "/storage/.kodi/addons/script.black.bars.never/addon.py", line 38, in onAVStarted
self.abolishBlackBars()
File "/storage/.kodi/addons/script.black.bars.never/addon.py", line 121, in abolishBlackBars
aspectratio = self.GetAspectRatioFromFrame()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.black.bars.never/addon.py", line 95, in GetAspectRatioFromFrame
__middleScreenDark = self.LineColorLessThan(
^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.black.bars.never/addon.py", line 67, in LineColorLessThan
_bArray[i] &= 0x00
~~~~~~~^^^
IndexError: bytearray index out of range
-->End of Python script error report<--
This is when it failed.
Posts: 60
Joined: May 2022
Reputation:
9
2023-06-18, 15:45
(This post was last modified: 2023-06-18, 15:46 by osumoclement. Edited 2 times in total.)
It works on Android based systems if you disable hardware acceleration. The caveat is that you will now be using CPU to decode the media, and playback may be impacted to the point of being unwatchable. Also in my experience, HDR doesn't work unless hardware acceleration is turned on.
Your suggested solution does not work for hard coded black bars - it appears to work perfectly probably because Netflix doesn't have hard coded black bars (meaning its videos are simply widescreen).
However, your post has given me an idea that is so outrageous it just might work as a workaround for Android π