|
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 |
#181
|
|||
|
|||
Quote:
sjqc.bat 192.168.1.134 false 8088 Also make sure all the jars are in the same dir. Along with the bat file there should be two jars: json.jar and sjqc.jar; all in the same dir that you're starting the client from. The stack trace suggests it's looking for a class named "and", which really boggles my mind. First, fix the cmd line and try again. Then we'll go from there. |
#182
|
||||
|
||||
Quote:
thanks |
#183
|
|||
|
|||
Quote:
Code:
C:\path\to\java\bin\java.exe -cp ".\json.jar;.\sjqc.jar" com.google.code.sagetvaddons.sjqc.TaskClient 192.168.1.134 false 8088 |
#184
|
||||
|
||||
Quote:
Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) that worked and I see it connected. |
#185
|
|||
|
|||
Back to the drawing board on the whole batch file thing, though it does work for me (and at least a couple others). None the less, I'll see what I can do about that.
|
#186
|
||||
|
||||
I'm now trying to create a couple config files:
Client: # Client options :MAXPROCS 2 /*:MAPDIR "D:\\tv" "\\\\sageserver\\tv" # Mapping D:\tv to UNC path \\sageserver\tv :MAPDIR "D:\\videos" "\\\\sageserver\\videos" :MAPDIR "D:\\music" "\\\\sageserver\\music" */ // TASK definition COMSKIP{ :CPU LOW :MAX 0 "C:\Program Files\ComSkip\comskip.exe --ini=C:\Program Files\ComSkip\comskip.ini -n %c%" } Server: // Process all TV recordings that don't have a matching edl file if [IsTV == "true" && FileExists != "%c%\%p%.edl"] { :PRIORITY 5 COMSKIP } What I want to do is process all TV shows that do not have an edl file by running comskip. Do these look correct? If so how do I for SJQ to start a scan? thanks for your help, dave |
#187
|
|||
|
|||
Quote:
white space before and after "and" C:\Documents and Settings\David\Desktop\sjqc-2.0.0.84>sjqc.bat 192.168.1.134 8088
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 11-14-2008 at 11:54 AM. |
#188
|
||||
|
||||
Quote:
That worked! Here is what I changed that .bat file to: java -cp "%~d0%~p0sjqc.jar;%~d0%~p0json.jar" "com.google.code.sagetvaddons.sjqc.TaskClient" %* |
#189
|
|||
|
|||
Quote:
Code:
"C:\Program Files\ComSkip\comskip.exe --ini=C:\Program Files\ComSkip\comskip.ini -n %c%" Code:
"C:\\Program Files\\ComSkip\\comskip.exe \"--ini=C:\\Program Files\\ComSkip\\comskip.ini\" -n \"%c%\"" And in your server conf: Code:
FileExists != "%c%\%p%.edl" Code:
FileExists != "%c%\\%p%.edl" |
#190
|
|||
|
|||
Quote:
Thanks. |
#191
|
||||
|
||||
OK I got all the escaped " and \ in there. How do I tell SJQ to go try it? Also how can I enable logging so I can see the errors, I'm sure to have
thanks, |
#192
|
|||
|
|||
Quote:
Errors with the server conf are automatically logged. Click the "View server logs" toolbar button to view. Errors with the client configs aren't so friendly to view. Watch your client window, if it reports a 500 response from the server then that's an indication of an error in your client conf. Paste the URL into a browser for a more verbose error message. I'm working on a way to have those verbose messages viewable in the GUI. |
#193
|
||||
|
||||
For my server config. Will this rule start a comskip job if:
1. It is a TV show 2. the .mpg file exists 3. no matching .edl exists. // Process all TV recordings that don't have a matching edl file if [IsTV == "true" && FileExists != "%d%\\%p%.edl" && FileExists == "%c%"] { :PRIORITY 5 COMSKIP } Is there a way to clear the queue and start over? thanks, Last edited by lovingHDTV; 11-14-2008 at 03:03 PM. |
#194
|
|||
|
|||
Quote:
Filename =$ ".mpg" which says the file must be an mpg file (i.e. filename ends with .mpg). Your current rule will match any file that doesn't have a matching edl. You may also want to add IsActivelyRecording == "false" to ensure comskip doesn't start until after the recording is finished. Currently, there is no way to clear the current queue other than to restart SJQ. You can do that by opening the context file in SageTV\jetty\contexts and resaving it. Updating the timestamp of that file will restart SJQ. Being able to add/remove single queue entries along with wiping the entire queue is definitely on the todo list. The weather forecast is calling for rain tomorrow, if it does then I'll be able to tackle more of these todo list items in the morning. If it doesn't then I have yard work to be done. I should be able to find a few hours Sunday morning before football starts. Check the snapshot repository for new builds as they become available. Bugs, feature requests, etc. are best added to the project issue tracker. Just to make a note, here's the current todo list, feel free to add to it if you think something's missing:
|
#195
|
||||
|
||||
1. We need a way to detect hung jobs. I have two jobs supposedly assigned to a client, but there is nothing running on the client. So there will be no forward progress until I restart everything.
2. Ability to adjust a job priority in the queue Last edited by lovingHDTV; 11-14-2008 at 03:51 PM. |
#196
|
|||
|
|||
Quote:
Adjust waiting task priority... will come with the queue editing updates... |
#197
|
||||
|
||||
In one case I killed the client. In most cases I was still trying to debug my client config rules, so comskip was dieing.
|
#198
|
|||
|
|||
Slugger,
1.Add the ability to archive..unarchive..set manualrec status. You seem to have everything covered. 2. Ability to tell each client when they can process ... ex time of day they can process. PS. Is shutting the client process as easy as shutting down the batch job or does it still stay connected? I shut down the batch job on a client but it still shows connected.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 11-15-2008 at 08:05 AM. |
#199
|
|||
|
|||
FileExists !=
It appears the FileExists != is not working.. but there is no way to tell at the moment what it's checking for and why the rule is not running.
the rule below doesn't work even though there is definitely no .working file. Code:
if [IsTV == "true" && IsActivelyRecording == "false" && Filename =$ ".mpg" && FileExists != "%d%\\%p%.working"]{ :PRIORITY 10 QUICKFIX }
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#200
|
|||
|
|||
Quote:
Snapshot 98 adds a new server setting: Debug. Set it to true to get all the debug info you can handle. I hesitated to put this in before adding some kind of log management features because of the massive amount of output it produces on each run of the queue loader, but obviously you need some kind of clue as to why your rules aren't doing what you expect. Give the server log viewer time to load when debug is true - it's a lot of output to be displayed. So keep this setting to false unless you really need the output and then when you're done remember to turn it off! Snapshot 98 also includes the fix for the FileExists test. Testing for the non-existence of a file did not work (!= operator simply ignored). This is fixed in 98. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Sage Job Queue (SJQ) v3 | Slugger | SageTV Customizations | 1355 | 07-25-2013 07:44 AM |
Sage Job Queue (SJQ) new release notifications | Slugger | Customization Announcements | 3 | 12-17-2009 09:59 AM |
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 |