|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#941
|
||||
|
||||
ok. Got it figured out. Had to add 3hrs (and 15mins) to the END time.
Since I happen to have both East and WEST coast feeds of ABC (old old legacy deal), it appears that the East Coast value was getting ignored. After I changed to Code:
start < midnight + 94500000 Possibly due to K coming before W? |
#942
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#943
|
||||
|
||||
Quote:
Code:
if(shows.add(id) && id.startsWith('EP') && start >= midnight && start < midnight + 86400000) { Code:
if(shows.add(id) && id.startsWith('EP') && start >= midnight && start < midnight + 94500000) { 94500000 = 26.25 hrs 71900000 = 19.972 hrs Code:
if(shows.add(id) && id.startsWith('EP') && start >= midnight + 71900000 && start < midnight + 94500000) Last edited by graywolf; 09-19-2011 at 03:24 PM. |
#944
|
||||
|
||||
Quote:
and set that up for cron |
#945
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#946
|
|||
|
|||
Premiere Alert script problem
I'm still having a problem with this script. When it didn't connect to my smtp server using port 456, I changed the script to use port 25 (used by my email, i.e. Outlook), however the log shows it is still trying to connect using port 465. I tried shutting down the service and restarting with the edited script, same problem. I've attached the email portion of the groovy script (user ID and Password omitted, of course) and a screen shot of the log.
|
#947
|
|||
|
|||
Quote:
1) If you're using port 25 then you should change ssl setting to 'false'. It is unlikely, though not impossible, that an SMTP server listening on port 25 is using SSL. The use of SSL is probably what's overriding the port number. 2) Are you sure you need a user/password to connect to the SMTP server? Again, this is unusual, though not impossible, for SMTP servers listening on port 25. Usually ISP servers simply go by the IP address of the connection to ensure that you are allowed to use the server. I'd try setting the user and password to '' (empty string) and then change the from address to your email address. Unfortunately, you're finding out why I tend not to release my scripts that send email - there are just so many email configuration possibilities that it's impossible to make it "plug 'n play" for most users. With some perseverance, you'll get it working.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#948
|
|||
|
|||
Setting SSL to false did the trick, it's working, thanks.
|
#949
|
|||
|
|||
Don't really have time to go hunting through this thread. Not familiar with Groovy. I'm upgrading from v3 to v4 and I suppose I need to create test scripts for each of my tasks based on the rules I had created in v3.
Basically I need to create test scripts to look at the channel name of the recording and the extension on the file to determine which task, if any, should run. How do I get started?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#950
|
|||
|
|||
Quote:
You're going to learn rather quickly that v4 is nothing like v3. Lots of changes to get used to. What I suggest is to pick one task, say comskip, and get it working using this tutorial. That tutorial assumes you've familiarized yourself with the basics (task client install, plugin install, task setup, etc.). You may want to start here. There's no magic bullet or cookie cutter solution to setting up everything - each user's environment is too unique. But if you pick one task and get it working to perfection in your env, that should provide the building blocks required to get the rest of your tasks setup. Reference your v3 rulesets as far as the desired logic, but you'll quickly learn that the actual code is no good - everything's done in Groovy script now. Good luck and ask questions as necessary, but please start with the user guide and tutorial as your starting point.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#951
|
|||
|
|||
I saw a script that seems to show that you can use a groovy script as the actual executable? How does that work and what does the file extension need to be?
I use both SA and SAV1 depending on whether it is a HDHR or HDPVR recording. It would greatly simplify things to have a single task for commercial detection and then have the executed groovy script determine which to run. Rather than creating 4 tasks for each of the test cases and using the test scripts to determine which should run.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#952
|
|||
|
|||
Quote:
Please read through the user guide along with all the linked to wiki docs from it (found from the left side menu), there is a lot of info to be absorbed from those docs. Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#953
|
|||
|
|||
Is there an example of the syntax for executing an external program from a Groovy script?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#954
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#955
|
|||
|
|||
I'm having trouble getting Tools.mapDir to work. My mapdir line is as follows:
Code:
agent.mapdir=D\:\\,\\\\htpc\\video1\\;G\:\\,\\\\htpc\\movies2\\;E\:\\,\\\\htpc\\video2\\;F\:\\,\\\\htpc\\movies1\\ Code:
String file = Tools.mapDir(SJQ4_METADATA.get("SJQ4_PATH") + "\\") + SJQ4_METADATA.get("SJQ4_LAST_SEGMENT")
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#956
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#957
|
|||
|
|||
Duh, ok. I get it now.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#958
|
|||
|
|||
Ok, things are sort of working now. However I think I'm going to have to rethink things. While ShowAnalyzer v1 runs fine when launched from a Groovy script the old ShowAnalyzer starts and then does nothing. I see the task running in the Task Manager but there is no CPU usage from it. Anyone have any experience with this?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#959
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#960
|
|||
|
|||
?Assign SJQ4 task to a scheduled recording?
Is it possible to assign a SJQ4 task to a non-favorite recording at the time the recording is scheduled, ideally similar to the way favorites are handled.
For example, I occasionally end up scheduling the recording of a movie from a non-premium channel for later viewing. I've noticed that some of these recordings, especially the middle of the night ones, are almost 25% commercials. I'd really like to be able to schedule my Comskip task so that it runs as soon as the movie finishes recording. However, since the movie is a one-time event and not a favorite, I don't see any way to schedule the task in advance, when I schedule the recording. I know I could set things up similar to the old SJQ3 method of globally processing every file and then adding some exclusion testing to prevent needless processing of commercial free channels but I really like and prefer the newer system of localized scheduling of tasks to appropriate recordings only. PS: Thanks for this wonderful tool. I really like it. |
Currently Active Users Viewing This Thread: 4 (0 members and 4 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
SJQv4: Technology Preview | Slugger | SageTV v7 Customizations | 39 | 12-17-2010 01:17 PM |
SageTV Plugin Developers: Any way to see stats for your plugin? | mkanet | SageTV Software | 4 | 12-12-2010 10:33 PM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
SJQv4: Design Discussion | Slugger | SageTV v7 Customizations | 26 | 10-18-2010 08:22 AM |