2018-04-12, 19:30
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?
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?