|
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 |
#781
|
||||
|
||||
Hey, I just PM'd you.
Also, how would I rebuild the wiz.bin? Is there a way to repair it without losing my viewing history and pointers to my current recordings? |
#782
|
||||
|
||||
FYI I did a repair_mismatched_media=true last night, and brought sage down and back up this morning, but I am still having the problem.
|
#783
|
|||
|
|||
Try snapshot 484, should fix the problem. I do not have time to run any thorough testing on this build so please report back your findings.
__________________
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... |
#784
|
||||
|
||||
Quote:
If you did, hopefully it did not take a lot of time, and thanks a lot! I already loaded it and it looks like it is working. |
#785
|
||||
|
||||
Slugger, I know you're busy, so take your time. Perhaps someone else will be able to help me out. The SJQ service keeps crashing on both my XP client and my WHS box. I can't figure out what's causing it. I see this in the wrapper.log on the server:
Code:
INFO | jvm 1 | 2009/06/26 17:11:42 | Connection refused: connect INFO | jvm 1 | 2009/06/26 17:32:24 | Exception in thread "Thread-294" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 17:32:24 | at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2009/06/26 17:32:24 | at com.google.code.sagetvaddons.sjqc.IOMonster.dumpBuffer(Unknown Source) INFO | jvm 1 | 2009/06/26 17:32:24 | at com.google.code.sagetvaddons.sjqc.IOMonster.run(Unknown Source) INFO | jvm 1 | 2009/06/26 17:32:24 | Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 17:32:24 | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) INFO | jvm 1 | 2009/06/26 17:32:24 | ... 3 more INFO | jvm 1 | 2009/06/26 22:01:13 | Exception in thread "Thread-323" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 22:01:13 | at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2009/06/26 22:01:13 | at com.google.code.sagetvaddons.sjqc.IOMonster.dumpBuffer(Unknown Source) INFO | jvm 1 | 2009/06/26 22:01:13 | at com.google.code.sagetvaddons.sjqc.IOMonster.run(Unknown Source) INFO | jvm 1 | 2009/06/26 22:01:13 | Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 22:01:13 | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) INFO | jvm 1 | 2009/06/26 22:01:13 | ... 3 more INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: Encountered an error running main: INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.log(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.pop(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.run(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at com.google.code.sagetvaddons.sjqc.TaskClient.main(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://mediaserver:8125/sjq/SJQ?proto=2&cmd=writeLog INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) INFO | jvm 1 | 2009/06/26 22:02:05 | WrapperSimpleApp: ... 11 more STATUS | wrapper | 2009/06/26 22:02:07 | <-- Wrapper Stopped
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#786
|
|||
|
|||
What version of SJQ are you running? If anything below official 2.1.4 then upgrade to the latest snapshot. This looks like the DB locking problems seen in 2.1.3 and older. Errors that should be fixed in 2.1.4 and above.
__________________
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... |
#787
|
||||
|
||||
SJQ is 2.1.4.466 and SJQC is 2.1.4.468
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#788
|
|||
|
|||
Need to see the server logs then. The 500 errors reported by the SJQC client would be caused by the server throwing an exception. Check the server logs in SJQ and paste in the exception(s) seen.
__________________
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... |
#789
|
|||
|
|||
Also, try upgrading to the latest snapshot build. Let me know if the problems persist with the latest snapshot build.
__________________
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... |
#790
|
||||
|
||||
Unless there are exceptions that don't actually write the word "exception" to the log, I don't see any. I'm attaching the current log for your better trained eyes. I'm upgrading to sjqc 2.1.5.484 on both PCs, but I don't see a more recent sjq service for me to install on the server. Did I overlook it? I'm hesitant to change over from service to non-service and alter something that gets rid of the issue, but I'm at your disposal.
EDIT: When I went to install the client, I remembered that I was running them as services and noticed that there isn't a later build than 468. I also realized that SJQ isn't installed as a service on the server, so I'm installing the latest there. I think I'm writing this too early in the morning! Sorry for the confusion here.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 Last edited by Skirge01; 06-28-2009 at 08:41 AM. |
#791
|
|||
|
|||
Code:
2009/06/28 09:31:52.589 LogCleaner instance finished [47937ms] {snip} 2009/06/28 09:35:54.386 FileCleaner instance finished [289734ms] If SJQ server isn't throwing exceptions, then something else is. Any 500 HTTP response by Jetty should result in an exception being thrown, if not by SJQ then by Jetty. Check the Jetty logs (enable them, if necessary). There might be a system and/or Jetty problem behind all of this.
__________________
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... |
#792
|
||||
|
||||
Any chance this is simply due to the amount of storage I have? I've currently got about 6TB in storage, containing about 1k TV recordings and over 4k files in the storage pool when you factor in edl, log, txt, my, properties, and jpg files.
I did use slower, WD Green drives, but this would be the very first time that I've seen any sort of disk bottleneck. I'll also turn on logging for Jetty and keep an eye out for any issues.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#793
|
|||
|
|||
SJQ simply gets a directory listing, even with the largest of file counts in a directory, it should never take ~5 minutes to scan through a list. If you continue to have problems then try disabling use of the file cleaner feature in SJQ. If that fixes the problems then we at least know exactly what's causing the problems then we can try to narrow down the issue within the SJQ code through some debug builds.
Definitely can't do any debug builds for probably at least a week as my Sage system is offline, shutdown, and sitting in a box on a floor at the new house. Probably going to be at least a week or so before I even think about unpacking stuff in the new office. So for now, I'd definitely try disabling the file cleaner and see if that at least stops the clients from failing. Getting any exception dumps from the Jetty logs would also be helpful as we'll need to track down the root cause of the 500 errors the clients are seeing.
__________________
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... |
#794
|
||||
|
||||
Thanks, Slugger. Take your time.
I turned off the file cleaner as of the 28th and I haven't had any frozen threads since. I'll give it about a week before I say that definitively stopped the problem. I'm also going to run some I/O tests on my drives to see if there's an obvious bottleneck there. I have the WD Green drives and a lone Samsung F1 I haven't replaced with a WD yet. That actually reminds me... my single Samsung F1 is not formatted in 64k blocks like the WD's yet. I don't know if that might be a barrier. I'll still run HD_Tach to see what kind of performance I'm getting on them.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#795
|
|||
|
|||
It might not be h/w... typically, when dealing with network drives, I'd start investigating your DNS setup. Is your Sage server able to quickly resolve your network drive names (i.e. \\hostname\...)? My general experience with network file systems when things start to take way too long is some kind of network config problem. Perhaps the JVM is trying to resolve your hostname via DNS and then going to a hosts file or something only after it times out? That would explain why the scans are so slow, but don't appear to error out. I'd start there before doing any h/w tests.
Since disabling the file cleaner has the log clener been running quicker?
__________________
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... |
#796
|
||||
|
||||
Just pulled it up now and saw this:
Code:
2009/06/30 15:01:03.465 LogCleaner instance started 2009/06/30 15:01:03.465 FileCleaner instance started 2009/06/30 15:01:03.465 File cleaner settings cannot be empty! 2009/06/30 15:02:01.169 LogCleaner instance finished [57704ms]
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#797
|
||||
|
||||
Sorry, forgot to answer the first part of your question. Regarding the network browsing, it sure seems to happen pretty quickly, but, to be honest, I'm not sure how quick it should be. I pull up network shares off my WHS box all the time when copying Blu-rays over and the folders pop up within a couple of seconds, no matter which computer I'm using. I enabled jumbo frames for my entire network about 2 months ago, but I wouldn't think that would slow something like this down, unless I missed a NIC and jumbo frames aren't enabled someplace. I'll try to verify this, as well as possibly turning off jumbo frames for testing purposes.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#798
|
||||
|
||||
Variables to custom commands
Quote:
SJQ - love this plugin to SageTV! Been using SJQ for the last two months, offloading comskip/transcoding from my underpowered sagetv server to desktop. Also adding variables to custom commands would really be a nice additional feature,any plans for this? Code:
# Sample Server Config # Run video convert on The Daily Show if [IsTV == "true" && IsActivelyRecording == "false" && Title =^ "The Daily Show" && FileExists == "%d%\\%p%.ts" && FileExists != "%d%\\%p%.mp4"] { :PRIORITY 9 HBCONVERT tv 2pass } # Run video convert on The Colbert Show if [IsTV == "true" && IsActivelyRecording == "false" && Title =^ "The Colbert Show" && FileExists == "%d%\\%p%.ts" && FileExists != "%d%\\%p%.mp4"] { :PRIORITY 8 HBCONVERT tv 1pass } # Run video convert on Phineas and Ferb if [IsTV == "true" && IsActivelyRecording == "false" && Title =^ "Phineas and Ferb" && FileExists == "%d%\\%p%.ts" && FileExists != "%d%\\%p%.mp4"] { :PRIORITY 7 HBCONVERT cartoon } Code:
# Sample Clients Config :MAPDIR "D:\\MyVideos" "\\\\pvr01\\Videos" COMSKIP { :CPU LOW :MAX 2 "C:\\dvd\\tools\\comskip.bat" "%c%" } HBCONVERT { :CPU low :MAX 1 # where %1 %2 .... would be options passed from the server to the client "C:\\dvd\\tools\\hbconvert.bat" "%c%" "%1" "%2" } |
#799
|
|||
|
|||
loki,
What kind of variables do you want to pass? You can pass any variable to a batch job I currently do this Makes a Directory with the title name. mkdir { :CPU BELOWNORMAL :MAX 1 "s:\\SJQSAGE\\mkdir.bat \"%c%\" %t%" } I also Do this PASS1XVID { :CPU BELOWNORMAL :MAX 2 "S:\\mysagelocal\\MPG2AVIHB.bat \"%c%\" c:\\sjqencode 448 800 1" } SHRINK { :CPU BELOWNORMAL :MAX 1 "C:\\SHRINK\\mediaShrink.exe \"%c%\" /inPlace /divx /cutComm /cliBitrate 1000 /onePass /horizontalScale 512 /mp4" }
__________________
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; 07-01-2009 at 02:25 PM. |
#800
|
||||
|
||||
Quote:
nyplayer was trying to have the 'server' config do the checking logic and pass options to the called client job, kind of like how the :TRANSCODEOPTS field works. This way keep everything to a single job name in the client config. So the following non-working sample would call HBCONVERT with two options option 1: tv option 2: 1pass Code:
# Run video convert on The Colbert Show if [IsTV == "true" && IsActivelyRecording == "false" && Title =^ "The Colbert Show" && FileExists == "%d%\\%p%.ts" && FileExists != "%d%\\%p%.mp4"] { :PRIORITY 8 HBCONVERT tv 1pass } From your example I would need a client job per option set? Code:
HBCONVERT { :CPU low :MAX 1 "C:\\dvd\\tools\\hbconvert.bat" "%c%" } HBCONVERT2PASS { :CPU low :MAX 1 "C:\\dvd\\tools\\hbconvert.bat" "%c%" twopass } HBCONVERTCARTOON { :CPU low :MAX 1 "C:\\dvd\\tools\\hbconvert.bat" "%c%" cartoon } Gonna give your idea a try now, thanks for the help. |
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 |