Kodi Community Forum

Full Version: start playback paused until buffer is filled?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't work out if it is possible to start a stream paused from python.

I want to start and pause a stream until the buffer is reasonably full enough to play smoothly while the server spins up its hard disks.

The xbmc.Player().pause() method toggles play/pause so if you call it before a stream has been resolved it won't pause.

The onPlayBackStarted() method triggers before the stream is actually playing.

I spotted the new OnAVStarted method from Razzeee. Maybe that will work?