MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » other features (of release or svn versions) » Support


Support Problems which do not belog to any other main features

Reply
 
Thread Tools Display Modes
Old 2007-10-02, 02:31   #1 (permalink)
Portal User
 
ChrisJ's Avatar
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Interesting thought of native feature for MP

I'm very new to this place, and I must say, I'm very astonished how Media Portal put every commercial software to shame. I'm talking to you, "Beyond TV."

I set it up in a hurry, surprized at the fact it only took maybe 15 minutes with the infamous Hauppauge HVR 1600 (74440070.)

It runs on its own dedicated user account under XP Pro, all other settings modified to reduce startup programs, moving HKLM to services fired through local user startup, per user via startup folder (Note that this might cause a security risk to those concerned.) Hint: By moving these changes to documents and setings/default user, each new user will not need to be set up again. The account running Media Portal has this little bit of WSH VB in startup:

Mind you, I've been called a lazy scripter, and redundantly added a few things that could be better off using MP existing options ... this is just a WIP anyway.

Code:
Set wShell = WScript.CreateObject ("WScript.Shell")

' =====================================================================
' This will kill Windows Explorer, needs XP PRO (NOT HOME) to work
' May sometimes crash active desktop when account logs back in later
' =====================================================================

' wShell.Run "TASKKILL /F /IM EXPLORER.EXE", 0


' =====================================================================
' Run IR receiver daemon for Hauppauge remotes
' =====================================================================

wShell.Run "D:\WinTV\Ir.exe /QUIET"


' =====================================================================
' Run Media Portal
' This must be done vs. using MP 'start with windows' option.
' Additional tasks will be ran when MP exits.
' =====================================================================

wShell.CurrentDirectory="D:\TeamMe~1\MediaPortal\"
wShell.run "MediaPortal.exe", 1, true


' =====================================================================
' Check for guide updates after shutdown ... WIP for scheduling, will do a better job later
' =====================================================================

' wShell.CurrentDirectory="D:\TeamMe~1\MediaPortal\XMLTV\"
' wShell.popup "TV Guide data must update. This may take a few moments.", 5, "TV Guide", 64
' wShell.run "xmltv.exe tv_grab_na_dd --days 7 --output tvguide.xml", 0, true

' =====================================================================
' Log off user account
' =====================================================================

wShell.run "Shutdown -l", 0
Sorry for deviating from the point for a second ... what I was taking notice to, would be to get MP to not generate shortcuts for the all users desktop, and perhaps an option to log the user account off when it's powered off. These would merely be helpful for those who heavily use a shared pc. I suppose it would be wise I go back and let it autostart system-wide so as to not miss any recordings Also, cheers to the startup time vs. that which previous BTV users suffered.

Thanks,
Chris.
ChrisJ is offline   Reply With Quote
Reply

Bookmarks

Tags
feature, interesting, native, thought

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MCE Standby Tool 0.9.69: native MP support hveijk MediaPortal 1 Talk 119 2008-05-08 22:40
My Experience with Mac Mini (native + XP), OSX, MP... jcee Ongoing HTPC Projects 3 2007-09-26 12:24
What native resolution is you main display connected to MP? knutinh Skins 11 2006-07-08 22:27
MP need to have native support for this kevon27 General Support 1 2006-04-23 21:47
A Thought Occured To Me jb2uk HTPC Projects 2 2006-02-28 21:27


All times are GMT +1. The time now is 05:18.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden