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
  #1  
Old 08-17-2009, 10:26 PM
raffmanlt raffmanlt is offline
Sage User
 
Join Date: Dec 2007
Posts: 10
Sage Job Queue Completed tasks problem

This is my first post for help but I thank all of you for your wonderful info and support that is on this forum!!

I have sjq setup to run comskip and it is queing up files and successfully creating txt files which do work in sage. However only 1 has ever gone into the completed tasks area and after they are processed the next run of the queue starter reprocesses them all again. Well previously they were now when I do a manual start nothing is in the active job queue. If I run debug on them it is properly processing the if conditions. Here ae my rulesets:

Server:
if [IsTV == true && IsScheduledRecording == true && ChannelNumber != "23" && ChannelNumber != "17" && IsWatched == "false" && (FileExists != "%d%/%p%.edl" || FileExists != "%d%/%p%.txt") && Filename =$ ".mpg" && IsViewingMedia == "false"] {
COMSKIP
}

Client ruleset:
:MAXPROCS 4
COMSKIP {
:MAX 0
:CPU "LOW"
"C:/comskip/comskip.exe \"%c%\""
}

I read that some need to be preceded with a tab instead of spaces but when I try tab seems to do nothing. Oh also this client is also on the server.

ok so am I missing something?


The following are the results from running debug on one of the failed files

2009/08/17 22:47:17.252 QueueLoader awakened: sleep interrupted
2009/08/17 22:47:17.409 Using MediaMask: 'T'
2009/08/17 22:47:17.409 Processing 'NCIS'...
2009/08/17 22:47:17.409 Line 1: Evaluating 'IsTV == "true"' == true
2009/08/17 22:47:17.409 Line 1: Evaluating 'IsScheduledRecording == "true"' == true
2009/08/17 22:47:17.409 Line 1: Evaluating 'ChannelNumber != "23"' == true
2009/08/17 22:47:17.409 Line 1: Evaluating 'ChannelNumber != "17"' == true
2009/08/17 22:47:17.409 Line 1: Evaluating 'IsWatched == "false"' == true
2009/08/17 22:47:17.409 MediaVar '%s%' == 'Enigma'
2009/08/17 22:47:17.409 MediaVar '%y%' == ''
2009/08/17 22:47:17.409 MediaVar '%c%' == 'J:\Sage TV Recordings\NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%d%' == 'J:\Sage TV Recordings'
2009/08/17 22:47:17.409 MediaVar '%f%' == 'NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%e%' == 'mpg'
2009/08/17 22:47:17.409 MediaVar '%p%' == 'NCIS-Enigma-464763-0'
2009/08/17 22:47:17.409 MediaVar '%t%' == 'NCIS'
2009/08/17 22:47:17.409 Expanded '%d%/%p%.edl' to 'J:\Sage TV Recordings\NCIS-Enigma-464763-0.edl'
2009/08/17 22:47:17.409 Line 1: Evaluating 'FileExists != "%d%/%p%.edl"' == true
2009/08/17 22:47:17.409 MediaVar '%s%' == 'Enigma'
2009/08/17 22:47:17.409 MediaVar '%y%' == ''
2009/08/17 22:47:17.409 MediaVar '%c%' == 'J:\Sage TV Recordings\NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%d%' == 'J:\Sage TV Recordings'
2009/08/17 22:47:17.409 MediaVar '%f%' == 'NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%e%' == 'mpg'
2009/08/17 22:47:17.409 MediaVar '%p%' == 'NCIS-Enigma-464763-0'
2009/08/17 22:47:17.409 MediaVar '%t%' == 'NCIS'
2009/08/17 22:47:17.409 Expanded '%d%/%p%.txt' to 'J:\Sage TV Recordings\NCIS-Enigma-464763-0.txt'
2009/08/17 22:47:17.409 Line 1: Evaluating 'FileExists != "%d%/%p%.txt"' == false
2009/08/17 22:47:17.409 MediaVar '%s%' == 'Enigma'
2009/08/17 22:47:17.409 MediaVar '%y%' == ''
2009/08/17 22:47:17.409 MediaVar '%c%' == 'J:\Sage TV Recordings\NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%d%' == 'J:\Sage TV Recordings'
2009/08/17 22:47:17.409 MediaVar '%f%' == 'NCIS-Enigma-464763-0.mpg'
2009/08/17 22:47:17.409 MediaVar '%e%' == 'mpg'
2009/08/17 22:47:17.409 MediaVar '%p%' == 'NCIS-Enigma-464763-0'
2009/08/17 22:47:17.409 MediaVar '%t%' == 'NCIS'
2009/08/17 22:47:17.409 Line 1: Evaluating 'Filename =$ ".mpg"' == true
2009/08/17 22:47:17.409 Line 1: Evaluating 'IsViewingMedia == "false"' == false
2009/08/17 22:47:17.581 LogCleaner instance started
2009/08/17 22:47:17.612 FileCleaner instance started
2009/08/17 22:47:18.831 LogCleaner instance finished [1235ms]
2009/08/17 22:47:20.846 FileCleaner instance finished [3234ms]
2009/08/17 22:47:23.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:48:08.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:48:24.877 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:48:53.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:49:38.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:50:06.565 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:50:23.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:50:24.956 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:51:08.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:51:53.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:52:24.956 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:52:38.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:53:23.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:54:08.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:54:24.956 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:54:53.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:55:06.581 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:55:38.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:56:23.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:56:24.956 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2009/08/17 22:57:08.190 WARNING: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings

--------------------
Reply With Quote
  #2  
Old 08-18-2009, 10:19 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
This is has been discussed and the work around is here.

http://forums.sagetv.com/forums/show...&postcount=853
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #3  
Old 08-18-2009, 07:34 PM
raffmanlt raffmanlt is offline
Sage User
 
Join Date: Dec 2007
Posts: 10
SJQ Failed tasks

Thank you so much Slugger and what a cool tool! I am not a programmer but I spent a ton of time reading and searching, trying to wrap my mind around that part of it. Derek suggested the :ReturnCode 1 fix but I was not certain where to put it in the client code. It turns out I put it in the wrong place. The family thanks you I was getting heat for the comskip function not working as I frantically tried to sort all of this out.
Reply With Quote
Reply

Tags
sjq failed tasks


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
Plugin: Sage Job Queue (SJQ) Slugger SageTV Customizations 991 12-11-2009 03:52 PM
Sage crashes performing menu tasks (usually deleting watched show). judoGTI SageTV Software 0 04-01-2009 07:31 AM
Comskip Monitor VS Sage Job Queue SJQ personalt SageTV Customizations 6 03-02-2009 10:27 AM
Ok, Good job Sage. This one works great. pgitta SageTV Software 0 08-26-2008 10:12 AM
Wasted Job? malore SageTV Software 6 11-15-2005 04:51 PM


All times are GMT -6. The time now is 04:07 PM.


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