|
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 |
#381
|
|||
|
|||
I'm not familiar with VideoRedo - don't use it myself - but I can tell you that SJQ runs all processes as the same user that SageTV is running as and if you're running SageTV as a service (on Windows) then this is likely the LocalSystem account, which may or may not be causing you these problems. Again, I don't use VideoRedo so just consider this as something to think about and hopefully it points you in the right direction.
I seem to recall at least one other person using VideoRedo with SJQ, perhaps they'll see this and chime in with some more specific advice.
__________________
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... |
#382
|
||||
|
||||
Quote:
This the batch file I'm using: set fname=%~d1%~p1%~n1 C:\sjqc\MediaShrink\mediaEngineBins\touch.exe -r "%~f1" "%fname%.timestamp" start /I /NORMAL /WAIT C:\sjqc\MediaShink\mediashrink.exe "%~f1" /InPlace C:\sjqc\MediaShrink\mediaEngineBins\touch.exe -r "%fname%.timestamp" "%fname%.mkv" del "%fname%.timestamp" I changed it to NORMAL to test, still no luck. EDIT: Nevermind... I'm retarded. I misspelled the directory name... idiot. Thanks to everyone who helped!
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 Last edited by ChaOConnor; 01-25-2010 at 03:43 PM. |
#383
|
||||
|
||||
Comskip never finishes
I've got everything set up OK, but running into a problem when running comskip against my recordings.
SJQ hands the job off to the client also running on my server. The comskip (latest donator) process starts, but never finishes according to SJQ. It sits in the active queue forever saying "running". I can see comskip in task manager running. It eventually goes to 0% cpu, there are txt and log files for the show, but no .edl. The sjqc also keeps throwing errors (see attached). My client properties are as follows: COMSKIP { :RESOURCES 75 # Up to 4 comskips can be run simultaneously (every client has exactly 100 resources available) # CPU priority to be used for this task process; one of LOW, NORMAL, HIGH (case sensitive) :CPU "NORMAL" # Default is NORMAL if not specified # Comskip returns 1 on success instead of the universally accepted zero; tell SJQ that # a return code of 1 means success instead of the default value of zero :RETURNCODE 1 # :OFFHOUR "0-1,12-23" # 8pm - 9:59pm and 7am to 9:59am "C:\\Comskip\\comskip.exe \"%c%\"" } My properties file looks like this: buffer=199000 port=8500 host=localhost is_ssl=false sleep=300 There is nothing in the client log. Anyone have a suggestion?
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 Last edited by SteveW; 01-25-2010 at 09:03 PM. |
#384
|
|||
|
|||
Hmm... seems like a possible miscalculation on my part - maybe, not sure. Let's find out.
Can you confirm that you did not increase Jetty's max post request size as described at the beginning of the User's Guide? Assuming you didn't then there are two fixes: 1) Increase Jetty's max post size as described in the installation section of the online User's Guide. This is the better choice since it allows you to keep a higher buffer value, though this would require a stop/restart of SageTV 2) Stop the task client and decrease the buffer size from 199000 to 65000 then restart the task client Either one should fix the problem, please let me know if it does. I suspect the problem is that I'm not accounting for the encoding of the log output so even though the client is only buffering 199000 bytes of output, when it's encoded for HTTP transfer that output becomes larger (in theory up to exactly 3x larger and 3 x 199000 > 200000, which is the problem if you didn't increase Jetty's max post size). Practically speaking, the encoded buffer is probably just slightly going over the 200000 limit, but still anything over 200000 will cause the errors you're seeing. Anyway, choose a fix and let me know how it goes.
__________________
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... |
#385
|
||||
|
||||
Quote:
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 |
#386
|
|||
|
|||
Which fix did you go with?
__________________
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... |
#387
|
||||
|
||||
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 |
#388
|
|||
|
|||
All SJQ users who have not increased Jetty's max post request size should decrease the task client buffer from the default value of 199,000 to 66,666 or lower in order to avoid this bug. SJQ v3.0.2 will automatically reset this for you. Gory details on the bug available here. Also, star the issue if you want to be notified when a task client with the fix is available.
__________________
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... |
#389
|
|||
|
|||
I posted this as an issue on the code.google site.
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide Last edited by superdodge; 01-27-2010 at 06:31 PM. |
#390
|
|||
|
|||
Quote:
The client logs don't log too much and if the cause of all of this is the task client crashing then those client logs aren't going to record that problem. What you need to do is to look in the wrapper.log file. It's found in the logs subdirectory where you installed the task client. Have a look at the wrapper.log file and see if any exceptions are being logged in there, if so, that's what I need to see.
__________________
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... |
#391
|
|||
|
|||
Quote:
When this happens the items stay in the active queue with a "Running" status until I manually kill them. The processes do not stay listed in the Windows Task Manager. I am going to dig through wrapper.log right now. Thanks again -RL
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide |
#392
|
|||
|
|||
From wrapper.log:
Quote:
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide |
#393
|
|||
|
|||
What does your sjqc.properties file look like? FYI: The task client runs in its own JVM so it would be using the default heap size. However, unless you've jacked up the task client buffer value, I don't see any reason why you'd be exhausting the heap.
__________________
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... |
#394
|
|||
|
|||
sjqc.properties
Quote:
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide |
#395
|
|||
|
|||
Quote:
There are alternatives if you increase the Jetty max post value. After increasing the Jetty max post value, you could then alternatively increase the heap size for the JVM running the task client if you wanted to keep a 5MB task client buffer. However, I don't see a need for a 5MB task client buffer. My recommended solution: increase Jetty's max post setting and reset this buffer to a value between 128,000 and 200,000. Please confirm if that gets everything working again.
__________________
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... |
#396
|
|||
|
|||
I see the appropriate passage in the SJQ3 User's Guide now.
Thank you SO much for your help. Quote:
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide |
#397
|
|||
|
|||
hi,
I've had a challenge with the _RELINK command - it seems that in rare cases the result is that SageTV thinks that the tvshow is a music album after linking a new file to an existing airing. I tried to remux a .ts to a .mpg as I thought my player would understand .mpg better in combination with external subtitles. VLC gets the conversion done nicely but when I linked the new file I got the show in archived files (documented and easy to fix) but also as a music album. I have no clue why/when - I tested a show 2 airings same name different episode - one had the problem the other one did not. In the mean time I found out that my player does behave nicely so I don't need to replace files anymore. So use with care. Apart from that - really beautiful tool - learning curve is worth the result! Jan |
#398
|
|||
|
|||
If a file ends up listed as music, then it's likely a result of SageTV's import. All I do in the plugin is add the file to the SageTV library - SageTV processes the file and decides what type of file it is, etc. It seems your conversion results are confusing SageTV as to the type of file it is. I have not seen this behaviour personally and if you constantly see it then you might be inclined to open a bug report with Sage, post the file that's being listed in music for them to download and have them investigate the import issue.
If you do decide to open a bug report with Sage, you may want to point them to the code I'm using to do the relink task. It is available here: http://code.google.com/p/sagetv-addo...gRelinker.java
__________________
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... |
#399
|
|||
|
|||
Quote:
Thanks! |
#400
|
||||
|
||||
Slugger,
SJQ is running fine, but whenever I try to get my server logs I get this: HTTP ERROR 500 Problem accessing /sjq/SJQ. Reason: sjq.log (The system cannot find the file specified) Caused by: java.io.FileNotFoundException: sjq.log (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doPost(SJQServlet.java:263) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doGet(SJQServlet.java:100) 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:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) 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:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) 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:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Powered by Jetty:// any ideas?
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
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 |