|
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 |
#521
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#522
|
|||
|
|||
razrsharpe is right, all the method calls come from the Sage API. More details are in the user guide as to which APIs are exposed, etc. (it's all in the "available tests" section of the SJQv3 guide). I think for DVDs you're going to have to use the MediaTitle test or maybe even the subtitle, not sure.
__________________
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... |
#523
|
|||
|
|||
Items not getting added to the queue. I noticed today that my queue was empty. I then was goign to watch a recent recording and it had not been processed by comskip. Upon further investigation it appears that SJQ isn't adding anything to the queue anymore. If I restart my computer, SJQ will run as expected and will add items to the queue, but it doesn't update. I even tried manually running the MediaFileQueueLoader and nothing. Any suggestions on where I can start to resolve this issue.
|
#524
|
|||
|
|||
Logs... look for exceptions in the server logs (sjq.log in root sagetv install dir). It sounds like the SJQ server is crashing, but hard to confirm that based on your provided description alone. Do jobs stop queuing or do jobs queue up, but are never run (i.e. stuck in waiting state)? If the former then look in sjq.log for exceptions. If the latter, then look in the task client logs to see if the task client is the crashing.
__________________
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... |
#525
|
|||
|
|||
Some (hopefully) quick questions which are kind of getting in the way of me troubleshooting other issues still:
1)I'd like to clear out the server log, but can't when the SageTV service is running. I stop the service, but then after pressing 'clear logs', the message at the top is red and says "Log deletion:". So I try reloading the page and it asks for my password, but then says "Invalid password". Once I start the SageTV service again, I can log in but the server log is the same as it started. GOTO 1) 2) It seems like even though I've installed (to the best of my abilities) the NT SJQTaskClient service, rebooting finds it's not started up automatically. It's listed in the 'services' tab in msconfig, but not the 'startup' tab, even though it's startup type is set to 'Automatic' under computer management\services . And periodically, I click on the client tab and see no clients. I try 'net start' but it says it's already started. Net stop then net start again seems to pop it back in the Client list. |
#526
|
|||
|
|||
Quote:
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... |
#527
|
|||
|
|||
Server is running, jobs are queued, but the task client won't start.
Here is my sjqc.properties: host=localhost *i have also replaced this with the actual ip add, no help port=8080 *same port i am running the mobile web server on, if it matters buffer=199000 sleep=300 is_ssl=false Here is the line I added to wrapper.conf so I could keep everything in the sage directory: wrapper.app.parameter.2=C:\Program Files\SageTV\SageTV\SJQ When I either "net start" from cmd or start the SJQTaskClient from the services console, I get an "error code 1" What other info can I provide?
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#528
|
|||
|
|||
Either replace the back slashes in the path with double back slashes or flip them around to single forward slashes.
C:\\Program Files\\SageTV\\SageTV\\SJQ OR C:/Program Files/SageTV/SageTV/SJQ
__________________
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... |
#529
|
|||
|
|||
So, here's the latest update on my ongoing month-long quest now to get jobs off 'WAITING':
I got rid of that underscore in my task name, but that still didn't get them starting. I haven't been able to replicate it, but once I found all the jobs in the 'failed tasks' list because it didn't like the space in my batch file path (so I put a second layer of extra quotes around everything). But like I said, I haven't been able to get the jobs to start again and so haven't seen if that was beneficial. So I went back to my first post and followed all your instructions a second time. Jobs still all at 'WAITING', and no mention of a [ClientParser] line in the log. Here's my debug log again and my client task rule. TRANSCODENORMAL { :RESOURCES 80 :CPU "LOW" ""C:\\Program Files\\SageTV\\SageTV\\PostProcessing.bat" \"%c%\"" } |
#530
|
|||
|
|||
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... |
#531
|
|||
|
|||
Fixed the slashes, still not working. Any other thoughts?
thanks again
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#532
|
|||
|
|||
Go to the dir where you installed the client. In that dir there should be a logs subdir. In there should be a file called wrapper.log. Have a look in there for a clue as to what the problem is. My next guess is that java.exe is not available on your system path. But have a look in the wrapper.log file first.
__________________
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... |
#533
|
|||
|
|||
That got it. Needed quotes around the path because of the space in "Program Files"
thanks!
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#534
|
|||
|
|||
The client log from the SJQ page is empty. Grr... Let's see...what other logs might have information on this? Is it possible something's wrong w/ the Jetty install? If this helps at all, here's a section from the wrapper.log that seems like there was an error:
STATUS | wrapper | 2010/03/14 15:02:40 | Launching a JVM... INFO | jvm 1 | 2010/03/14 15:02:40 | WrapperManager: Initializing... INFO | jvm 1 | 2010/03/14 15:02:40 | SJQ Task Client v3.0.1.705 INFO | jvm 1 | 2010/03/14 15:02:40 | Using 'C:/sjqc' as location for configuration file... INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: Encountered an error running main: INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8500/sjq/SJQ?proto=4&cmd=writeLog INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.pop(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.run(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.main(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8500/sjq/SJQ?proto=4&cmd=writeLog INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source) INFO | jvm 1 | 2010/03/14 15:07:40 | WrapperSimpleApp: ... 11 more STATUS | wrapper | 2010/03/14 15:07:42 | <-- Wrapper Stopped STATUS | wrapper | 2010/03/14 16:15:28 | --> Wrapper Started as Service |
#535
|
|||
|
|||
That error is the problem, it's causing the task client to crash. The fix is to decrease the buffer value in your sjqc.properties file to 65000 (from the default 199000) and/or reconfig Jetty to accept larger post requests (this process is described in the installation section of the online user's guide).
Alternatively, stop the task client, delete your sjqc.properties file and upgrade to the latest snapshot build of the task client (3.0.2.771), which will also properly set the recommended default buffer value back below 66666 (though the above should be sufficient to address the issue).
__________________
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... |
#536
|
|||
|
|||
resolved my other issue... looks like some of my home automation stuff had locked up and caused havoc on my system. All sorted out now.
I do have a quick coding question. Any idea of a way to automatically rename the shows episode title to include the season and episode number? I'm guessing it's probably beyond the scope of this plugin, but thought I'd ask. |
#537
|
|||
|
|||
You can use SJQ to identify the recordings you want to rename, but there is no internal function in SJQ that will allow you to perform the actual rename. You'll have to write an external script or program to do the rename and then call that script as a task in SJQ. Use the remote API plugin and write a script against it to do the rename, shouldn't be too difficult to achieve the desired results.
__________________
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... |
#538
|
|||
|
|||
Is there a way to have SJQ monitor the media library folders and update the database whenever a new file or folder is added to any of them. To clarify, I am not looking for it to run a full media scan of the imported but rather just perhaps modify wiz.bin (is it?) for the one media that was just added.
I would like to have imported media or ripped dvd's available for playback soon after the process is finished. Thanks. |
#539
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#540
|
|||
|
|||
I see. Thanks, will look into dirmon2 and using bmt from a command line.
|
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 |