#17632 new Bugs

No active player, even though a "Player.OnPlay" notification has been issued

Reported by: dantist Owned by:
Priority: 4 - Normal
Component: Web Server / Web Interface / Web API / JSON-RPC Version: 18.0 "Leia" Alpha1
Severity: Normal Keywords:
Cc: Montellese Blocked By:
Blocking: Platform: All

Description (last modified by dantist)

I'm no Kodi- or Ticket-Expert, so I'm basically repeating what Milhouse said, who also suggested to create a ticket for this.

One of the following changes is causing a "timing" issue regarding the active player-state, causing my Hyperion Ambilight to fail because it always thinks there's no video playing:

  • VideoPlayer: make OpenFile asynchron (PR:12797, 2 commits, 11 files changed)
  • VideoPlayer: fix OnPlayBack callbacks (PR:12799, 2 commits, 3 files changed)

Here is Milhouses detailed description of the issue: https://forum.kodi.tv/showthread.php?tid=298461&pid=2660601#pid2660601 https://forum.kodi.tv/showthread.php?tid=298461&pid=2660617#pid2660617

I am also attaching a diffed Hyperion log output. On the left side is the working version before both Kodi changes, on the right side the broken one.

Attachments (1)

Bildschirmfoto 2017-10-25 um 17.51.00.png (142.6 KB) - added by dantist at 2017-10-29T08:43:49Z.
Hyperion log diff (working and non-working Kodi-versions)

Change History (4)

Changed at 2017-10-29T08:43:49Z by dantist

Hyperion log diff (working and non-working Kodi-versions)

comment:1 Changed at 2017-10-29T09:24:44Z by dantist

  • Description modified (diff)

comment:2 Changed at 2017-11-01T15:41:16Z by FernetMenta

  • Cc Montellese added

Player.OnPlay has always been the wrong event and only worked by chance. It may take some time until first frame gets out of decoder and renderer is configured. I have implemented a new event: https://github.com/xbmc/xbmc/pull/12964

Needs to be exposed via json-rpc

Last edited at 2017-11-01T15:41:42Z by FernetMenta (previous) (diff)

comment:3 Changed at 2017-11-01T15:43:05Z by FernetMenta

  • Component changed from Video playback (inc. audio in video and codecs) to Web Server / Web Interface / Web API / JSON-RPC
  • Owner FernetMenta deleted
Note: See TracTickets for help on using tickets.