|
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 |
#1021
|
|||
|
|||
Currently, SJQ has a test to determine if something is recording on any tuner, but there are no tests to test the state of specific tuners.
__________________
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... |
#1022
|
|||
|
|||
That would suffice - what is that test?
__________________
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 |
#1023
|
|||
|
|||
__________________
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... |
#1024
|
|||
|
|||
Quote:
I have cable boxes that the video will freeze for the first show recorded of the day. It's pretty much the same problem as wayner; if the boxes sits for a while, when you change the channel the video and audio will freeze. It doesn't always happen but it's happened enough to be annoying. If you change the channel again and then back, it is then fine. It is a problem with this series of boxes as I've swapped them out many, many times w/ the cable provider and the problem persists. What I would like to do is schedule a channel change PRIOR to the recording. For example. I use firewire channel changing so I can just wrap a channel change in a batch file. Then SJQ could run the batch file on a set inteval before the recording so that I get my two channel changes. Is there a way to do this now? -Peter |
#1025
|
|||
|
|||
Quote:
However... the current beta for SageAlert should be able to handle this task. Unlike SJQ, if you tell SageAlert to run an exe when it receives an event, it launches it immediately. Of course, there are some restrictions. The exe is launched on the server (there is no remote client support). But for a channel changer script it seems you'd want to run it on the server anyway. The only thing missing is you need to have SageAlert receive an event to trigger the exe at the right time. There is no core event that would do this, but, luckily, SageAlert supports custom events. You'd just need a custom event that always fires, say, 3 minutes before a scheduled recording. Then config SageAlert to handle that event and launch your exe. I already have a plugin that provides custom events so you could add a feature request for me to add this new custom event for you. Unfortunately, I'm so busy with dev work on this new SageAlert feature itself, that you might be awhile waiting for that custom event. Alternatively, you (or someone else) could write the custom event for SageAlert. I mention all of this because this new feature in SageAlert is likely to become the task queuing engine for SJQv4. It's not definite, but likely. I'm hoping through the use of SageAlert that I can make SJQv4 much less complicated (and therefore easier to maintain for me and easier to use for users). I'm not positive this is the way I'm going, but it seems I'm either going to do it this way or SJQv4 just won't happen. Either way, I'd take a close look at SageAlert to accomplish what you're trying to do here. NOTE: To do the above with SageAlert requires the fully unlocked version of SageAlert, which requires a donation. I mention this here so you don't start trying to implement this via SageAlert only to discover you need a license file to enable the process executor server in SageAlert.
__________________
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... |
#1026
|
|||
|
|||
Quote:
The only downside to this method is that you might miss the first few seconds or so of your recording, but I can live with that. If we could figure out Slugger's suggestion and fire this batch file to just change to channel 1 a few minutes before a scheduled record, I would prefer 10 seconds to 3 minutes to ensure that you don't scew up the previous recording, if there is one.
__________________
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 |
#1027
|
|||
|
|||
Presumably, if there is already an active recording on-going then you don't need to do this "pre channel change", right? I imagine the custom event that fires 3 mins before a recording only fires if the tuner in question is not currently in use.
__________________
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... |
#1028
|
|||
|
|||
That's how I would do it. Run a check to make sure there isn't already a recording in process. I'm only interested in the first recording of the day on each box.
If I get some free time tonight or tomorrow, I'll take a stab at it. The tools are there and it sounds challenging but doable so I'm game. -Peter |
#1029
|
|||
|
|||
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... |
#1030
|
|||
|
|||
Awesome. Looking forward to it.
|
#1031
|
|||
|
|||
Update ready... you will probably want to start here. Hopefully that wiki is enough to lead you where you got to go. Post questions as req'd (in the SageAlert thread). Good luck!
__________________
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... |
#1032
|
||||
|
||||
I'm stuck and could use a little push!
Got sjq running on the server and the client also running on the server no problem. now I'm trying to get a second client running and while the client is seen by the server it's not taking any jobs. I've done a copy/paste from one client to the next 'hoping' the config at the client side could be the same.... comskip is in the same directory location and as %c% should be UNC I assumed it would work right out of the box.... I think I'm wrong. Am I missing something path related? Using windows 7 on both machines. Client file looks like this: "\"C:\\Program Files\\Comskip\\comskip.exe\" \"%c%\"" EDIT: as logs can be useful I checked it... Checking client 'xxx.xxx.xxx.xxx': 100 resources free. 2010-09-30 15:43:17,590 INFO [SJQServlet]: Servlet POST request completed [2ms] 2010-09-30 15:43:17,692 INFO [DataStore]: Flushed 1 log message(s) in 101ms 2010-09-30 15:43:17,692 INFO [SJQServlet]: Servlet POST request completed [101ms] 2010-09-30 15:43:17,694 INFO [SJQServlet]: Checking client 'xxx.xxx.xxx.xxx': 75 resources free. 2010-09-30 15:43:17,694 INFO [SJQServlet]: Client 'xxx.xxx.xxx.xxx' cannot pop a task of type 'COMSKIP': Already running :MAX instances [MAX=1] I don't understand the info as the client doesn't have any comskip's running in task view.... Last edited by bikesquid; 09-30-2010 at 03:50 PM. |
#1033
|
|||
|
|||
On the remote client machine, assuming you're running it as a Windows service, take a look at the wrapper.log file (find it buried somewhere in a subdir of the dir you installed the task client to). Any errors in there? Looks like there might be a problem with the client install on the remote machine.
__________________
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... |
#1034
|
||||
|
||||
Comskip
Depending on how your comskip task is configured on the client, your associate client configuration must be reflect that
For instance, on one client I have comskip running from the c:\sagetv\sagetv directory (on that client). My associated comskip configuration for that client (Windows 7) is "C:/SageTV/SageTV/comskip.exe \"%c%\"" That comskip location is the location of comskip on the client computer. I hope this helps. |
#1035
|
||||
|
||||
This might work.
One of these may work for you for configuration of the job on the client computer:
""C:/Program Files/Comskip/comskip.exe \" "%c%\"" "C:/Program Files/Comskip/comskip.exe \" "%c%\"" ""C:/Program Files/Comskip/comskip.exe" \"%c%\"" I am not sure if the client configuration requires the same configuration for each client, but if it does make sure comskip exists on both computers in the same path on each computer. Good luck! |
#1036
|
||||
|
||||
Anyone else running 7.0b17 with SJQ and MediaShrink? I've been seeing a lot of this since upgrading, from the MediaShrink log:
Code:
+ Command : /exe del - Executing command: del "\\SAGETV-SERVER\Recordings\... ... + The process cannot access the file because it is being used by another process. Happening to anyone else?
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders Backup: Synology SageTV version: FINAL |
#1037
|
||||
|
||||
Quote:
STATUS | wrapper | 2010/09/30 15:12:09 | Launching a JVM... INFO | jvm 1 | 2010/09/30 15:12:09 | WrapperManager: Initializing... INFO | jvm 1 | 2010/09/30 15:12:09 | SJQ Task Client v3.0.2.771 INFO | jvm 1 | 2010/09/30 15:12:09 | Using 'C:\Program Files (x86)\SageTV\SageTV\sjqcnt\conf' as location for configuration file... After that, nothing. |
#1038
|
|||
|
|||
It sounds like that client is taking jobs off the queue, but then is having problems launching them. From the web UI, are jobs ending up in the failed task list? If so, do the task logs give any clue as to why they are ending up there?
__________________
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... |
#1039
|
||||
|
||||
Quote:
Could this be the damn buffer problem??? and if so where do I find that fix. I'm trying to find the section on how to reconfigure Jetty to accept larger POST requests? I know I did this on the other client that is working, so wanting to keep both the same.... of coarse if this ain't my problem.... EDIT: tried reducing buffer to 'prove' it was the problem, dropped to 65000 and still doing the same thing. And it does look like the new client did pick up one of the comskip tasks and complete it (before reducing buffer)... odd! Last edited by bikesquid; 10-01-2010 at 12:05 AM. |
#1040
|
|||
|
|||
I need to see the Jetty request logs. SageTV/jetty/logs/yyyy_mm_dd.request.log and I need to know approximately what time you saw this problem (so I can find the corresponding requests in the log file).
__________________
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... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage Job Queue (SJQ) new release notifications | Slugger | Customization Announcements | 3 | 12-17-2009 09:59 AM |
Plugin: Sage Job Queue (SJQ) | Slugger | SageTV Customizations | 991 | 12-11-2009 03:52 PM |
Sage Job Queue Completed tasks problem | raffmanlt | SageTV Customizations | 2 | 08-18-2009 07:34 PM |
Comskip Monitor VS Sage Job Queue SJQ | personalt | SageTV Customizations | 6 | 03-02-2009 10:27 AM |
Plugin: SJQ v1.1.0RC1 Available - Testers Needed | Slugger | SageTV Customizations | 35 | 04-21-2008 08:12 AM |