![]() |
Two active players simultaneously - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Two active players simultaneously (/showthread.php?tid=373389) |
Two active players simultaneously - brunoudi - 2023-06-04 I have a application where I need to display a picture constantly, and when requested play a specific video. To show the picture, I use a "Player.Open" command and it works perfectly. When I want to play a video, I use another "Player.Open" and it also works perfectly. My problem is the video plays behind the picture. I keeping seeing the static picture. If I send a command "Player.GetActivePlayers", I receive these answer:
1 - Is there any command like "Player.Show/Hide Player ID"? 2 - I tried to Stop the playerid 2 (the picture), but it stop's the playerid 1 together - looks like a bug to me. 3 - If I play a video first and then play the picture, it stops the video player and keeps only the picture player. If the opposite would be the same, it would also be a solution. (Play the picture, and when play the video it stops the picture player - it doesn't happen) RE: Two active players simultaneously - DaVu - 2023-09-03 While starting the picture you should have one playerID active. Is that correct? I'm not sure if you use a script or simply firing some commands. While using a script you could make sure that there's always only a single player active and stop the one before starting the other. Would that be a solution? |