|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#481
|
||||
|
||||
I installed the registry objects, rebooted, and then ran the script.
I dont getting any prompts, but within a few seconds, it gives an error: Script: c:\path\comskip.vbs Line 377 Char 2 Error An unexpected error has been returned from the registration database Code 800A8BF Souce registry The comskip within Sage only checked the first file of an episode I recorded manually with some breaks in it, so I was hoping this would work past that issue whenever it occurs. |
#482
|
||||
|
||||
Quote:
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#483
|
||||
|
||||
Quote:
Hmmm.. That's very interesting. What OS are you running on? I don't know that we had ever tested on anything other than Windows XP, but it really *SHOULD* have worked on others. It's odd that it stopped there, because that's where it's accessing the registry object that was installed by the download from Microsoft. Anywho, I actually thought of another way to skin this cat, and hope to have some code spun by this evening to help with this one. In the mean time, if you want to play with the script, simply comment out line 78 (by putting a single quote in front of the text) and set line 79 to: sage_dir="c:\program files\Frey Technologies\SageTV" This assumes you're running SageTV from the standard directory, you may have to change that line. Question, what would you think about running the script from inside the SageTV directory so we don't have to look at all, and then fall back on searching if it's not run from there?
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#484
|
||||
|
||||
Krutaw, I'm running w2k, and it's fine. Ran again perfectly last night.
|
#485
|
||||
|
||||
Quote:
Whoo hoo... good to hear bud!
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#486
|
||||
|
||||
ComSkip Automation script v0.5
I've updated the script to correct a couple of issues mentioned here in the forum.
Specifically, here's what I've changed: - Added ability to skip checking for location if script is run from SageTV directory. - Added output to IE browser for status If you're having problems with the script not finding the SageTV directory, simply run it from the SageTV directory, and it won't even bother searching the registry. Also, if you don't want to see the IE gui status, simply change line 84 to be: showiegui = False Once again, any and all feedback is appreciated.
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#487
|
||||
|
||||
I'm running Windows 2000 SP4
This script looks like it's working. Thanks. |
#488
|
||||
|
||||
Quote:
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#489
|
||||
|
||||
Can this script run from a machine that does not have sageclient.exe or sagetv.exe? In otherwords, can I use this script from other non-sage machine to gang comskip my sagetv server?
Thanks for the great functionality! |
#490
|
||||
|
||||
Quote:
The real trick here is that you still have to point the script to where the sagetv directory is located so that it can read the sage.properties file to figure out where the video directories are located. I have not tried with a unc path yet, but will try that tonight.
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#491
|
||||
|
||||
I have a similiar question:
I run a media server that doesn't have Sage Server, Client, or Recorder running on it at all. Sage runs on a HTPC in another room on a C: drive that is not shared. Is the only reason your script needs the sage.properties file is to find the video directories(s)? On my system, this is simply f:\Sage. I happen to only have one directory. Would it be possible to program this video directory into your script and bypass the need for it having access to the Sage program directory? Perhaps with an INI file of some type? Basically I'd like to have my media server take over the CPU load of comskipping. I'd just like to launch your script frequently and have it do any MPG without a TXT file in one directory. Thanks, Andy |
#492
|
||||
|
||||
Did anybody figure out if there were Command Line Options for VideoRedo? I would like to be able to automatically make a commercial skipped file without having to load up videoredo
|
#493
|
||||
|
||||
Quote:
Okay, that sounds cool. So whatcha think about say a set of command line parameters that determine where both the video directory and the comskip application are located (seperate parameters of course)? That, of course, infers that the user should be able to dictate where the logs are written to as well. Hmmmm... *starts writing feverishly*
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#494
|
||||
|
||||
Quote:
Okay, so it ended up being a tad easier than I thought it would be. Anywho, I've got the script setup to where if you specify a logs, video and comskip directory (they can all be the same if needed) the script will bypass attempting to find the sage.properties file as well as the sagetv executable. Anywho, please find the script attached. The specific command line options are(THIS SHOULD ALL BE A SINGLE LINE): comskip_automation_0.6.vbs /vid_dir=e:\sage /comskip_dir=e:\sage /log_dir=e:\sage\logs This example would look for only videos in the e:\sage directory, put logs to e:\sage\logs and look for comskip in e:\sage. Please let me know if you think of anything else we can cram in this puppy. I personally was thinking of an mp3 player.... j/k :-)
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
#495
|
|||
|
|||
Quote:
I'm "thinking" of doing something like this for version "F" of my Cayars STV and maybe working on a more simpler DivX conversion then the present method using ffmpeg. |
#496
|
||||
|
||||
From one Andy to another, many thanks! It is very cool of you to listen to my unqiue situation and program your script for it. I think this will make it extremly modular now, and will possibly help people/situations we haven't even thought of yet.
Plus, command line options are way cool. I will install it now, and report my sucess tomorrow on this forum. For your reference my media server runs Win XP Pro SP2. It's a 1.4Terrabyte machine with 6 hard drives in it. I have one 300GB drive dedicated to Sage for space. It's in a spot that doesn't have access to cable/sat wiring, so I will probablly never run Sage on the machine. Plus, the idea of the computer was actually to never run Sage on the media server. Regards, The Other Andy |
#497
|
||||
|
||||
cayars,
also, what would be nice is if you could figure out how to get it back into the sage recordings screen, but that seems kind of tricky |
#498
|
|||
|
|||
Quote:
|
#499
|
|||
|
|||
Does anyone have comskip in any of its forms working well on PAL uk television programs? I am thinking of tinkering with the code to try to make it work on PAL Uk, but if someone has it working and can post the settings then I can save myself some frustration! Thanks
Chris |
#500
|
||||
|
||||
Quote:
The way I see it, the only time a coder should not think of ways to extend functionality to match what people ask for is when they're not going to share it with anyone. In other words, I'm happy you're happy. eheh Oh ... . and you can be the "Andy" in this discussion as far as I'm concerned, I'm happy with krutaw.
__________________
Warm Regards, Andy Kruta A+, CNA, MCSA, Network+, RHCE "It's kinda fun to do the impossible" - Walt Disney |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|