|
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:
Code:
taskkill /IM sagetv.exe ms notes on taskkill here
__________________
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 |
#362
|
||||
|
||||
Quote:
How deep can SJQ query SageTV's status? Can it determine if SageTV is doing an EPG update? Can it determine if SageTV is writing to wiz.bin?
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#363
|
|||
|
|||
Quote:
Quote:
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... |
#364
|
||||
|
||||
MediaShrink Tasks
So what's the best way to get MediaShrink jobs run? To call mediaengine direct? I switched to that, now some jobs run, but it looks like jobs that had previously run don't get queued up again. How do I "reset" SJQ so it will re-run all media shrink jobs? I have to start clearing out space! lol
__________________
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 |
#365
|
|||
|
|||
Go to the "Complete Tasks" or "Failed Tasks" list (under Data menu) and remove those items you wish to rerun. Once removed, the QueueLoader process will reload those tasks into the queue on its next run.
__________________
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
|
||||
|
||||
Thanks man... so simple... I'm slow today. ;-)
__________________
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 |
#367
|
|||
|
|||
Slugger,
Is there a test that I can check for "Recorded from" see picture attached. I want to check if a recording contains the words "Recorded from"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#368
|
|||
|
|||
Quote:
Code:
set fname=%~d1%~p1%~n1 C:\QFIXSAGE\touch.exe -r "%~f1" "%fname%.timestamp" start /I /LOW /WAIT C:\QFIXSAGE\MediaScraper\mediashrink.exe "%~f1" C:\QFIXSAGE\touch.exe -r "%fname%.timestamp" "%fname%.mkv" del "%fname%.timestamp" Greg |
#369
|
||||
|
||||
Quote:
__________________
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 |
#370
|
|||
|
|||
I'm not seeing what you're getting at with that pic. You'll have to explain further. Is there a certain field you're looking to search for that text in? Yeah, you're going to need to explain further.
__________________
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... |
#371
|
|||
|
|||
Slugger,
The actual recording time on the EPG is 08:00 - 9:00 PM But if you look in the description the actual "Recorded from" is 08:18 - 9:00 PM. If the recording starts and ends on time... you will not see the "Recorded from" field. I would like to check for recordings that did not start on time. You answered my previous post about recording fav flaw. I would like to isolate recordings where this happens. I thought maybe I can do something with GetExtraAiringDetails
__________________
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; 01-23-2010 at 11:19 AM. |
#372
|
|||
|
|||
Quote:
There are options, all requiring work on my end unless you know Java and want to write a patch. 1) SJQ could be modified to always check for and expand object calls on the RHS of tests 2) A new internal test could be written, say 'DidRecFollowSched', to test this situation and return true/false 3) You could write a custom Java class that tests for this using the new custom Java test interface (requires SJQ snapshot 753 or newer), however the current implementation of this does not support expanding object tests in the parameters of the java call, so it won't work for you now (though eventually it probably will). If you don't know Java or you simply don't want to do it yourself then add a feature request ticket, but I'm currently working on other things right now so if you decide to wait for me to implement one of the above then I wouldn't hold your breath because it might be awhile. But if a ticket is there for this I'd probably eventually finish 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... |
#373
|
|||
|
|||
thanks
Ok I will write a ticket but you gave me an Idea that I can pass the times to a batchfile and compare the times for now.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#374
|
|||
|
|||
Quote:
Code:
/* You could limit the scope here by checking for certain titles, etc., but the only way to know if a recording indeed didn't follow the EPG sched is to actually run your batch file against it */ if [IsObjMediaFile == true] { MYBATCHCHECKER } Code:
/* If the durations aren't the same then the recording didn't follow the EPG, but that doesn't mean recording is partial unless you NEVER use paddings with your recordings */ MYBATCHCHECKER { "C:/tools/chksched.bat $.GetAiringDuration{} $.GetScheduleDuration{} \"%d%/%p%\"" } By the way, I use the *Duration{} tests because I think it's probably a cleaner way to test what it is you're trying to test for. EDIT: You probably also want to pass the file name to the batch file as well so you know what recording you're dealing with.
__________________
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... Last edited by Slugger; 01-23-2010 at 12:17 PM. Reason: Pass file name to batch file as well |
#375
|
|||
|
|||
Slugger,
$.GetAiringStartTime{} and $.GetScheduleStartTime{} are exactly the same no diff. what you need is $.GetAiringStartTime{} and $.GetFileStartTime{} also $.GetAiringDuration{} $.GetScheduleDuration{} are exactly the same. what you need is $.GetAiringDuration{} $.GetFileDuration{}
__________________
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; 01-23-2010 at 12:45 PM. |
#376
|
|||
|
|||
Quote:
Code:
// compress adult shows if [IsObjMediaFile == true && $.IsTVFile{} == true && $.IsFileCurrentlyRecording{} == false && FileExists == "%d%/%p%.edl" && Filename =$ ".mpg" && ($.GetShowTitle{} == "The Ellen DeGeneres Show" || $.GetShowTitle{} == "Nova scienceNOW" || $.GetShowTitle{} == "Rolex Sports Car Series Racing" || $.GetShowTitle{} == "SCCA Racing" || $.GetShowTitle{} == "New Yankee Workshop" || $.GetShowTitle{} == "Monster Jam")] { :SCANMEDIA "true" :PRIORITY -20 ADULTCOMPRESS } Code:
ADULTCOMPRESS { :MAX 1 :RESOURCES 51 :CPU "LOW" "C:/QFIXSAGE/AdultShrink.bat \"%c%\"" } Greg |
#377
|
||||
|
||||
Greg, that batch file and ruleset worked!!! Thank you so much!
This has brought up and old problem, as the rules work on the WHS box which is "local", but for any networked clients, it failes out because the %c variable sends the filename w/ \\localhost\whatever... So how do I force it to send the Network location, ergo servername (Rebel-HQ)? Thanks again for everyone's help!
__________________
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 |
#378
|
|||
|
|||
Quote:
:MAPDIR "\\\\localhost\\whatever" "\\\\Rebel-HQ\\whatever" :MAPDIR "\\\\localhost\\\whatever" "\\\\Rebel-HQ\\whatever" example mine below //NYPLAYER :MAPDIR "M:\\sagem" "\\\\169.254.5.12\\M$\\sagem" :MAPDIR "N:\\sagen" "\\\\169.254.5.12\\N$\\sagen" RECORDINGFROM { :CPU LOW :RESOURCES 10 "S:\\SJQSAGE\\RECORDINGFROM.bat \"%c%\" $.GetAiringStartTime{} $.GetFileStartTime{}" }
__________________
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; 01-24-2010 at 01:46 PM. |
#379
|
||||
|
||||
Great, that did the trick, thank you!!!
__________________
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 |
#380
|
|||
|
|||
I am trying to run a VideoRedo script from SJQ. I have written a batch file and when I execute it from the command line it runs perfectly. When it is executed through SJQ I get the following error:
C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs(51, 2) WScript.CreateObject: Could not locate automation class named "VideoReDo.VideoReDoSilent". This is an error most people report seeing when they have not yet run VideoRedo once as an administrator. I have set VideoRedo to always run as an administrator; however, I still get this problem. Is there something about the way SJQ runs that could be causing this problem?
__________________
Thanks to the developers of the following tools - without your hard work my TV wouldn't be the same! MeinMaui - SageMC ** stuckless - Phoenix & BMT ** PLUCKYHD - Sage Movie Wall ** razrsharpe - TVExplorer ** Slugger - SJQ, SRE and SageAlert ** bialio - Advanced Mini Guide |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |