SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #621  
Old 04-16-2010, 03:23 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
I've had SJQ 3.0.1.704 running for some time now, and it has been working perfectly. In the last couple of weeks I've started having some problems.

I use SJQ to run comskip. What the symptom is, is that I'll notice a show has no commercials marked. I'll then try to log into the SJQ web interface through Jetty (1.6) to see what is going on. When I connect to the SJQ URL, I get the SJQ admin password prompt as I should. When I type in the password and click "Login", nothing happens. I see the prompt window still there for the password, the the masked text I typed for a password, but clicking "Login" does not get me past the prompt to use SJQ.

My other Jetty apps are working fine. If I shut sage down, and start it back up, my SJQ rule fires, and all of the shows that weren't comskipped yet start processing. As well, I can now login in successfully to the SJQ website in Jetty.

Not sure where to start chasing this problem. Are login attempts into the SJQ application logged anywhere? I don't think it's a Jetty issue as I can get in and log into BMT, Sage Web Server, etc.... Any suggestions?

Tnx!
__________________
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
Reply With Quote
  #622  
Old 04-16-2010, 04:36 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Upgrade to the latest snapshot (3.0.2.790) and see if you continue to have problems. The best thing to do is to enable debug logging in Jetty and scan the Jetty logs for possible errors. It sounds like one or more of the SJQ threads may be getting into an infinite loop or dying off, but it's hard to say. If that were the case, I'd usually see such problems on my own installation, but of course it depends exactly what's causing it (perhaps you're using SJQ in a way that I'm not, which is very possible).

Either way, this kind of problem is going to require you to be running the latest version of the code base, since that's the version I'm running and I don't have the resources/hardware/etc. to run multiple versions. So upgrade to the latest snapshot and see if the problem continues. If so, then enable the Jetty debug logging and see if that shows anything.

In an ideal world, if the problem continues, you'll be able to easily reproduce the problem and explain how I can reproduce it. If I can't reproduce a problem on my system then it's really hard for me to track it down and fix it. In such cases, we have to start adding debug code all over the place to try and pinpoint the problem and then it gets real tedious (not that I'm against doing it, but it's not fun for either of us if we get to that stage).
__________________
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...
Reply With Quote
  #623  
Old 04-16-2010, 04:39 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
No problem. I'll download that version and give it a go. Tnx!
__________________
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
Reply With Quote
  #624  
Old 04-16-2010, 10:25 PM
personalt's Avatar
personalt personalt is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 243
Can the sjq client be run as a service in windows 7 64 bit?

I remember having a problem when I first set it up but never went back to it. If I recall the script to set it up as service would fail.

I have it running fine as a command line script but would it to run as a service so I dont have to login
Reply With Quote
  #625  
Old 04-16-2010, 10:38 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
I just installed the task client as a service on Win7 32 bit. I got the same error initially as you (installing as service failed), but all I had to do was right click on the InstallApp-NT.bat file and run it as Administrator and then it was business as usual.
__________________
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...
Reply With Quote
  #626  
Old 04-17-2010, 08:05 AM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Help?

I am now running SJQ 3.0.2.790 with the hopes of fixing my issue with Comskip not generating edl files on h.264 files. I am running the latest version of "donator" comskip and been working with erik on his forum. erik so far thinks comskip is working properly. I have output_edl=1 setting (always did)

SJQ and comskip work fine on mpg files. When they run on h.264 files it appears to work as .log files are created and an .edl is created and as soon as it is done the edl and log files disappear with only a .incommercial file remaining on all these files. I have been running 2 cores on files over the past couple of days and am getting nowhere.
Does this sound familiar to anyone?
Any comments are appreciated.

Ruleset:
if [IsObjMediaFile == true && $.IsTVFile{} == true && FileExists != "%d%/%p%.edl" && $.IsNotManualOrFavorite{} == false && $.GetAiringChannelName{} !% "CSPAN.*|ACMAX.*|KAIDDT.*|STARZ.*|STZ.*|HBO.*|.*MAX.*|SHO.*|TMC.*|PPV\\d+"] {

COMSKIP
}

Client:
COMSKIP {
:RESOURCES 50 # 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

"C:/Comskip/comskip.exe \"%c%\""
}
Reply With Quote
  #627  
Old 04-17-2010, 08:37 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Seems like SJQ is running your tasks properly. I'd probably head over to the comskip forums and see what causes the edl, etc. to be deleted and only the .incommercial file to remain. I've personally never seen this .incommercial file.
__________________
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...
Reply With Quote
  #628  
Old 04-17-2010, 10:01 AM
Jason's Avatar
Jason Jason is offline
Sage Expert
 
Join Date: Nov 2003
Location: Texas
Posts: 598
Quote:
Originally Posted by personalt View Post
Can the sjq client be run as a service in windows 7 64 bit?
Works fine here...

Win7 x64 Ultimate
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<--
Reply With Quote
  #629  
Old 04-17-2010, 10:42 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Do you have file cleanup configured? If so, you you have the proper file extentions defined in the "when no corresponding files..." area?

FYI, the .incommercial file is generated if you configure comskip to process "recordings in progress".
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #630  
Old 04-17-2010, 10:53 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by KarylFStein View Post
FYI, the .incommercial file is generated if you configure comskip to process "recordings in progress".
thats how i process my comskip recordings (live)... and i cant say ive ever seen the incommercial file... does it stick around? or is it only there when comskip truelly thinks you are "in commercial"?
__________________
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
Reply With Quote
  #631  
Old 04-17-2010, 11:10 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by razrsharpe View Post
thats how i process my comskip recordings (live)... and i cant say ive ever seen the incommercial file... does it stick around? or is it only there when comskip truelly thinks you are "in commercial"?
It's only if you set live_tv=1 in the comskip.ini and it sticks around even after the recording is finished. I'm not exactly sure what this does, (still playing around with Comskip and SJQ to find the best settings), but my understanding is: comskip can process "recordings in progress" without this setting, but setting live_tv to 1 causes comskip to write the output files more frequently. I haven't yet tried my "record the game and start watching it 30 minutes later" bit to see what if any difference live_tv makes. I will over the next few days, though, because the Wings are starting at decent hours .
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #632  
Old 04-17-2010, 11:24 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
live_tv=1 in comskip.ini here and no incommercial files....
__________________
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
Reply With Quote
  #633  
Old 04-17-2010, 11:37 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by razrsharpe View Post
live_tv=1 in comskip.ini here and no incommercial files....
No idea then. I think from when I read the changelog it's a somewhat new addition, and I'm using the latest donor version, so not sure. Like I said, I'm new to SJQ and comskip.

That said, I am very impressed with the SJQ + Comskip combination so far. I've been using Dirmon2 and SA for a long time, but based on what I've seen, it looks like I'm moving away from them. Granted, I never put much effort into tweaking SA--even though it wasn't perfect, it wasn't off-base enough to worry about. But Comskip out of the box has been silky-smooth in its transitions, (the skips have not been jarring for the lack of a better/more scientific description). And I like the flexibility + web visibility for SJQ. Nice work.

I've put SRE, (be nice to not have to remember to manually pad games), and SageAlert on my "to try" list .
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #634  
Old 04-17-2010, 04:52 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
I am trying to test without sjq running by rebooting the pc and not starting up sjq or the client. When I look in the sjq.log file it appears to still be running as it has a current timestamp in the log. Looking through the processes in task manager I don't see it running unless it is called something else. Can anyone help?
Reply With Quote
  #635  
Old 04-17-2010, 05:05 PM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Slugger, my SJQ setup is getting buggy. It's my fault I'm sure, but something has changed, probably due to a windows update as I don't touch my WHS box much. Now SJQ Client on my Win 7 box can't connect to the WHS box, in fact the service fails, says it gets a 403 error when trying to write the log to the WHS box. The log file on the WHS box reports the same thing, "NotAuthorized".

What I can't figure is I haven't touched SJQ in months since I got it running, and I was away for work last week and saw a bunch of failed tasks which made me go and check.

Any ideas what could be causing this? Thanks in advance for your help!

- Cha
__________________
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
Reply With Quote
  #636  
Old 04-17-2010, 05:38 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by HuMan321 View Post
I am trying to test without sjq running by rebooting the pc and not starting up sjq or the client. When I look in the sjq.log file it appears to still be running as it has a current timestamp in the log. Looking through the processes in task manager I don't see it running unless it is called something else. Can anyone help?
In SageTV/jetty/context/ dir move the sjq.context.xml file out of that directory to stop SJQ. Replace the file into that dir to restart it.
__________________
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...
Reply With Quote
  #637  
Old 04-17-2010, 05:41 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by ChaOConnor View Post
Slugger, my SJQ setup is getting buggy. It's my fault I'm sure, but something has changed, probably due to a windows update as I don't touch my WHS box much. Now SJQ Client on my Win 7 box can't connect to the WHS box, in fact the service fails, says it gets a 403 error when trying to write the log to the WHS box. The log file on the WHS box reports the same thing, "NotAuthorized".

What I can't figure is I haven't touched SJQ in months since I got it running, and I was away for work last week and saw a bunch of failed tasks which made me go and check.

Any ideas what could be causing this? Thanks in advance for your help!

- Cha
I'm not exactly clear as to what the issue is. You can load the SJQ web site and it lets you login, but then you get the NotAuthorized errors? Which pages give you that error? Is SJQ still running? Check the sjq.log file in the root SageTV install dir. What is that telling you?
__________________
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...
Reply With Quote
  #638  
Old 04-17-2010, 06:07 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by Slugger View Post
In SageTV/jetty/context/ dir move the sjq.context.xml file out of that directory to stop SJQ. Replace the file into that dir to restart it.
Thanks!

eric over at comskip had me drop a h.264 file onto comskip.exe to see if it generated an edl file. It did and then was self deleted in about 10 minutes or so. I have the SJQ file cleaner totally empty and I cannot figure out why my h.264 log and edl files are being deleted automatically. I have now stopped sjq altogether and running another test to see if that yields a clue.
Any other thoughts on what could be autodeleteting edl files on my system for only h.264 files? The edl files are not deleted on mpg files...
Reply With Quote
  #639  
Old 04-17-2010, 06:35 PM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Quote:
Originally Posted by Slugger View Post
I'm not exactly clear as to what the issue is. You can load the SJQ web site and it lets you login, but then you get the NotAuthorized errors? Which pages give you that error? Is SJQ still running? Check the sjq.log file in the root SageTV install dir. What is that telling you?
That's the weird part, it can't write to the log. The permissions are fine on WHS, hell I opened it up to everyone and their mother and I still can't get the darn thing to write to a log!!!

I attached what event viewer says on my PC when I try to start the SJQ Task Service. I guess I'm working on two separate issues now.
Attached Files
File Type: txt EventViewer.txt (871 Bytes, 137 views)
__________________
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
Reply With Quote
  #640  
Old 04-17-2010, 07:06 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by ChaOConnor View Post
That's the weird part, it can't write to the log. The permissions are fine on WHS, hell I opened it up to everyone and their mother and I still can't get the darn thing to write to a log!!!

I attached what event viewer says on my PC when I try to start the SJQ Task Service. I guess I'm working on two separate issues now.
In the dir where the task client was installed should be a subdir called logs. In there should be a file called wrapper.log. That file should give a better clue as to why the task client is failing (typically it's because it can't find java or it can't read/write the sjqc.properties file).
__________________
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...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.