|
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 |
#301
|
|||
|
|||
Quote:
I will investigate the split recording processing after I shovel the foot of snow out of my driveway. I've been staring at the driveway since 9am and now it's nearly 2:30 and the snow didn't manage to melt itself.
__________________
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... |
#302
|
|||
|
|||
Server snapshot 186 contains the fix for incorrect media variable expansion on all file segments after the first one (*-1.*, *-2.*, etc.). perfessor101 (and anyone else willing to help out), can you please test the fix and report back on its effectiveness?
__________________
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... |
#303
|
|||
|
|||
Happy to test it.
Can tell me how to accomplish this? Originally Posted by Slugger: "With SJQ you can even use external transcoding programs/scripts as well as the SageTV internal transcoder as needed." How do you do that within SJQ? and continue to have sage recognize the file? How do you get it to run an external transcoding? I would love to have Handbrake run all my transcoding... and still keep all the files in Sage. Last edited by edbmdave; 01-19-2009 at 10:17 AM. |
#304
|
|||
|
|||
Quote:
Load the queue: Code:
if [IsTV == true && IsActivelyRecording == false && IsWatched == false] { EXTTRANS } Code:
EXTTRANS { "C:/handbrake/handbrake.exe \"%c%\"" }
__________________
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... |
#305
|
|||
|
|||
Is it possible to use SJQ to run compression jobs off of the main server? I have my server auto compressing my selected series recordings, but it takes a long time on my older server. It would be great to be able to tell SJQ to run the compress job on another client like we do for comskip.
Scott
__________________
Server - Intel Pentium 3.2 - 3 GB RAM - WinXP SP3 - Headless 80GB system drive - 500GB Recordings - 2TB NAS (1) HVR-2250 Analog Cable & Clear QAM (1) HD Homerun clear QAM (1) KWorld 115 ATSC Tuner OTA (1) HD200 HDMI to Samsung 50" Plasma (1) MediaMVP to 19" in bedroom SageTV 7.0.23 release |
#306
|
|||
|
|||
There is still an issue of deleted files gumming up the works.
How do you force a client to stop processing a file? I have a client tring to comskip a deleted show, it will not process anything else until it's completed and it'll never complete as it doesn't exist. Stopping/starting the service both server/client don't seem to remedy it's listed as active and started and assigned. Is there something I can put in my task so it will check to ensure the media is there before running it? It seems my config the time it takes to catch up from something like this will force this to happen again a couple times in the next few days unless I do something. Or maybe something in the rules so it a started task takes more then X amount of time just mark it failed and go on. The client log shows: Code:
Date: Sat Jan 24 02:31:13 CST 2009 HTTP ERROR: 500 INTERNAL_SERVER_ERROR RequestURI=/sjq/SJQ Caused by: java.lang.NullPointerException at com.google.code.sagetvaddons.sjq.server.ClientParser$ClientTask.toJSONObject(Unknown Source) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doPost(Unknown Source) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:320) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Last edited by CollinR; 01-24-2009 at 10:39 AM. |
#307
|
|||
|
|||
Please help, I think I'm 9/10 of the way there but I don't know what I'm doing...
I've got SJQ installed (v2.1) and sjqc. It looks like it is doing something becuase I can see the web pages and edit server/client rules. I'm looking to be able to setup comskip to be run on the TV shows I've already recorded in SageTV. Here's my rules: //Comskip on MPEG if [IsTV == "true" && FileExists == "%d%\\%p%.mpg" && FileExists != "%d%\\%p%.edl" && IsActivelyRecording == "false"] { COMSKIPMPEG } Client: // Running Comskip on MPEG files (much quicker than TS files) COMSKIPMPEG { :CPU "NORMAL" # optional; one of NORMAL, HIGH, LOW :MAX 1 # Run no more than one instance of this task at a time on this client "C:/Comskip/comskip.exe -n \"%c%\"" # The %c% is expanded to the full path of the file to be processed } I haven't done anything else but this. I'm not seeing anything happen. I don't know how to tell whats happening or what I'm doing wrong. I've read about some log files, but I don't see anything anywhere. Can someone please help me out? -B Last edited by Beefcake550; 01-24-2009 at 10:38 AM. Reason: Fixed a typo I found |
#308
|
|||
|
|||
Beefcake, copy paste this.
Server Rules: Code:
//ComSkipSD if [IsTV == "true" && IsHD == "false" && FileExists != "%d%\\%p%.edl" && Filename =$ ".mpg" && IsActivelyRecording == "false" && ChannelNumber != "0|1|1400" && IsScheduledRecording == "true"] { COMSKIPSD } //CompressSD if [IsTV == "true" && IsHD == "false" && FileExists == "%d%\\%p%.edl" && Filename =$ ".mpg" && IsArchived == "true" && TranscodeQueueSize <= "5" && TimeOfDay <= "02:00"] { :TRANSCODEOPTS "MPEG4-High Quality Deinterlaced AVI" "false" _TRANSCODE } if [IsTV == "true" && IsHD == "false" && FileExists == "%d%\\%p%.edl" && Filename =$ ".mpg" && MediaAge >= "30D" && TranscodeQueueSize <= "5" && TimeOfDay <= "02:00"] { :TRANSCODEOPTS "MPEG4-High Quality Deinterlaced AVI" "false" _TRANSCODE } Code:
//Client options :MAXPROCS 1 // TASK definition COMSKIPSD { :CPU LOW :MAX 1 "C:\\Comskip\\comskip.exe -n \"%c%\"" } That will do your comskip as well as compress any SD mpgs that are either older then 30 days or have been marked as archived to xvid HQ. Have fun. EDIT: The problem was the slashes in your PATH\\TO/comskip.exe |
#309
|
|||
|
|||
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... |
#310
|
|||
|
|||
CollinR:
Thanks for the quickest response I've ever seen! Unfortunately, I still don't see anythign happening. I think the first step is to see jobs getting added to the queue, right? How can I see that? I've tried clicking on "data->active" on the webpage, but there is nothing listed. Thanks. |
#311
|
|||
|
|||
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... |
#312
|
|||
|
|||
ok, did that ...no luck.. .
Let me double check my thoughts.....Do I have to have a client connected in order for the "active queue" to get populated? I would think no, since there is a column labeled "assigned client". Is this true? Also, when installing jetty, there was something about a default user/pass of sage/frey I never had to enter that anywhere....what was that for? Any clues? -B |
#313
|
|||
|
|||
Quote:
SJQ does not use the Jetty authentication, it uses its own. If you install other apps in Jetty they may or may not use the Jetty authentication, which is what that id/pwd is for. Ok, next for you is to go to the settings tab, enable debugging, then manually trigger another run of the QueueLoader thread. Depending on the size of your media library, this is going to dump a massive amount of data to the logs, but it's also going to tell us why nothing is getting into the queue. After the QueueLoader runs go to the server logs and study the output, if you're not sure what you're reading, paste it in here (be sure to surround it in a "code" block in this thread for easier reading). After you run it once, be sure to turn off debug output or else you're going to swell your SJQ database to a crazy size rather quickly.
__________________
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... |
#314
|
|||
|
|||
ok, sorry to be such a newb, but I dont know how to enable debug logging. I foudn the settings tab, but there is just an empty list and I don't see how to add anything.
|
#315
|
|||
|
|||
That was it , thanks man!
|
#316
|
|||
|
|||
ok, sorry to be such a newb at this. I go the setting tabs and I just see an empty list and no apparent way to add an item. How do I turn on debug logging?
also, where would the log file be placed? -B |
#317
|
|||
|
|||
You should be seeing an options grid as in the screen shot attached. Bring up the settings submenu, click settings, then flip the debug switch. Be sure to flip it back after you run the QueueLoader once. (As I write this, I realize I should maybe rename one of those buttons.)
__________________
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... |
#318
|
|||
|
|||
oh.. very interesting...I'm not seeing that. I am using IE7 in vista......I wonder what's wrong.
|
#319
|
|||
|
|||
snap....I was using 127.0.0.1 as the ip address and for some reason when I switch it to my servers 192.x.x.x IP, it works. Go figure...
Thanks all...I'll post back if I have more problems. |
#320
|
||||
|
||||
How can I make multiple copies of comskip run on each client?
I also would like to have the captions processed at the same time as the commercials... An example of how that might be done would be great. This plugin rocks... can have any of the spare computers I have on my network do some of the processing work. Also how do I get it to fire off the commands as soon as it starts recording? Last edited by Wheemer; 01-24-2009 at 09:20 PM. |
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 |