RSS - Ian's Blog RSS - All content RSS - The Media Center Show Subscribe via iTunes  Subscribe with Zune Twitter
mControl for Windows Media Center

Storing or Recording Live TV to WHS

rated by 0 users
This post has 159 Replies | 15 Followers

Top 200 Contributor
Posts 3
Points 63
In your first post, after step 2, do NOT reboot.

You need 2 programs:


Now create your batch file. This is mine, and DO NOT forget the "PING 1.1.1.1 -n 1 -w 60000 >NUL"

command because you have to pause the process,
otherwise windows will overwrite the permissions.

(60000 means 60 seconds. I first tried 60 seconds but that wasn't working. Maybe 45 will).


This is my (whs.bat) batch file:

@ECHO OFF
PING 1.1.1.1 -n 1 -w 60000 >NUL
net share "Recorded TV" /Delete
net share "Recorded TV"="D:\Shares\TV" /GRANT:Everyone,FULL /GRANT:"Anonymous logon",FULL
ECHO Y| cacls "D:\shares\Recorded TV" /G "Anonymous logon":F "Everyone":F "Administrators":F "CREATOR OWNER":F
end



Unzip "batcom10uk.zip" and use "BatchCompiler.exe" to convert your just created whs.bat to whs.exe

  (You can also put the content of your batch file in the compiler)

Functions->compile 

batchcompiler 

 
And save the whs.exe



Unzip "AnyServiceInstaller 1.0.zip" and run "AnyServiceInstaller.exe".


If you don't have the "Windows Server 2003 Resource Kit" installed do that by the link given in the program. Or here! And install it.



  • Select the location of your installed resource kit. (by defaullt: C:\Program Files\Windows Resource Kits\Tools).
  • Select the application that should be used as a service; previously created "whs.exe".
  • And now you can give the service a name. (recorded tv or whatsoever).

 

anyserviceinstaller 


Click on create and you are done.

Now you have a system service that will start when windows starts without logging on.

You can check this before or after the reboot "configuration->administrative tools->services", there should be a service called "Recorded TV" 

services
 

 

 

 

Reboot and depending on how fast your machine is the permissions wil be set without loggin in.

Skip step 3 & 4 of your first post and setup your media centers.


You now have a system service which sets the permissions right.

 

Works great on my WHS. Good luck




Top 200 Contributor
Posts 3
Points 63
I installed SP1 today and it's still working. I also added a vista media center x64 fisrt without SP1 and then with SP1, also worked.
Top 10 Contributor
Posts 218
Points 3,352
Expert
Justin thanks for posting back.

Richard Miller MCE MVP

Top 500 Contributor
Posts 1
Points 6

Justin,

 What about just configuring a Startup Script to run this?  It also does not require any logon; and it would be easier than setting up the service; especially if you need to change anything:

 gpedit.msc

Computer Configuration --> Windows Settings --> Scripts --> Startup

I don't have WHS or an MCE up yet; but am planning out my strategy and your work here definitley helps.  

 

Top 75 Contributor
Posts 6
Points 126

 

 

I'd done everything succesfully and I was able to save all programs in the WHS. One morning I stoped being able to watch tv, every time I clieck on LIVE TV I was getting an error meg that read : ""Cannot Play Video. The file is currently in use by another application and cannot be played. Please try again later." (tv programs were still recoreded OK to the server)

Yesterday I went back to the registry and edited the RecordPath key and after resetting I was able to use LIVE TV again.

Any idea why I would have this error? I checked the permission settings on the RECORDED TV in th server and everything was OK

I wan to be able to save programs on the server to mantain a low disk activity on my PC

Thanks 

 

Top 10 Contributor
Posts 218
Points 3,352
Expert
Slyke:

 

 

I'd done everything succesfully and I was able to save all programs in the WHS. One morning I stoped being able to watch tv, every time I clieck on LIVE TV I was getting an error meg that read : ""Cannot Play Video. The file is currently in use by another application and cannot be played. Please try again later." (tv programs were still recoreded OK to the server)

Yesterday I went back to the registry and edited the RecordPath key and after resetting I was able to use LIVE TV again.

Any idea why I would have this error? I checked the permission settings on the RECORDED TV in th server and everything was OK

I wan to be able to save programs on the server to mantain a low disk activity on my PC

Thanks 

 

Before you edited the RecordPath key on Media Center PC, did the RecordPath in the registry default back to Media Center record path or did it still say \\SERVER\Recorded TV in the registry?

Richard Miller MCE MVP

Top 75 Contributor
Posts 6
Points 126

 

Thanks for your quick replay 

 

It stayed \\SERVER\RecordedTV all the time (until Live TV stop working and I had to change it back to \users\public\recordedtv).

 

 

Top 75 Contributor
Posts 6
Points 126

Does anyone have any input on how to solve this problem?

 

Thanks

Top 10 Contributor
Posts 218
Points 3,352
Expert

Not sure what’s happening there, but there is one thing I would like too see.
Can you check these two registry’s settings on the Media Center PC, and post back the numbers for “DiskLimit” and “Quota”


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Settings\VideoSettings
DiskLimit

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Media Center\Service\Recording\
Quota

Richard Miller MCE MVP

Top 75 Contributor
Posts 6
Points 126

 

Thanks, Richard.

The Values are:

DiskLimit = 0

And I don't have a Quota Key under Recording

Do you think that I have to check any of this values and retry setting the WHS as the destination? 

 

 

 

Top 10 Contributor
Posts 218
Points 3,352
Expert

Slyke:

Thanks, Richard.

Do you think that I have to check any of this values and retry setting the WHS as the destination? 

"Do you think that I have to check any of this values and retry setting the WHS as the destination? "No

But there should be numbers in DiskLimit and Quota, What is the size of your HDD and what is size of your recorded TV folder on your Media Center PC, and the HardDrive pool size (D:drive) on WHS ?

Richard Miller MCE MVP

Top 75 Contributor
Posts 6
Points 126

I configured back the HD to be the destination for recrded programs and the change the max size for the recorded tv folder and check back and now I have the Quota string on the registry

 The values are:

Quota: 214748364800

Disk Limit:  214748364800

 

On the PC the hard drive is 500 and now the recorded tv folder is 200

On the WHS I have two disks one 500GB and a seconf od 1tb (I have 1tb free of space) 

 

I tried again to configure the WHS as the destination and again, I get the same error msg!! grr!

 

 

 

Top 10 Contributor
Posts 94
Points 1,437
Blogger
Expert
Slyke:

 

 

I'd done everything succesfully and I was able to save all programs in the WHS. One morning I stoped being able to watch tv, every time I clieck on LIVE TV I was getting an error meg that read : ""Cannot Play Video. The file is currently in use by another application and cannot be played. Please try again later." (tv programs were still recoreded OK to the server)

Yesterday I went back to the registry and edited the RecordPath key and after resetting I was able to use LIVE TV again.

Any idea why I would have this error? I checked the permission settings on the RECORDED TV in th server and everything was OK

I wan to be able to save programs on the server to mantain a low disk activity on my PC

Thanks 

 

 

There is always the chance that the drive migrator service on WHS was doing something with your recordings at that point in time and then media center marked them as not available until you restarted.

Top 75 Contributor
Posts 6
Points 126
I tried several times in different moments and some of them from scratch and all with the same results. I'm starting to think that it might be something from the video card and not from the software/drivers...
Top 500 Contributor
Posts 1
Points 6

Hi all,

I have problem with updating Recorded TV after standby.

I have a master VMC (Vista Ultimate with WebGuide4) runing 24/7 and doing all my recordings. I have also some other VMC's (Vista Ultimate) which have the Redorded TV path of the master VMC's  included in the WatchedFolder path. If I now put these VMC's into Standby and do some recordings on the master VMC I can't see these recordings on the VMC's when waking them up from standby.

If I restart them or just restart the services I can see the recordings.

Does anybody have a solution for this? I was thinking of a script which starts automaticly after waking from standby and restarts the service.

Any solution?

 

Thanks

Page 9 of 11 (160 items) « First ... < Previous 7 8 9 10 11 Next > | RSS
(c) Ian Dixon 2008