There is a slight problem in my household since we first stumbled across MediaPortal. Using the TV as a TV is no longer the norm, my g/f and child fight like cat and dog over My Tetris while I'm always trying to read blogs and news through My News. To try and overcome this and restore the TV to its rightful task I've written a plugin that launches fullscreen TV in the background on startup.
The plugin can be found here. I have no interest in developing this plugin any further so you can get the source from here if you wish to change the behaviour of the plugin.
It is not possible to immediately start TV via a plugin, that's something that would require changes to the app itself and something I'm sure the devs will implement when the time comes. One of the latter calls in the startup process starts the recording engine which caused problems in an earlier version of the plugin, besides, for me recording should get priority so I left it alone. Bear this in mind when specifying a delay (see next below).
The following can be used in mediaportal.xml to specify this delay and specify the default channel:
The default delay is 15 seconds, values can be 1 thru 90. If no default channel is specified then it uses the last selected channel. If the last selected channel is not specified then the plugin does not attempt to start showing TV. You do not need to add the above to mediaportal.xml to use the plugin.
The plugin is a process plugin so should be extraced to your plugins\process folder.
And finally, has it solved the problem? Nope!!!
The plugin can be found here. I have no interest in developing this plugin any further so you can get the source from here if you wish to change the behaviour of the plugin.
It is not possible to immediately start TV via a plugin, that's something that would require changes to the app itself and something I'm sure the devs will implement when the time comes. One of the latter calls in the startup process starts the recording engine which caused problems in an earlier version of the plugin, besides, for me recording should get priority so I left it alone. Bear this in mind when specifying a delay (see next below).
The following can be used in mediaportal.xml to specify this delay and specify the default channel:
Code:
<section name="mytv">
...
...
<entry name="backgroundchannel">Sky News</entry>
<entry name="backgrounddelay">5</entry>
...
...
</section>
The default delay is 15 seconds, values can be 1 thru 90. If no default channel is specified then it uses the last selected channel. If the last selected channel is not specified then the plugin does not attempt to start showing TV. You do not need to add the above to mediaportal.xml to use the plugin.
The plugin is a process plugin so should be extraced to your plugins\process folder.
And finally, has it solved the problem? Nope!!!