Personal mod help - prevent video running in backround
#1
I hope anyone might be able to point me in the right direction, I am new to modding skins!

I run this skin on a Raspberry Pi 2, so an ok device but it sometimes struggles with a few things in this skin.

One of those is that if you are watching a video, and hit exit/return, the video continue in the backround.

Unfortunately this seems a little too much for the Pi2 CPU and it causes my system to freeze every time.

I want to modify the skin so the if I or anyone who uses it accidentally hits return/exit whilst a video is playing, it automatically hits the stop button on the video?

Does anyone have any ideas at all??

Thanks in advance!
Reply
#2
That sounds more like a keymap change than an adapting a skin. As an example, this should work for the Back function (on a remote). I'm not sure which key you need to assign with your RPi setup. Are you using a remote or a full keyboard?
xml:
<keymap>
<FullscreenVideo>
<remote>
<back>PlayerControl(Stop)</back>
</remote>
</FullscreenVideo>
</keymap>

Running a video in the background shouldn't freeze even an RPi device.
Have you double-checking the freezing while using the default Estuary skin?
Can you provide the debug log (wiki) file for some general information?
Reply

Logout Mark Read Team Forum Stats Members Help
Personal mod help - prevent video running in backround0