|
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 |
#361
|
|||
|
|||
Quote:
So perhaps what I need is not a move but an additional parameter for _TRANSCODE that would allow you to enter the output path for the compressed file. Any chance of that happening? In an ideal world you would also be able to specify the filename and there would be a media variable that would just contain the episode name (so that I can have the filename be Boo.avi rather than DoraTheExplorer-Boo-123456-0.avi) but I can live with doing a manual rename every once in a while.
__________________
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 |
#362
|
|||
|
|||
Quote:
What would be even better is if there was a transcode option that did nothing but rename the file, though that doesn't seem possible based on what I'm reading.
__________________
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... |
#363
|
|||
|
|||
It takes about 1-2 minutes after clicking the manual queue loader button to show in -
Quote:
I have 1,100 video files stored in three UNC paths on the SageTV Server and 150 video files in a UNC path on an unRaid server that I have been slowly experimenting with moving week old recordings from Sagetv to unRaid. 623 files are mpeg-2 standard setting encoding and 609 xvid avi's are a mix of SageTV encoded and SageTV Tools 3.0 encoded Some of those recordings have been migrated from my previous SageTV installations (via wiz.bin and nielm's xml generator along with SageMC's my files) MaxSleep is 20 minutes because I have 3 tasks I run on each file RunType AfterRec RunDelay 2 minutes ScanTV true ScanMusic False ScanVideos False Scan DVDs False ScanPictures False IgnoreFailedTasks True ClearServerLogs Weekly ClearCompletedTaskLogs Weekly ClearClientLogs Weekly Debug false My sig is pretty current except I am also using SJQ and SageTV's latest beta with an HD-100 One problem may be Windows XP MCE 2005 and Windows XP Service Pack 3. At the time of install Windows Updates installs Service Pack 3 which was (or is still) incompatible ... I only wish I knew that before buying MCE 2005. (they even gave away free support for MCE 2005 and SP3 it worked so well together) Anyway ... Sorry for the MS rant at the end ... I may just need to simplify everything ... which is what I am trying to do with unRaid. Eventually I want to record on two 250GB hard disks with the busiest tuners split between each (sort of balancing the tuner priority settings and which drive they record to) and then doing all the file gymnastics on the unRaid with SJQ. Bobby
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta SageTV Client & 2 x HD-300 Extender. 40.8TB unRaid 6.6.5 media server |
#364
|
|||
|
|||
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 |
#365
|
|||
|
|||
Quote:
Tasks are put in the queue as soon as they match all conditions of a test and they are queued individually (not batch queued at the end of the QueueLoader run) and the active queue page is auto refreshed every 10 seconds so you should be seeing jobs queue up gradually during the course of a scan (if there were to be many jobs queued). I mean, as long as it's working, there are no problems, I was just a little concerned about the performance of the QueueLoader. I don't have any mapped drives, everything is local to my server, so that probably explains the bulk of the difference (though I am starting to plan for some type of NAS as I'm desperately low on disk space and the server is recording content faster than I'm able to watch it these days).
__________________
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... |
#366
|
|||
|
|||
One more question - is this a valid test:
ChannelNumber != "300|301|302|303|304|305|306|307|221|429"] Or can I do this to make it even shorter ChannelNumber != "30[0-7]|221|429"] - does this imply AND or OR as the operator for channels 301,..,307
__________________
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 |
#367
|
|||
|
|||
Good points on the transcoder being able to move the file, after this is complete you could rename with I'm think pretty good safety as your end goal is the file no being in the database. I'm pretty sure thats what happens when you move stuff while sage is running. If you have rescan import directories enabled it should eventually find them and show them in imports as you desire. Also the rename probably isn't that bad assuming you ax everything after the second hyphen then everything before the first hyphen. This should result in a filename that is only the episode.
The nice part about having SJQ handle the transcode is as you desire you can set the destination folder in your rules so each title can have it's own folder. ***Warning I dunno for sure that losing it form the DB is the worst case senario if renaming while Sage is running. *** |
#368
|
|||
|
|||
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... |
#369
|
|||
|
|||
I have installed sjqc on my Sage server which is running WHS. I have not installed the client on this PC. I was able to use SJQ to initiate a transcode but I am getting an error when I try to use the following. Why is this?
The error I am getting is this: java.lang.RuntimeException: Unexpected '"' on line 3 Code:
if [IsTV == "true" && Filename =$ ".mpg" && FileExists != "%d%\\%p%.edl" && IsActivelyRecording == "false" && ChannelNumber != "300|301|302|303|304|305|306|307|221|429"] { "C:\\Comskip\\comskip.exe \"%c%\"" }
__________________
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 |
#370
|
|||
|
|||
Quote:
I'll try to help you out with what I understand so far. First off, the sagejobque SERVER assigns tasks. That's all it can do. Therefore your code. Code:
if [IsTV == "true" && Filename =$ ".mpg" && FileExists != "%d%\\%p%.edl" && IsActivelyRecording == "false" && ChannelNumber != "300|301|302|303|304|305|306|307|221|429"] { "C:\\Comskip\\comskip.exe \"%c%\"" } Code:
if [IsTV == "true" && Filename =$ ".mpg" && FileExists != "%d%\\%p%.edl" && IsActivelyRecording == "false" && ChannelNumber != "300|301|302|303|304|305|306|307|221|429"] { :PRIORITY 10 COMSKIP } Once you do this, your WHS will appear in the clients list. Click on the client and you will then need to write the client rules. This is where you will define what the assigned task ID's from the server do. ie, the "COMSKIP" task. This is what I have for the client. Code:
// TASK definitions :MAXPROCS 2 COMSKIP{ :MAX 2 "C:\\comskip\\comskip.bat \"%c%\"" } FYI: Please note that I am not calling comskip.exe but instead a batch file. The reason for this is because by default, comskip will return the wrong variable and the job will show up as failed in SJQ when it is actually completed. Therefore a simple batch file is needed to get around this. Read a couple pages back in the thread for the batch file as well as the explanation. Give that a try. |
#371
|
|||
|
|||
MAXRUNRATIO?
I got SJQ/SJQC 2.1 with comskip setup this weekend on my WHS based SageTV server. I started with base setup and went through the standard comskip returns 1 instead of 0 batch file shenanigans. Once that was fixed I was getting successfully completed comskip runs after each recording. I setup my client with MAXRUNRATIO 0.5 in order to detect hung comskip jobs.
Now I wanted to setup the system to scan for commercials during recordings. I changed to "DuringRec" removed IsActivleyRecording clause on my ruleset. I also changed MAXRUNRATIO to 1.5 but jobs timed out during the comskip processing. How does the client calculate MAXRUNRATIO? Does it use length of the recording at the time of job start or the scheduled length of the recording? |
#372
|
|||
|
|||
Did you have to install Java on your WHS box? I cannot get the client to run as it says that it can't find java but I thought that java must be installed in order to use Sage?
__________________
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 |
#373
|
||||
|
||||
The .msi installed for WHS does not install java. You need to install java on your WHS server. The service will run. But other things (like the client) will not.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#374
|
|||
|
|||
SJQC expects that java is in the system path. If it's not then you must explicitly tell SJQC where to find java on your system. If you installed the NT Service version of SJQC then edit conf\wrapper.conf and edit the wrapper.java.command property to point to the exact location of java on your system. If you installed the command line version then edit sjqc.bat and modify the last line and replace 'java' with the full path to java on your system.
__________________
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... |
#375
|
|||
|
|||
Thanks gusy - I guess the first step is to install Java and take it from there.
__________________
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 |
#376
|
|||
|
|||
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... |
#377
|
|||
|
|||
Thanks Derek - I did change to use the regex operator !%. The reason that I was confused is that it does appear that you can assign internal Sage tasks from the server as if you replace the "c:\comskip..." line with "_TRANSCODE" then that works.
__________________
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 |
#378
|
|||
|
|||
I did install Java 6 Update 11 on my WHS server. In addition I renamed the jre directory under the SageTV directory so that SageTV service itself used U11. This was required for SageMC to run correctly for placeshifters. I also used the nt service version of the SJQC.
|
#379
|
|||
|
|||
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... |
#380
|
|||
|
|||
Yeah, those task ids are just special ids that the server interprets (any task id that starts with an underscore is just a special id that the server uses for internal tasks. All external tasks must have their command lines configured on a client).
__________________
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 |