|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
||||
|
||||
Ok so I got it working but I ran into a problem. I want to choose "sleep" as the option for what Sage should do after launching the external player. However, it doesn't work. Sage will not sleep.
I suspect there is a setting I am missing. I have set it in the options for sleep to put Sage in the try (as opposed to screensaver). I found that one after running into this problem. Or might this be an incompatibility with Gemstone? Any ideas or things I could try? Thanks! |
#62
|
||||
|
||||
Found a work around for anyone that runs into this. The workaround is easy. Set external apps to have Sage "wait". Then just add this:
Code:
"<sage full path>\sagetvclient.exe" -event 19 Edit: Make sure you have Sage set to sleep instead of launching the screensaver in the screensaver options. Last edited by silkshadow; 11-08-2012 at 12:44 AM. |
#63
|
||||
|
||||
Quote:
John |
#64
|
||||
|
||||
Not at all, thank you for this great plugin!
|
#65
|
||||
|
||||
Is there anyway to run a batch file by just using a button command on the remote of an HD Extender without going into a video file option?
I have created a batch file that takes video files in a unwatched import folder and when the Sage status of the video is watched it will archive the video into a permanent archive folder. The problem is that my wife sometimes falls asleep watching something and expects it to be there when she wakes up and tries to finish it. I would like to give her the control of when "watched" videos get archived but need to make it simple enough for her.
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#66
|
||||
|
||||
I could do something like link the record button to a batch file. Record doesn't do anything in Imported Videos.
Or I could link to one of the Custom listeners, but you can sometimes run into conflicts with other plugins with those. John |
#67
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#68
|
||||
|
||||
I am using the default STV.
I would not mind using the record button or any of the 4 colored custom buttons on the Hauppauge remote... How would I do that? What is ADM?
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#69
|
|||
|
|||
A dynamic menu
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#70
|
||||
|
||||
I installed the ADM plugin and I think that is exactly what I need.
I am able to run my archive batch from the dynamic menu but I am having a slight issue. I have a pretty sizable video library and they are setup as follows: Show.Title/01/Show.Title.S01E01.Episode.Name.ext Show.Title/01/Show.Title.S01E02.Episode.Name.ext Show.Title/01/Show.Title.S01E03.Episode.Name.ext etc... Show.Title/02/Show.Title.S02E01.Episode.Name.ext Show.Title/02/Show.Title.S02E02.Episode.Name.ext Show.Title/02/Show.Title.S02E03.Episode.Name.ext etc... and so on for each season. I have over 50 currently airing shows and want to completely automate the archive process to save time. I scan the folders and match the SHOW.TITLE folder name up with the video file then I check the Season from the video file name and check to see if that subfolder exists under that show. If not I create it (mkdir command). Then I move the watched video into it. Everything works fine through windows but when I try to create the season directory through ADM it creates a file instead of a folder. So instead of having T:\SHOW TITLE\02\Show.Title.S02E01.Episode.Name.ext, I get T:\Show Title\02 and 02 is a file instead of a folder... EDIT: Never mind, I must have deleted a character in my script that I am using through Sage by accident. Season folder getting created as expected and ADM working perfectly. Thank You for your help...
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" Last edited by dvd_maniac; 07-10-2014 at 05:25 AM. |
#71
|
||||
|
||||
Can not anyhitng to run, fails immediately
I do realize it has been awhile since anyone posted here, but as a recent BTV convert ...
I've some to the realization that Sage 9 and I simply do not get along. I REALLY like her, BUT for some reason, the feelings aren't mutual. Case in point, I have read this thread over and over, tried a trigger, but no matter what I do, whatever I set to run starts and fails with no output/log/window nothing. Example: App Name: Comskip App Program to Run: "c:\program files\Comskip\Comskip.exe" "%1" XML File Req: False Can still be Recording: true (have tried false) Sage Action: Background Show Status Messages: True TMT5 Path ...: False When run, it will either, tell me "Comskip Failed for "Filename" (sans Quotes). or Comskip started for "Filename" (without quotes), when OK is clicked, immediately Comskip failed for "Filename" (sans quotes) pops up. I have done as Fuzzy (the bloody genius), suggested, run a .bat with an echo statement in it and see what happens. It does nothing. I have uninstalled/reinstalled, tried a 1/2 dozen other apps or cmd's etc., but always the same result, Soooooooooooooooo I figured I have not set SOMETHING correctly - but as nothing dumps me a log file, I can not figure it out. Now as I know many of you are very tired of my questions that seemingly can be answered if I would JUST LOOK AND RTFM, I promise - as I'm leaving for a week or two this weekend - I will leave you all alone - at least for a little while.
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. Last edited by RBraverman; 08-04-2016 at 12:12 PM. |
#72
|
||||
|
||||
If all you are wanting to do is run Comskip, then there's better ways of doing it than with this plugin.
Install/Enable the "Comskip Detector UI" plugin Set "Setup/Detailed Setup/Customize/Comskip Playback Options/Buttons Options/Show Run Manual Comskip Button" to Yes With the "Comskip Detector UI" plugin installed the Run Comskip Button queues the comskip job in the normal Comskip Detector queue. Without the "Comskip Detector UI" plugin you need to edit "C:\Program Files (x86)\SageTV\SageTV\STVs\SageTV7\Externals\comskip.cmd" with the path to the comskip.exe. It doesn't queue the jobs and runs an instance of comskip for each button click. If you're desperate to use External Apps, you can point the App to Run at "C:\Program Files (x86)\SageTV\SageTV\STVs\SageTV7\Externals\comskip.cmd" too, however it does exactly the same as the Run Comskip Button (without Comskip Detector UI). Hope that makes sense. John |
#73
|
||||
|
||||
Quote:
UPDATE: Just set it up - actually, wait for it, I already DID set it up, but when I "Run Comskip"" nothing happens. I do not see any window or anything, nor is there any additional files in relation to the video file. FWIW it's being run from C:\Program Files\Comskip. Look somemore, to see what's going on. It's tough as there are no log files or errors to let me in on what's happening. Quote:
BTW and OT, do you ever listen to Jim Mora on The Panel? I dl the podcast whenever I miss the show (which is most nights, on about 8:00pm local). Intelligent host and interesting guests, and chatter - nothing like what we have here.
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. Last edited by RBraverman; 08-04-2016 at 04:52 PM. |
#74
|
|||
|
|||
Quote:
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#75
|
||||
|
||||
Quote:
NO way of showing a window? I dunno, I'm thinking the easiest way is to just run comskip - like I said Sage and I have tenuous relationship.
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. |
#76
|
|||
|
|||
Quote:
It could be that the comskip process is crashing for some reason shortly after it starts. You should see these events in the Windows Event Viewer if that's the case. The External Apps plugin is definitely not the right tool for this job. Dirmon2 is another way to automatically kickoff comskip and is fairly easy to set up. But you may want to start a new thread or post in the Comskip Detector thread if you want to continue troubleshooting this so we don't get this thread too far off topic.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#77
|
||||
|
||||
Also realize, that the comskip process is being run by the service, so it won't show up in task manager run as a user. You have to elevate the task manager by clicking the 'Show Processes by all users' (or something like that) button.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#78
|
||||
|
||||
Quote:
Alfi33 is right, need to look at the event viewer. IIt was running on about 5 files - queued and the whole time I couldn't find comskip anywhere - bizarre - even process hacker and process explorer couldn't find it. Now if I were SMART, I wouldn't try to fix something that seems to work.
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. |
#79
|
||||
|
||||
Quote:
Quote:
I'm still trying to troubleshoot why this will not run anything - not even a command prompt.
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. Last edited by RBraverman; 08-13-2016 at 11:07 AM. Reason: BUMP |
#80
|
||||
|
||||
What am I missing? Won't Run
Can we ignore my previous, above posts?
I've read through this thread several times and I MUST be missing something. As my Win7 HTPC goes to sleep in the middle of conversions, I wrote an external cmd to to use handbrake, (I haven't set it up to hold off on multiple requests, but in time; well here it is: SETLOCAL ENABLEEXTENSIONS powercfg -change -standby-timeout-ac 0 powercfg -change -hibernate-timeout-ac 0 powercfg -change -monitor-timeout-ac 0 "c:\program files\Handbrake\HandBrakeCLI" -i %1 -o %1.mp4 -E Copy -e x264 -q 23 -o %~n1.mp4 copy "%~dpnx1.properties" "%~dpn1.mp4.properties" powercfg -change -standby-timeout-ac 10 powercfg -change -hibernate-timeout-ac 0 powercfg -change -monitor-timeout-ac 0 I trigger that with: @call "c:\program files\Sagetv\My Sage Stuff\runmakemkv" > %1 with or with out the "> %1" (I saw that in one of the posts - doesn't make sense but ... I'll try anything. Reading more, I changed the trigger to: Start "c:\program files\Sagetv\My Sage Stuff\runmakemkv.cmd" %1 With or with out the trigger file it fails and if I look at a file created in the My Sage Stuff directory with the same name, I do not see the file name - as if it hasn't been passed. What am I missing? Missed? Didn't see? Read? etc.,?
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case. OLD aTI Remote Wonder running RW Keymaster Sage V9.2.2 2 Sage Clients V9.2.2 2 HD-100 Placeshifters - not connected. Last edited by RBraverman; 10-31-2016 at 12:01 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
External Command Tuner Plugin for Linux | stuckless | SageTV Linux | 36 | 05-16-2017 03:11 PM |
STV Import: External Apps for the Default STV (v4.0.3 18/November/2007) | JREkiwi | SageTV Customizations | 51 | 03-30-2011 10:47 PM |
External BluRay plugin for BDMV on Disc | Fuzzy | SageTV Customizations | 34 | 05-04-2010 12:50 AM |
Plugin to drive random apps on server | tedson | SageTV Customizations | 0 | 07-13-2009 08:39 PM |
External tuner plugin and subchannel | jchiso | Hardware Support | 0 | 11-30-2005 10:35 PM |