Interesting thought of native feature for MP (2 Viewers)

ChrisJ

New Member
September 30, 2007
2
0
Home Country
United States of America United States of America
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 :mad: Also, cheers to the startup time vs. that which previous BTV users suffered.

Thanks,
Chris.
 

Users who are viewing this thread

Top Bottom