|
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 |
#961
|
|||
|
|||
I added the new rule and it didn't trigger. There must be something else. I will dig in when I have better access to the machine.
Greg |
#962
|
|||
|
|||
Turn on debug logging from the settings then run the media debugger again with that new rule in there and check the logs. The debug logging should give more details on why it didn't add that task to the queue. 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... |
#963
|
|||
|
|||
You were correct that it wasn't running the rule because SJQ thought it has run the rule.
I removed all the completed entries (by clearing the grid, which doesn't clear teh entire grid). Once I did that and re-ran the Queueloader, the jobs showed up. Greg |
#964
|
|||
|
|||
To any SJQ users who are also Java coders:
I've just committed r638 to the project. This commit adds the new _MOVEREC task to SJQ (v3 only). This task allows you to automate the moving of your tv recordings while SageTV is running. Use of this task eliminates the need to stop SageTV to move tv recordings around. I've been running this code for about a week now and it's been automatically moving my syndicated recordings over to my new NAS with no issues. I was able to also test the rollback function and in the limited testing I've done, it works. I plan on trying to test more of the rollback function, but in the mean time if anyone who can would like to review the code I'd appreciate it. Given the consequences of bugs in this code, the more eyes looking at it, the better. If you choose to help, simply focus on TvArchiver.java. Feel free to post review comments in this thread.
__________________
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... |
#965
|
|||
|
|||
SJQ v3 beta 639 now available for download...
This build includes the new _MOVEREC task, which allows the scripting of automatic recording moves to other directories/disks while SageTV is running. This task should be treated as highly experimental and it could possibly cause major damage (i.e. delete/lose recordings). I take no responsibility for what happens to your recordings, wiz.bin, SageTV installation, etc. as a result of using this task in your rulesets. But with that said, I've been running it quite successfully for over a week and have successfully transferred some 150GB worth of recordings over to my new NAS without issue. I'm now working on the SJQ v3 user guide updates and am not quite ready to open myself up to full support for v3 just yet, however, for those willing to test, here's a sample ruleset that will move recordings via the new task. Code:
# Move all recordings of 'Seinfeld' to the specified target dir only # if they aren't currently recording and they aren't already archived # (this task automatically marks the recording as archived after a # successful move) # # The method calls against the $ object in these rulesets come from the # SageTV API. When dealing with a media file object, you can call any # method from the MediaFileAPI, ShowAPI, AiringAPI, or ChannelAPI against # the object; more details will be available in the new user guide, when # ready. NOTE: It's curly braces after a method name, not parenthesis. if [IsObjMediaFile == true && $.IsFileActivelyRecording{} == false && $.IsTVFile{} == true && $.IsLibraryFile{} == false && $.GetShowTitle{} == "Seinfeld"] { # You must specify the target directory via :MOVERECOPTS option # Here's a local drive specification :MOVERECOPTS "F:/archive" # Here's a UNC path specfication (notice the double up on back slashes) # :MOVERECOPTS "\\\\mediasrv\\tv" _MOVEREC }
__________________
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... |
#966
|
|||
|
|||
Slugger,
Seems to be working real well... I like that you move the edls properties etc... great job PS it run a lot faster than the way I was doing it I was using the transcoder. I also tested by moving a file to a directory that is not in Sagetv and it added the file which I like to do.
__________________
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; 11-04-2009 at 12:51 PM. |
#967
|
|||
|
|||
Not sure how the transcoder works, but even with no transcode it probably still runs it through some process unnecessarily. I just do a straight file read of the source and write it out byte for byte to the destination folder so I would expect it to be quite faster than tricking the transcoder into doing 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... |
#968
|
|||
|
|||
After I setup v2 and watched how it behaved, I realized that I have an interesting problem that I don't know how to solve.
I have the following tasks: QSF - this is a quick stream fix from videoredo. COMSKIP ADULTCOMPRESS PODCASTCOMPRESS BNNPODCASTCOMPRESS KIDSCOMPRESS In the client config I limit the number of processes to 3 and in each task I limit the number of processes to 2 or 1. 2 for QSF and comskip and 1 for the compression tasks. The problem is that each of the compression tasks uses handbrake with various options to compress the video. Handbrake likes to use all the available cpus, which is great. But I would prefer to have a single handbrake instance running. So what I really want to do is limit all 4 compression tasks to a single process. Is that possible? Hmm, now that I am writing this I am coming up with an idea. I guess if I run 2 instances of the client on the same machine (different ports obviously), then I could have one client for the compression tasks and one client for the other tasks. I could then tell the compression client to limit itself to 1 process. Is that how you intended this type of requirement to be satisfied, slugger? Thanks Greg |
#969
|
|||
|
|||
Quote:
Quote:
My understanding is that this can't be done currently in SJQ (and is really the only thing preventing me at the moment to ditch dirmon2 and switch on over). If you read the conversation that followed my original post Slugger expands on the issue but that's my take away.
__________________
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 |
#970
|
|||
|
|||
Quote:
Right now, I have SJQ successfully spawning 2 comskip jobs and 1 job for each of the compression tasks. I have the total running jobs limited to 3. The problem with this today is that 3 of those jobs can be compression jobs of the different type. But as long as I can run multiple clients on the same machine, I am pretty sure what I wrote above will work. I am going to give it a try tonight to see if I can get it working. I will report back. Greg |
#971
|
|||
|
|||
Quote:
Total resources available for that client = 100 Task resources required: Comskip = 30 Compress1 = 100 Compress2 = 100 Compress3 = 100 The scheduler would execute tasks until the total resources consumed is the maximum that does not exceed the total resources available. So for example, you could have one of the compression jobs running or 3 comskip jobs. No other combination of jobs would total less than 100 in this scenario. Quote:
__________________
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 |
#972
|
|||
|
|||
Slugger,
I have a question about persons is show. is the change below correct Person == "Bela Lugosi" now becomes $.GetPeopleInShow{} == "Bela Lugosi" Edit I got it to work with $.GetPeopleInShow{} =* "Bela Lugosi" using contains
__________________
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; 11-05-2009 at 10:57 AM. |
#973
|
|||
|
|||
Quote:
Alternatively, you could also use $.GetPeopleInShowInRole{Actor} =* "Whomever" to check for actor credits. Replace Actor with whatever role you want to check against.
__________________
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... |
#974
|
|||
|
|||
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... |
#975
|
|||
|
|||
Job Queue Error Msg
I've recently done a clean install (Win7++) and followed the guides for installing SJQ and encountered this error when running the queue loader
Quote:
Any idea what's going on and why the queue fails? Thank you in advance.
__________________
Server WIN7PRO, AMD Phenom II Deneb, 4GB RAM, Gigabyte GeForce 7300 GS 512MB, RAID0 600GB, Hauppauge 500MCE, HD PVR w/ DCT-6200, HDHomerun, SageTV 7.0.12 |
#976
|
|||
|
|||
Looks like you are using Old rules with the new SJQ... you need to post your rule. The way rules are written have changed.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#977
|
|||
|
|||
With my announcement of SJQ v3 support earlier today, SJQ v2 is now officially out of support. I will continue to monitor this thread for a little while longer (until v3 moves out of beta), but support will be limited to replies to messages. Bugs identified in v2 will only be fixed in v3 and no further code changes will be made to the v2 code base.
All messages concerning v3 should be directed to the new v3 thread. v3 contains many new features and bug fixes and I encourage all users to move to v3 in the very near future. The more people who do make the move and test out the beta builds, the quicker bugs are found and the quicker the beta tag is removed. I plan on moving v3 out of beta early in 2010.
__________________
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... |
#978
|
|||
|
|||
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... |
#979
|
|||
|
|||
Solved, thanks for the reply and the link to the new thread and user guide!
Great work BTW.
__________________
Server WIN7PRO, AMD Phenom II Deneb, 4GB RAM, Gigabyte GeForce 7300 GS 512MB, RAID0 600GB, Hauppauge 500MCE, HD PVR w/ DCT-6200, HDHomerun, SageTV 7.0.12 |
#980
|
||||
|
||||
running ffmeg at low priority.
This is somewhat of a loose SJQ question.
When i have SJQ run comskip I use :CPU LOW and runs as a low priority task as show in the taskmgr. However if I have SJQ run ffmpeg it doesnt seem to respect the priority and runs and 'normal' prioirty in task mangager. is there a way to set this up to run at low priority? |
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 |