SUMMARY
This code patch attempts to implement a missing autoplay feature to recent versions of Dolphin file browser, for media files (videos and audio files).
TODO
As commented in the code, there are several issues which should be targeted. They are:
1) Autoplay starts (related to qtimer) even if the target file has changed before the timer has run out
2) Stop/destroy the media file preview once user does not highlight the specific item/Dolphin main window or use the window
And alternatively, these two, too (the 4th part is not described in the code) as toggleable features?
3) On/Off feature: Limit autoplay depending on file type. Autoplay should only apply to audio files, exclude video files. Handy for large movie files which do not probably need a preview feature.
4) On/Off feature: Limit autoplay by file size. Idea here is to limit the autoplay to apply only for small media files (such as desktop effect sounds) and exclude big media files such as music tracks.