Posts: 16
Joined: Jul 2013
Reputation:
0
2013-10-03, 14:14
(This post was last modified: 2013-10-08, 23:09 by Montellese.)
When the player is stopped, and I send a Player.Open message via JSON, or play via a click in XBMC, I get 2 "Player.OnPlay" notifications (about 100-300 milliseconds apart)
When I send a play message while the player is active, I only get 1 notification.
Am I doing something wrong? What happens in your case?
It would be important to me, because I want to know wheter the user selected a file to play, or it was selected via my application.
Thanks.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
What version of XBMC are you using. IIRC this problem was fixed a while ago but I'm not sure in which version.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 16
Joined: Jul 2013
Reputation:
0
It's V12.2 Frodo . Seems like the last version.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Hm I just tried it with XBMC 12.2 and for videos I always only get a single Player.OnPlay independent of whether I start playback through the GUI or JSON-RPC. For music however I get two Player.OnPlay notifications.
Then I ran the same tests with the current development version and there it works perfectly fine for both videos and music so it has already been fixed you just need to wait for the next stable version (or grab a (less stable) nightly / monthly build).
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 16
Joined: Jul 2013
Reputation:
0
Thank you, will wait for the next release!