home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Autostart TV plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Smirnuff" data-source="post: 11462" data-attributes="member: 10545"><p>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.</p><p></p><p>The plugin can be found <a href="http://www.netpoint-it.co.uk/lee/mp/mybackgroundtv.zip" target="_blank">here</a>. I have no interest in developing this plugin any further so you can get the source from <a href="http://www.netpoint-it.co.uk/lee/mp/mybackgroundtv_src.zip" target="_blank">here</a> if you wish to change the behaviour of the plugin.</p><p></p><p>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).</p><p></p><p>The following can be used in mediaportal.xml to specify this delay and specify the default channel:</p><p></p><p>[code]</p><p> <section name="mytv"></p><p> ...</p><p> ...</p><p> <entry name="backgroundchannel">Sky News</entry></p><p> <entry name="backgrounddelay">5</entry></p><p> ...</p><p> ...</p><p> </section></p><p>[/code]</p><p></p><p>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.</p><p></p><p>The plugin is a process plugin so should be extraced to your plugins\process folder.</p><p></p><p>And finally, has it solved the problem? Nope!!! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /></p></blockquote><p></p>
[QUOTE="Smirnuff, post: 11462, member: 10545"] 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 [url=http://www.netpoint-it.co.uk/lee/mp/mybackgroundtv.zip]here[/url]. I have no interest in developing this plugin any further so you can get the source from [url=http://www.netpoint-it.co.uk/lee/mp/mybackgroundtv_src.zip]here[/url] 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> [/code] 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!!! :oops: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Autostart TV plugin
Contact us
RSS
Top
Bottom