|
|
![]() |
|
|
|
|
|
#1 | Link |
|
||
|
HT Enthusiast
|
Better way of recording live TV to WHS
For people who have Windows Home Server and Media Center(s), the allure of recording direct to WHS from MCE/VMC has existed for the longest time. It is certainly doable and Richard Miller and Ian Dixon have posted excellent guides to do this.
http://thedigitallifestyle.com/cs/fo...howThread.aspx However, even with folowing the guide to the T, Media Center still throws errors a lot of times because of the network access. The most often encountered errors are: - "Disk Full..." when you have your Media Center to record to WHS, and you start it up and try to watch live TV. (Not a fault of the guide, WMC is quirky). This is because when you change the registry entries to point to WHS, it also changes the live TV buffer location to the server. And WHS is quirky about reporting free space (see below) - Other times you may get errors saying "Not enough disk space..." when you try to record (or have a scheduled recording). This is very dependent on the size of your primary hard disk for the WHS O/S install as it partitions the disk into two, with a 20GB primary partition ( C: ) and the rest of the disk as D: (for data). WHS ALWAYS reports the size of D: as the amount of free space to clients. Since TV recordings are pretty big (especially if you are recording HD), the total size of your TV recordings can very easily be much larger than the size of that D: as reported by WHS. In this case Media Center will throw an error saying "Not enough disk space..." and won't record. Very frustrating, as (in my case) my WHS is ~5TB, and I have more than enough space available. Solution: This works in Vista ONLY (as far as I know, since XP does not support symbolic links to my knowledge) Instead of trying to point to WHS directly for live TV recording, we are going to use the symbolic links feature of Vista to create a link that will point to WHS, but use the LINK instead of a direct reference to WHS. What is a symbolic link? http://en.wikipedia.org/wiki/NTFS_symbolic_link Quote:
Quote:
Quote:
On Vista Run, "regedit". 1 Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \Media Center\Service\Recording Set the following registry entries. Set "WatchedFolders" to "C:\Users\Public\Recorded TV\" (no double quotes) Set "RecordPath" to "C:\Users\Public\Recorded TV\" (no double quotes) Set "LastRecordPathSet" to "C:\Users\Public\Recorded TV\" (no double quotes) Reboot the Vista machine. If everything was done as it should be, you are all set. Your Vista Media Center will happily record to WHS direct and never report any space issues. An additional benefit is that since WMC "thinks" it is accessing a local resource, there's a very very slight blip (instead of a couple seconds) when you hit the record button while playing live TV.Another added benefit to this is that since the available space to WMC for recording never changes, it should never delete any recordings automatically (which it does, if you start running out of space), if your Media Center recording settings are set to "Keep until space needed" (which is the default btw). Why does WMC not have space issues with this method? - Your Media Center thinks it's recording to C:\Users\Public\Recorded TV (as an e.g.) but it'a a link to WHS, so the total space reported to Media Center is always the FULL available space for recording on your local machine (since it never actually records locally, so the size doesn't change ).Caveats: - I do not recommend recording live to a server (WHS or anything else) unless you are on a hard wired connection. Wireless just doesn't cut it. Enjoy. Lemme know if you run into issues with trying this out. As a precaution, please try this without moving all your recordings to the new folder on WHS. Once you have it setup, you can certainly move them. We don't want recordings to get deleted accidently.
__________________
Founder and President. The Digital World, Inc. www.thedworld.com |
|||
|
|
|
|
|
#2 | Link |
|
Senior Member
|
Excellent post. I had no idea that this feature existed in Vista! Right now I just have a .bat file moving my recorded tv to my WHS once a week because of all the recording issues I was having. I'll give this a try! Just not sure if my network connection can handle 4 HD streams going to my WHS.
|
|
|
|
|
|
#3 | Link |
|
HT Enthusiast
|
Damn..Once I got all my shows copied (about 500GB), the good ol "Quota" kicked in, and Media Center created a new recordpath on the local disk to record a show. So, I guess the total size of your recordings somehow does have an effect on your record location (and the amount of free space reported to WMC).
Once I changed the quota to higher than the total size of the recordings, all is well again. I guess I could just bump the quota to like 10TB or something. Anyone know if there's a limit to the Quota value in the registry?
__________________
Founder and President. The Digital World, Inc. www.thedworld.com |
|
|
|
|
|
#5 | Link | |
|
AVS Special Member
|
Better is kind of an oxymoron here. Trying to record directly to a network share isn't a good idea at all IMHO. With hard drives as cheap as they are, there is little reason in my mind not to record locally and setup a move script to run (hourly or nightly).
Chris |
|
|
|
|
|
|
#6 | Link | |
|
HT Enthusiast
|
Quote:
As far as recording to a NAS, and recording direct vs moving files is concerned, if your network can handle it (even hard wired 100mbps will do for 1-2 HD streams) it makes more sense to record direct as it is more efficient. You are sending a stream over at ~20mbps or so, instead of trying to copy 7-10GB at once. The network and your NAS should hardly blip, while recording 1-2 streams. At 4 or more streams, you may have to consider some optimizations.
__________________
Founder and President. The Digital World, Inc. www.thedworld.com |
|
|
|
|
|
|
#7 | Link | |
|
HT Enthusiast
|
Quote:
The method works beautifully as such. No errors in Vista MC recording to WHS live. My symbolic link points to a share on WHS that has about 450GB of recordings on it, and the "size" that WHS reports to clients (in my case) is 55GB, because that's what my O/S drive in WHS is (after the 20GB system partition).
__________________
Founder and President. The Digital World, Inc. www.thedworld.com |
|
|
|
|
|
|
#8 | Link |
|
New Member
|
I had a similar problem with the Quota kicking-in and stopping all new recordings. The way around it is to delete the entry for Quota in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio n\Media Center\Service\Recording\Quota) and then change the DiskLimit entry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio n\Media Center\Settings\VideoSettings\DiskLimit) to a suitably large number (i.e. 5497558138880 which corresponds to 5TB).
This is also done without the symbolic link to the server but rather with the same registry hack that Richard Miller outlined (change the RecordPath to \\server\Recorded TV after providing Anonymous login permissions) except I don't record to a WHS share. Instead I have a hardware raid array on the WHS (not WHS shared) that I use for recording and archiving. The performance is substantially better than recording to the WHS share drive and there is no need to load the .bat file since the permission settings for the anonymous user and shares to be accessed anonymously aren't deleted after a server reboot. In fact, using the symbolic link for "Recorded TV" in the public folder is rather tricky if you've already set-up VMC to record to the C-drive. The mklink command will not allow you to create a folder named "Recorded TV" if it already exists and deleting that folder ain't easy. I could only do it after setting-up VMC to record to second drive which freed the C:\Users\Public\Recorded TV to be deleted. Also, the performance, in my case, was much slower with the symbolic link and lead to the VMC interface freezing whenever a recording started. I haven't gotten this to work on an XP MCE box, but I'm trying that next. So far, XP MCE is very particular about having DiskLimit values that match the physical drive, but that doesn't seem to be the case with Vista. |
|
|
|
|
|
#9 | Link |
|
Member
|
I tried this with no success on 2 diff machines, Ultimate and home premium. In both cases, I had to restore the system, as I was getting Application Failures. I have not even been able to see the shows already in the Recorded TV folder on the server on either machine's VMC, though I can see the folder (and its contents) in explore on both.
Does it matter if it's named recorded TV or not? I have it named Recorded TV on the WHS, but when I did the Mklink, I named it as "Server TV" since I already had a recorded TV folder there. It showed fine and when I clicked on it in explore on the client PCs, i saw the files, so I assume that wasnt my issue. Baffled, frustrated, exhausted, ... help? |
|
|
|
|
|
#11 | Link |
|
Advanced Member
|
Works but thumbnails disappear
I have successfully implemented this on my Vista MC with TV Pack, with one issue remaining: Recordings made to the WHS show up with thumbnails in Recorded TV, but as soon as that folder (shared folder on the WHS) is accessed from a different computer, the next time I look in "Recorded TV" from Vista MC, the thumbnails are gone:
Those recordings in the above screenshot which still have thumbnails are stored locally, the ones with missing thumbnails are on the WHS. Viewed in Windows Explorer, there are always thumbnails. What could be causing this? |
|
|
|
|
|
#12 | Link |
|
kiki
|
I don't remember when it starts behaving this way. But I remember that it didn't do this in the past.
This 'Symbolic link' worked well for me for awhile and now Vista MCE reports 'not enough space for recording' although I have about 2TB of available space in WHS. I wonder whether this is related with WHS 2008 November update or not. After that update, Vista client see that the free space in WHS is the real available space not the free space in system disk. If I map a network drive from WHS to Vista, I will see that the icon of the network drive is red and it shows some like '2TB bytes availabe of 564GB total space'. Anyone has the similiar issue? |
|
|
|
|
|
#13 | Link | |
|
New Member
|
Quote:
I've got exactly the same problem regardless of weather I use the direct or symbolic link method. Thanks, Neeto
__________________
Sigh... It will work THIS time...... SIGH |
|
|
|
|
|
|
#14 | Link |
|
New Member
|
Thanks for the info /politby.
That will definitely help when finally released. Where can I download the RC from? Do you know if it is possible to have more than one "Recorded TV" share on the WHS with this new service pack? The reason being is that I record directly to the WHS from multiple PCs and you can't have all the PCs recording into the same directory as their "temporary" record buffers clash. Thanks Neeto.
__________________
Sigh... It will work THIS time...... SIGH |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|