|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Changing Recorded TV location from \\localhost\... to \\server\...
I am running Sage for WHS and it is using \\localhost\TVshows for my Recorded TV location. I would like to change this to \\server\TVshows. This is effectively the same location but how the file path shows in wiz.bin should be more robust as it should work properly for all clients on my LAN, would it not?
Therefore can I just follow the instructions for changing the folder name that were give for moving from drive letter to UNC and then use the advanced method for moving files. In other words - go in and modify the Video Recording Directories path from \\localhost\TVshows\ to \\server\TVshows, stop Sage, change the advanced_video_file_recovery=true, start Sage, let it read in the files and then stop sage and change advanced_video_file_recovery=false? A suggestion for Sage - perhaps you should change the default for video recording directory from \\localhost\... to \\server\... assuming that you can read the server name as this will be more robust for Sage users in the future.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
Since both paths are actually the same you could probably get away with adding the new path \\server\TVshows first and then remove the \\localhost\Tvshows path. I had done that with my WHS server as I moved drives into the pool. Didn't seem to have to use the advanced recovery setting.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#3
|
||||
|
||||
I agree. I've "moved" paths that are really just a different name by simply adding the new pathname, then deleting the old.
Sage can still see all the files, and so it updates the wiz.bin after a few minutes (or maybe next restart, can't remember) automatically.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#4
|
|||
|
|||
But will this change the path to the file in wiz.bin - or will it stay with the \\localhost\ which is fine on the server but will cause errors on cllients?
The reason I ask is that I am using SJQ and it can do processing of the files on the clients. When it tries to process (i.e. Comskip, Transcode) a file on the client I am concerned that it will read the path from wiz.bin as \\localhost\TVshows rather than \\server\ and this will cause an error as this path does not exist on the client, just on the server. I believe, but I am not 100% sure, that the Advanced File Recovery causes Sage to rebuild the wiz.bin database of files found in the TV Recordings folder(s) with the current filenames.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#5
|
|||
|
|||
You wouldn't have problems playing back the show on the client, but would have trouble with comskip.
Take a look at this post. I think you would need to follow this procedure to get the shows updated to point to the "\\server\path" UNC name. (Many thanks to Andy for helping me get this working on my system). Link |
#6
|
|||
|
|||
Thanks bjp999 - I think this should be pretty easy for me as I don't have to do steps 1&2 - I just have to change the recording folder from \\localhost\... to \\server\... I don't have to actually move or copy the files since they are already in this folder - I am just using an alternate name for the folder that maps to the same location. Therefore I also don't have to do steps 3&4.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
|||
|
|||
Quote:
That's probably not the best explanation, and maybe you already gathered that from the posted link, but I wasn't sure based on your previous post. I should also caution that it's been a while since I did this, and maybe Sage did something to make it easier. But, I was pretty sure this is what I had to do when I switched over to UNC paths about a year ago. There is an entry in the Sage FAQ about how to do this. You should probably make sure my directions match the ones in the FAQ. Last edited by reggie14; 02-03-2009 at 09:24 PM. |
#8
|
|||
|
|||
Are you sure that I have to actually move the recordings from one folder to another? I want to avoid this as I have about 1.5TB or recordings and I am pretty sure that moving them will take a long time, even when it is on the same drive pool of WHS.
I thought that the advanced file recovery essentially rebuilds the wiz.bin database with all of the recordings in your recorded TV folders.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#9
|
|||
|
|||
Quote:
Quote:
I'd be interested to hear your results if you give it a try. Maybe Opus will pop his head in and provide some wisdom. Either way, I think the How to move files FAQ should get updated. |
#10
|
|||
|
|||
Quote:
EDIT: After re-reading there may be nothing to move. I thought \\localhost\sharename was out of the pool and you were moving the files into the pool. You should just be able to change the name in setup to \\WHS\sharename with advanced_video_file_recovery set to true. Last edited by S_M_E; 02-03-2009 at 10:23 PM. |
#11
|
|||
|
|||
When Sage records a show, it remembers the full pathname it wrote the file to so that it can replay the file.
It will use that full pathname to play back the file, EVEN IF THE ORIGINAL RECORDING DIRECTORY IS NO LONGER A VALID RECORD DIRECTORY OR HAS BEEN RESPECIFIED USING A UNC. You can see the full pathname by looking at the detailed properties of the recording. You'll see they still refer to \\localhost. Updating the recording directories has no impact on these existing recordings, but new recordings will be cateloged properly, and therefore comskip will work with these new recordings from client machines. For comskip to work on a client with the older recordings, you need to get SageTV to recatalog the directories for the existing recorded files to use the UNC filenames (\\server\...) that are also accessible by the client. The method is to use the advanced_video_file_recovery feature, but there is a catch. Sage will only recatelog recordings that are not accessible using their existing full pathname. So you need to get them out of there. This is the reason you need to move the files to a different directory (or rename the existing directory if you prefer). Note that moving even 1.5T of files from one directory to another directory on the same disk will only take a few seconds and not require more disk space. Maybe an example will help. Say you have a recording cateloged as "\\localhost\recordings\lawandorder1.mpg" and you want it recateloged to "\\sageserver\recordings\lawandorder1.mpg". Changing the record directory will have no effect. Running advanced_video_file_recovery will have no effect (because "\\localhost\recordings\lawandorder1.mpg" IS ACCESSABLE). But if you create a new shared directory called "recordings2", move all of the files from recordings to recordings2, and set \\sageserver\recordings2 as a record directory, then advanced_video_file_recovery WILL work, and you'll see it in the detailed properties as "\\sageserver\recordings2\lawandorder1.mpg". If you want to get it back into the "\recordings", you'd have to do this again, but this time move them into the "\\sageserver\recordings" directory. Make sense? Refer back to my prior post and Andy's referenced instructions. It will only take a couple minutes and all of your recordings will be properly recateloged. |
#12
|
|||
|
|||
That may be true if there is only one drive in his WHS pool but I doubt that's the case and I don't think shares can safely be renamed if they were made in the WHS console. There's no guarantee that creating a new share will place it on the same drive in the pool. If he has to move the files to recatalog them it will probably take a long time.
|
#13
|
|||
|
|||
Quote:
The next thought is renaming the shares, but you said that could be problematic too. The last thought is just forgo comskip on preexisting recordings, but know that it will work going forward. If the hurdle is too high to move all those recordings, that may be the best option. Last edited by bjp999; 02-03-2009 at 11:56 PM. |
#14
|
|||
|
|||
WHS is a different animal to be sure.
Shares are created differenty but after relooking at the WHS console again I found out that the share CAN be renamed in the share's "properties" so moving the files shouldn't be needed if just renaming the share will work. |
#15
|
|||
|
|||
So then I should rename the folder in WHS, change the video recordigns directory to the new folder, run Advanced recovery and then reset the name back to the original and change the Video recordings folder to \\server\TVshows. Does that seem to be the suggested course of action?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#16
|
|||
|
|||
Not quite the way I understand it but I'm sure somebody will correct me if I'm wrong.
I think he's saying you have to rename your share in the WHS console, set the new name as the recording dir and run advanced_file_recovery. Then you repeat that process to get the name back to the one you had originally. IE: rename \\localhost\TVShows to \\WHS\SageTV and change the recording dir in Sage (advanced recovery should pick that up) Then rename \\WHS\SageTV back to \\WHS\TVShows and change the dir in Sage again (advanced recovery will pick that up again.) Why not just change it once to \\WHS\SageTV and forget about \TVShows; that would save you time... Last edited by S_M_E; 02-04-2009 at 07:42 PM. |
#17
|
|||
|
|||
Quote:
Plus, I think it's sort of important how you order when you shut down Sage. I'd do it this way: Create an empty share at \\WHS\SageTV, and add it as a recording directory in Sage. Shut down Sage. Get rid of the empty \\WHS\SageTV share. Rename the \\localhost\Recordings share as \\WHS\SageTV. Create an empty share at \\localhost\Recordings. Start up Sage with advanced recovery on. Make sure things work. Remove \\localhost\Recordings as a recording directory. Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PS trial: can connect to one server... | fabiotv | SageTV Placeshifter | 5 | 12-29-2008 11:31 AM |
Strange playback issue with just one HD-PVR recorded show | davidjade | SageTV Software | 3 | 09-30-2008 11:10 AM |
Potentially 15TB Sage Server Setup Advice | rajczi | Hardware Support | 16 | 02-01-2008 11:00 PM |
changing hardware on my linux server | zoop | SageTV Linux | 1 | 12-23-2007 12:01 PM |
Prevent Client users from changing settings on Server? | eehtpc | SageTV Software | 2 | 11-09-2007 09:43 PM |