MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-01-09, 18:01   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default A perfect HTPC with MP & PVR Scheduler & faster XP

How to setup a perfect HTPC with MediaPortal and PVR Scheduler

This is my configuration of my HTPC with following features:

- Live TV and Timeshifting
- TV Recording
- Schedule recordings in the MediaPortal EPG
- Schedule recordings on the web. I prefer tvinfo.de, but you can also use tvtv
- Watching DVD and SVCD
- Playing CD, MP3
- HTPC gets woke up from S5 mode ( the PC is off ) for recording
- HTPC gets woke up from S5 mode ( the PC is off ) for sync
- HTPC gets woke up from S5 mode ( the PC is off ) on modem ring
- MediaPortal gets started for recording even when it's not running

Short explanation of the power states:
S3 - Suspend-to-RAM (STR) = Standby in Windows XP
S4 - Suspend-to-Disk (STD) = Hibernate in Windows XP
S5 - Soft-Off. = Shutdown in Windows XP

My HTPC system:

P3-S 1133@1133@1,1V passive
ASUS TUSL2-M
256MD SD-RAM
Hauppauge PVR350
Creative Soundblaster
MSI FX5200LE
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)

Here is what you need to get a smoothly running HTPC. Install the software in this order:

MS .NET Framework 2
http://www.microsoft.com/downloads/d...DisplayLang=en

MediaPortal 2.0 RC2
http://sourceforge.net/project/showf...ease_id=379214

NVIDIA PureVideo Decoder
http://www.nvidia.de/object/dvd_decoder_de.html

PVR Scheduler 1.3.9
http://www.pvr-scheduler.de


Setup MediaPortal:

For me the best decoder is the NVIDIA PureVideo Decoder. I use this decoder for playing DVD, movies and for the Hauppauge PVR350. I also made a couple experiments with the Intervideo Codec, DScaler and the internal MP codes. I got by far the best results with the NVIDIA Decoder and with also the less cpu usage. First of all make the general configuration of MediaPortal with the MediaPortal Configuration Wizzard. This one will be started when you start the MediaPortal setup for the first time. I think that I don’t need to say more because this one is almost self explaing. After that I made the following changes in the MediaPortal setup:











The next step is to configure your TV card. I think everybody knows how to do this. I just need to restore my TV Channels that I have configured in one of the previous MP version. You should backup your channels once, then you don’t need to make the channel scan any more.



This is actually all what you have to do, to get a smoothly running MediaPortal on a 24h running system.
But my HTPC shouldn’t run all day long, so I use the PVR Scheduler, that my HTPC gets switched on and off for the right time. It does the following:

- Starts my HTPC for recording
- Shuts my HTPC down after recording, but not when I’m watching something
- Start MediaPortal for recording. PVR Scheduler is recording as Windows service, that means it's always running.
- Updates the tvguide.xml at certain times. It wakes up the computer, runs the updater program and enters standby mode again.
- Gets the data from the online EPG like TVinfo or TVTV and schedules a recording in MediaPortal.
- I can also start my HTPC by a phone call. Then PVR Scheduler tries to get any scheduled recording from TVinfo/TVTV and shuts my HTPC down again.

For these feature you need to install PVR Scheduler with MediaPortal support. When you start the PVR Scheduler GUI for the first time you need to make sure that MediaPortal and PVR Scheduler works together. This is probably the most difficult step, because the Windows XP or another firewall might block certain HTTP/TCP ports:



The next step is to import all channels to PVR Scheduler. PVR Scheduler will also get the MediaPortal recordings even when it doesn’t know this channel. But you need to configure the channels when PVR Scheduler is supposed to schedule a recording for MediaPortal, like from TVinfo/TVTV. You can configure your channels in Settings->Options->Channels. If you want to use TVinfo/TVTV then you also need to enable this in Settings->Options->EPG.



You can configure PVR Scheduler for MediaPortal in Settings->Options->MediaPortal / TVcentral / myHTPC



Active
This enables the synchronization between MediaPortal and PVR Scheduler.

Auto Sync MediaPortal
When this is enabled, PVR Scheduler also synchronizes with MediaPortal in certain time steps. This is just a security synchronization and don’t need to be enabled. PVR Scheduler gets automatically be synchronized as long as the PVR Scheduler Plugin is enabled.

Shutdown/Standby only when in HomeScreen
When this is enabled, PVR Scheduler can only put the computer into standby mode, when MediaPortal is in the HomeScreen or is not running at all.

No Shutdown/Standby when recording
PVR Scheduler does not shutdown when MediaPortal is recording. Actually this will never happen, because PVR Scheduler is always supposed to know when MediaPortal will record something. So it can be disabled.

No Shutdown/Standby when in Fullscreen
PVR Scheduler does not shutdown when you are in the TV Fullscreen or Movie Fullscreen. Your HTPC will not be shutdown after a recording when you are still watching TV.

No Shutdown/Standby when TV enabled
PVR Scheduler does not shutdown when TV is on. Your HTPC will not be shutdown after a recording when you are still watching TV.

Close MediaPortal before Standby
This will close MediaPortal before PVR Scheduler puts the computer into standby mode.

Disable TV before Standby
Tries to disable TV in MediaPortal before Standby. This is not recommend. If you have any issues you should rather close MediaPortal before Standby.

Start MediaPortal on Resume
This will start MediaPortal again after standby mode, when the PVR Scheduler closed MediaPortal before standby mode.

Always
This has to be used in combination with Start MediaPortal on Resume and it will start MediaPortal on resume even when the computer entered standby mode manually.


You also should make the right settings in the general tab. Usually you can use the default configuration. In the following picture you can see my configuration. I’m using the RTC Alarm to wake up my HTPC. The RTC Alarm is not supported for every motherboard. This can be configured in CMOSTimerConfig. This is pretty difficult and you need to read the docs. Most people will use the Hibernate Mode anyway, then just make sure that “Auto Standby” is enabled and the right preferred standby mode is set.
You also have to set the right offset times. The offset times of PVR Scheduler should correspond to the default offset times of MediaPortal.



The following picture shows the PVR Scheduler Plugin in MediaPortal.
Here you can switch between the different automatic modes:

Automatic off: PVR Scheduler will never enter standby/hibernate mode after a recording.
Automatic on: PVR Scheduler will always enter standby/hibernate mode after a recording.
Intelligent Automatic Mode (IAM): The PVR Scheduler will enter standby/hibernate mode after a recording, when the PC was started or woke up for this recording.

Another thing is that you can see what PVR Scheduler will do next in the lower section of the screen.



My Windows XP CD Image

I tried to reduce my boot time of my HTPC. Therefore I made a new Windows XP CD with nLite. You can download my nLite Settings here:

http://pvr-scheduler.de/Downloads/c=4.html

I think that I could reduce my boot time by 30% - 50%. I haven't made any time measurements but it's noticeable faster now. Anyway if you can improve my settings don't hesitate to post them. Thanks.
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2006-01-09, 23:55   #2 (permalink)
 
Join Date: Jan 2005
Location: Columbus, Ohio
Posts: 52
Thanks: 4
Thanked 1 Time in 1 Post

Country:


Default

Beautiful post! This is exactly what I was looking for tonight and your post is very, very well detailed!

Thank you.
thinksnow is offline   Reply With Quote
Old 2006-01-10, 08:40   #3 (permalink)
Portal Member
 
Nefius's Avatar
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to Nefius
Default

Very good post, and congrats that you have managed to get it all to work!
__________________
HTPC: Asus A8N-SLI * AMD Athlon 3000+ * 240GB Maxtor * 1024MB * Geforce 8500GT DX10* 2x Hauppage PVR 150MCE * Arctic Cooling Silentium case
Nefius is offline   Reply With Quote
Old 2006-01-10, 10:32   #4 (permalink)
Portal Tester
 
The_Stig's Avatar
 
Join Date: Apr 2005
Posts: 708
Thanks: 19
Thanked 2 Times in 2 Posts

My System

Default

And by the way: STSC is the programmer of PVR Scheduler...so ask if something isn't working
The_Stig is offline   Reply With Quote
Old 2006-01-25, 15:50   #5 (permalink)
Portal User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Yesterday I heard about MediaPortal, I already knew MCE and powercinema. The last one was installed on my pc, but was not working very well. MCE is expensive. So I tried installing MP. After Downloading .NET and some other things I finally was able to install MP. But now he doesn't recognise my tvcard. And I'm having trouble with the EPG. Tonight I am going to follow your instructions first. Maybe my mediacentre will work tonight?

Simone
simone72 is offline   Reply With Quote
Old 2006-01-25, 15:56   #6 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,341
Thanks: 4
Thanked 55 Times in 34 Posts


Default

I would just like to add about the power states:

S3 - Suspend-to-RAM (STR) = Standby in Windows XP
S4 - Suspend-to-Disk (STD) = Hibernate in Windows XP
S5 - Soft-Off. = Shutdown in Windows XP

I tested my PC with a power meter from work and found out the following:

S3 - 6.6W
S4 - 5.5W
S5 - 5.5W

So there is no difference between S4 & S5 in terms of power usage and S3 is not much different. After which I think I will be leaving my PC in S3 for the quick wake up time.

It is funny that most new PCs don't turn off when you shut them down, because of soft power switches, wake on LAN, etc. All features that most people would never use.

/James
James is offline   Reply With Quote
Old 2006-02-13, 13:16   #7 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: London, United Kingdom
Age: 28
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Hello STSC,

I have a low specs computer (similar to yours) and would like to know if you have done any kind of windows tuning.

Have you shut down any services?
Removed components (with nLite or similar)?
Done anything special to make it run faster?

I created a Window XP Pro unattended CD with http://www.nliteos.com/ and set it to tune my Windows install to the settings I wanted so that I would not have to do it manually afterwards... I did not do many changes though. Classic theme, no windows desktop cleanup wizard, system restore turned off, fast switching user turned off and some other only.

I have not started shutting down unwanted services (remote registry edit and others) but will try that path quiet soon...

What about you? Have you tuned up XP in some way?

Can you watch xvid or divx encoded videos? What about .avi with ac3 sound? You do not say anything about installing ffdshow...

Your tutorial is amazing and would like to have some more details if you still have some time to spend to answer us.

Regards.
trailboy is offline   Reply With Quote
Old 2006-02-13, 16:56   #8 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I would not say that this is a low spec HTPC, because everything works fine and fast. It's a matter of software components and drivers.
Ok, it's a P3-S and the motherboard has an i815 chipset, which is of course quite a lot of faster than your CUV4X. The funny thing is that my HTPC installed XP faster than my old XP2400+ on a KT333 board.

Right now I have a slightly tuned XP with a couple removed things, but not very optimized. But to be honest I couldn't recorgnise a big difference between the standard Win XP SR2 and the tuned one. I can send you my XP config (nLite) if you like, then you can further optimize it.

I can watch DivX. I tried the original DivX and ffdshow. The cpu usage with ffdshow is better, I can't remember the exact value, it was something between 5-10%. I would go for the recommended ffdshow for MP, if you want to watch DivX.

Usually I have something about 35% cpu usage when I'm watching TV and timeshifting.

I haven't tried an .avi with AC3 yet. Where can I find one.
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2006-07-01, 07:54   #9 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I added my nLite settings for a faster Windows XP boot time. If you can improve them please let me know.


When I get some time I will add some information how to wake up your HTPC by NVRAM / RTC Alarm or the new webinterface in PVR Scheduler.
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2006-07-01, 10:15   #10 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,835
Thanks: 144
Thanked 104 Times in 73 Posts

Country:

My System

Default

at first nice tutorial
but some screenshots are out of date and PVR-Schdeuler has a few problems with MP0.2 RC4 and latest SVN

Quote:
Originally Posted by STSC
I added my nLite settings for a faster Windows XP boot time. If you can improve them please let me know.
those modified WinXP installation CDs can lead to unexpected un-recoverable problems.

same for codec packs and system "optimizing" tools i.e. registry "cleaners".

btw. the MediaPortal Plugin PowerScheduler is also able to manage the standby/hibernate process.
PVR-Scheduler is not free.
infinityloop is online now   Reply With Quote
Reply

Bookmarks

Tags
faster, htpc, perfect, pvr, scheduler

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Top Reasons why Media Portal is the Greatest HTPC App Steve Warner MediaPortal 1 Talk 37 2006-08-02 02:00
Auto Resume After Suspend Procedure Dado The old Bugreport Forum 28 2006-04-23 17:59
PVR500 only 1 Tuner working rovalis General Support 2 2006-03-09 15:13
Mediaportal crashing when power scheduler is activated Adrian2M General Support 0 2005-12-30 16:07
PVR Scheduler: Wake your HTPC on the web STSC Plugins 3 2005-08-25 03:01


All times are GMT +1. The time now is 07:15.


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