|
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 |
#261
|
|||
|
|||
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#262
|
||||
|
||||
correct me if I am wrong but this should work for ignoring multiple channels
if [IsTV == true && IsActivelyRecording == false && ChannelName != "HBOHD" && ChannelName != "TMNHD" && ChannelName != "MXSHD"] { :PRIORITY 5 # optional HDCOMMSKIP } |
#263
|
|||
|
|||
Quote:
Code:
if [IsTV == true && IsActivelyRecording == false && ChannelName !% "HBOHD|TMNHD|MXSHD"] { :PRIORITY 5 HDCOMMSKIP } |
#264
|
|||
|
|||
I believe that I'm having a problem with my SJQ client getting stuck in the "STARTED" state when the file in the active queue no longer exists when the task starts. I'm seeing it when the tasks get backed up trying to process comskip on H264 recordings. I have intelligent suggestions turned on, so it is continually cycling through recordings. My only way to fix it is to stop the client, touch the sjq context file and then start the client back up.
Any thoughts on how I could remove tasks from the active list when the file gets deleted before the task has started? Thanks, Gregg |
#265
|
|||
|
|||
Quote:
Since I don't have access to an env to test the fix right now you'll have to trust my 1am java coding abilities. However, I'm fairly confident that it will do what it's suppose to or at the very least won't do any more harm than the current version. There is no way around this bug in the current version of SJQ other than to ensure that the media file exists for a queued task at the time the task is assigned to a client. The auto build scripts won't run until 6am so the build with this fix (snapshot 165) won't be available until shortly after 6am EST this morning. If you do give the snapshot a try please let me know if it works so I can use it as the basis for the complete fix next week. |
#266
|
|||
|
|||
Snapshot 165 has fixed the client task getting stuck in "STARTED" state. However, I have also had a couple of random "no response" from the SJQ server since then that I can't quite put my finger on that requires a restart of the SageTV service and not just a touch of the SJQ context. The SRE & SageTV Mobile web still work, so it doesn't seem that the jetty plug-in is crashing.
Thanks, Gregg |
#267
|
|||
|
|||
Quote:
Next time this happens can you try to load the GUI? Do you get a 404 error from Jetty? This would tell me that SJQ has crashed. If that does happen, can you enable debug logging in Jetty and look for a stack trace? A stack trace would really help me locate the problem area. In the mean time, I'm going to rework the fix so that these "problem" tasks simply vanish from the queue instead of being marked as done, which may fix this new issue as well. Hopefully I'll find a couple hours some evening this week to do it. Thanks.
__________________
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... |
#268
|
|||
|
|||
Quote:
Thanks, Gregg |
#269
|
|||
|
|||
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... |
#270
|
|||
|
|||
Quote:
|
#271
|
|||
|
|||
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... |
#272
|
|||
|
|||
I just noticed the time out problem again. I attached the most current jetty log file. The behavior is a bit different with snapshot 166, the logon window appears in the GUI, but I get a message that login failed "A request timeout has expired after 5000 ms" and the status in the lower right corner shows the text Loading... Loading... SJQ v2.0.1.166
|
#273
|
|||
|
|||
Quote:
Is it just a matter of the media file not being available at the time the corresponding task is to be assigned to a client that triggers all of these problems? If so, is it constantly reproducible?
__________________
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... |
#274
|
|||
|
|||
Where would I find the stderr.txt? I don't see it in the jetty log directory. However, I think this problem is not related to the missing media file, but when I switch back and forth between the completed and active pages too fast. I was just looking at the status of the active jobs and trying to determine how long the current task has been running and that is when it hung and now it's sitting at the same spot as before and I have to stop the sagetv service and restart to clear it.
thanks. Edit: Maybe I don't have debug enabled properly for jetty. Should it be DEBUG=true in the jettystarter.properties found in the sagtv directory? Last edited by gasinger; 01-03-2009 at 01:43 PM. |
#275
|
|||
|
|||
Quote:
I'm not trying to say a bug doesn't exist, instead I mention my inability to reproduce because if I can't reproduce it and I have no backtrace to work with then I have no idea where to start looking to fix it. So as you try to reproduce it please be sure to keep track, with as much detail as possible, exactly how to reproduce the problem.
__________________
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... |
#276
|
|||
|
|||
No, I can't reproduce it easily. Plus, I can't seem to get the jetty debug stderr to be created. The text in the jettystarter.properties indicates that it may be in the sagetv_0.log file, since that is where sagetv logs also. I am getting the sagtv logs in that file, but I don't find anything related to jetty in there. Although I don't know what to look for other that the word jetty.
|
#277
|
|||
|
|||
Quote:
Code:
=== GLOBAL OPTIONS === MAXPROCS => 3.0 === GLOBAL OPTIONS === This client has 2 ClientTask object(s) attached to it. === ClientTask 'HDCOMM' === MAX => 1.0 MAXRUNRATIO => true MAXRUN => 1.75 CPU => NORMAL Run: C:/comskip/comskip_sjq.bat "%c%" === ClientTask 'HDCOMM' === === ClientTask 'SDCOMM' === MAX => 2.0 MAXRUNRATIO => true MAXRUN => 0.25 CPU => NORMAL Run: C:/comskip/comskip_sjq.bat "%c%" === ClientTask 'SDCOMM' === Code:
Exception in the MiniUIClientReceiver of: java.io.EOFException java.io.EOFException at sage.bk$a.run(Unknown Source)
__________________
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... |
#278
|
|||
|
|||
Thanks. I do see the SJQ logs and then they just stop showing up ~ 8 hours after the last task that was started and that task was still running comskip. No Java Exception errors that I can find. I'll keep monitoring this problem and report back if I can narrow it down.
|
#279
|
|||
|
|||
I'd like to share briefly my experience so far. First, I downloaded, extracted, and installed to the letter of the directions, but I could not get SJQ to answer my web requests. Jetty was working fine, but I constantly received SERVICE_UNAVAILABLE accessing SJQ. I couldn't find anyone having this problem! I almost gave up, but I pressed on. I re-downloaded and extracted on a Windows XP machine, and everything started working perfectly! I was doing the extraction, etc, from my Vista machine. Lousy Vista! Anyway, after re-doing everything from an XP machine SJQ is running great. I have my Vista client running SJQ client to start Comskip, which runs against an XP machine which is my SageTV server. I am mapping the drive on the client to the server, Comskip runs great, and everything appears to be working well.
The only issue I see now is in the SJQ task history, everything is in the "Failed Tasks" list. Even Comskip jobs that seem to have run properly, created TXT, EDL, and good Log files and processed the MPG file, they still show up as failed tasks in the history. Thanks for a great program! It really is incredible. I have been wanting to run Comskip on my Vista Home machine to take advantage of the quad core processor, but had many authentication problems trying to connect back to my XP machine with Comskip Monitor or Dirmon2 running as a service. Since I don't have a domain I could not get the services to properly authenticate and Vista does not like to run things interactive with the desktop. The SJQ client running in a batch file after establishing a connection to my server works great! thanks again. 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 |
#280
|
|||
|
|||
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... |
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 |