Closed alvarolcn closed 8 years ago
Maybe you can try to get the duration from metadata and then, make you own countdown counter.
In fact i need to trigger an event when the duration metadata is loaded, and i am achieving this using onDurationChanged in desktop mode.
Build 5.2.1 should include the signal. Reopen if needed.
I have just made a simple program using PiomxTextures. I need to know current media duration in order to trigger an event and this attribute changes asynchronously, so in desktop mode i am using onDurationChanged to dispatch event. But this is no longer working in Piomxtextures.
MediaPlayer { id: player autoPlay: false onDurationChanged: { console.log('Duration changed: ' + player.duration) console.log('Finish early') timer.interval = (player.duration - 1200) timer.start() }