|
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 |
#41
|
|||
|
|||
Slugger,
This works great. As nyplayer said, it is zippy now. Definitely ignoring the 15000 photos did the trick, because I am now trying to open the log for the last run under 1.3.0 and it is chugging away - has been for 5 minutes. I have a couple of questions: 1) is there a way to enable and disable rulesets? For instance, right now there is a bug on the HD extender such that it can not play back any mpg that has been processed by VideoReDo - so I want to disable my videoReDo rule for now until this bug is fixed. But since I have gone through the trouble of getting it setup correctly and debugged, I don't want to delete the rule. 2) what is the filter link for at the top of the log page? Actualy, what do those check boxes do at the top of the log page? They don't seem to change the output at all. BTW, I think I have the videoReDo rules working now. The next step is ComSkip. Great work!!! Greg |
#42
|
||||
|
||||
Quote:
Quote:
Quote:
Plugin: Show log messages produced by the plugin class Servlet: Show log messages produced by the webserver servlet Info: Show general info messages (can't be disabled) DataStore: Show debug messages from the database (JDBC/SQL) Debug: Show general debug messages Exceptions: Show any Java exceptions caught by the plugin/servlet Stdout: Show the stdout of any action ran by SJQ on a media file Stderr: Show the stderr of any action ran by SJQ on a media file Note that all of these messages are always logged to the SJQ database, the filter only filters their display within the log tab of the servlet. The items in bold are the ones you should leave on for typical log viewing, the rest are really only there for me while I develop or for people trying to track down a problem with SJQ. After modifying the checkboxes you need to click filter. The checkboxes are only modified after clicking the filter link. Quote:
Last edited by Slugger; 05-12-2008 at 08:58 PM. Reason: Clear up logging details |
#43
|
|||
|
|||
Glad you are feeling better. Have a good vacation.
As an interesting data point, the SQLite database file is now 2.5 Gig. Greg |
#44
|
|||
|
|||
SJQ v1.4.0 is now available.
Code:
v1.3.0 -> v1.4.0 ================ * 1962002: Allow for dynamic arithmetic in TimeUntilNextRecording test * 1962455: Allow SJQ to ignore specified types of media (i.e. only scan tv files, etc.) * 1965446: Make delay time before each SJQ run configurable |
#45
|
|||
|
|||
Slugger,
Is it possible to add a rule..if the Show Is Archived? I would like to move a show to a different drive if it is Archived.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#46
|
|||
|
|||
I don't see an API call to tell me if a recording is archived. So, assuming that's the case, then I'd have to say that this particular test isn't possible. There is an API call IsLibraryFile() which is about the closest thing I could find, but the description for that method in the API docs doesn't mention anything about the archive status of a recording. So my initial thought on this is that it doesn't look possible, but when I have a free hour some evening this week I'll dive into the API docs a little deeper and see what I can find. If there's an API call that gives the archive status of a recording then adding the test to SJQ is trivial - literally five minutes to do it. It's just a matter of finding an API call that returns the required information. Feel free to have a look at the API docs and let me know if you see something that I may have overlooked.
|
#47
|
|||
|
|||
Quote:
Code:
IsArchivedFile = IsLibraryFile(MediaFile) && IsTVFile(MediaFile) Last edited by BobPhoenix; 06-15-2008 at 01:46 PM. |
#48
|
||||
|
||||
I'm just setting this up and I've run into some issues I don't understand. First off I can't get my rule for running SA to work on only .mpg files. Every time it evaluates the files it tries to run on the .avi files as well.
Second I'm wondering if it will run multiple copies of SA at once or only 1. |
#49
|
|||
|
|||
Quote:
For the second part, SJQ will only run one process at a time and it waits for that process to complete before triggering another. I've thought about allowing multiple processes to be triggered by SJQ, but haven't had a personal need for it so haven't bothered implementing it. |
#50
|
|||
|
|||
Seems to make sense. I'll add the test some evening this week and get a 1.5.0 release out maybe before next weekend.
|
#51
|
||||
|
||||
Here are is the contents of my rules.sjq for right now. After I have it working well, I'll need to add rules to use different .ini files for certain shows and a rule to not process on the movie channels.
###__ShowAnalyzer $ Filename: mpg != FileExists: %d%\%b%.edl SA_NOT_5XX "c:\program files\dragon global\ShowAnalyzer\Showanalyzer.exe" "%f%" |
#52
|
|||
|
|||
Quote:
|
#53
|
||||
|
||||
I had it like that before, but it didn't seem to work. Now it seems to be working with the .mpg. I'm also trying to tell it to not do it if an .edl file exists. Should this work with the rules.sjq I posted earlier? It seems to keep running on files that already have a .edl file.
|
#54
|
|||
|
|||
Quote:
|
#55
|
||||
|
||||
The wife and kids are watching now so I'll have to do it tonight once I can shut down Sage for a few minutes without risking my life.
|
#56
|
||||
|
||||
One more thing. Do the jobs get run at a lower priority or something? It seems to be running much slower than when I was using DirMon2.
|
#57
|
|||
|
|||
Nope, I do not modify process priorities at all.
|
#58
|
|||
|
|||
What I do to avoid this is setup SJQ to run on the client on my server. I run Sage as a service the I run the Sage UI in low priority. That way I never have to stop the service to make changes to SJQ.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#59
|
||||
|
||||
OK, I used a command line to get SA to not throttle.
It turns out that it still isn't looking at only .mpg files so I'm trying a different rule as follows: % Filename: *.mpg |
#60
|
|||
|
|||
toricred
It should look like below... I Use "ends with" $ Filename: .mpg
__________________
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; 06-15-2008 at 08:34 PM. |
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 |