v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
@dantist: In fact, I'm sure what I've said above is what is happening.

In #0914 (which has fully working JSON-RPC without broken version numbers present in current builds), run "texturecache.py monitor" in one ssh window, and in a second ssh window get ready to run "texturecache.py status" (this executes the "Player.GetActivePlayers" query), and then in Kodi start playback of a video.

You will see the "Player.OnPlay" notification in the "monitor" window, and if you run the "status" query as soon as possible after the notification is received you will see:
Code:
Current Profile     : Master user
Scanning Music      : No
Scanning Video      : No
ScreenSaver Active  : No
Suspend Supported   : Yes
Idle Timer Enabled  : No
System Idle > 600s  : No
PVR Enabled         : No
Player              : None

ie. there is no active player, even though a "Player.OnPlay" notification has been issued and received, and it's this that causes Hyperion to fail because it doesn't believe there is an active video player.

If you now wait until the video is playing (video frames being rendered on display etc.) and re-run the "status" command you will see that there is an active video player:

Code:
Current Profile     : Master user
Scanning Music      : No
Scanning Video      : No
ScreenSaver Active  : No
Suspend Supported   : Yes
Idle Timer Enabled  : No
System Idle > 600s  : No
PVR Enabled         : No
Player              : Video
Activity            : Unknown
Title               : kodi.mp4
Progress            : 00:01:27 (4.46%, 00:31:14 remaining)

Repeat the above in #0913 and there will always be an active player in Kodi by the time the "Player.OnPlay" notification is issued/received.

A trac ticket is the best way to progress this.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2017-10-28, 23:06
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24