Kodi Community Forum

Full Version: Playing an audio in between video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to play audio files at certain time. If the video was playing, I want to pause the video, play the audio and then resume the video.
I could not find a way to achieve this.

One way I am thinking of doing is:
Check if video is playing. If so, store the file name and position. (How to get this information?)
Stop player.
Play audio file.
Start player with stored file name and seek to the position.

Is there any better way to do this?