|
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 |
#1
|
||||
|
||||
STV Import: External Apps for the Default STV (v4.0.3 18/November/2007)
An import that provides a button on the Video Options menu that can be used to run any external application, using the current video filename (among other things) as an argument. Download from here.
Installation is a 3 step process. Step 1. Unzip into SageTV maintaining the directories. (The df_sageutils.jar from the zip file needs to be in the JARS directory) Step 2. Restart Sage so it will pick up the jar. Step 3. Load the import Options in Setup -> Detailed Setup -> Customize -> External App Options Specify the External App directory where your batch/exe files are. In each "slot" you can specify a Name, the batch/exe file you want to run, whether it should be available while a video is still recording or whether an xml file for the video needs to exist. And what Sage should do when you run the app, Sleep, Wait, Exit or have the app run in the Background. Parameters passed to the batch file are: %1 = MediaFile %2 = Title %3 = Episode %4 = Description %5 = Channel Number %6 = Duration %7 = Date %8 = Category %9 = SubCategory Changes: (4.0.1) - Fix for choosing run option (Background, Sleep, Wait, Exit) - Add option for completion popup message when running in Background (4.0.2) - Fix missing button on SageTV 6.2.6 (4.0.3) - Importable into SageMC 6.3.5 - Fix paths for linux John Last edited by JREkiwi; 11-18-2007 at 01:22 AM. |
#2
|
||||
|
||||
Updated the version for download
(4.0.1) - Fix for choosing run option (Background, Sleep, Wait, Exit) - Add option for completion popup message when running in Background John |
#3
|
|||
|
|||
John,
I don't seem to see the button for external applications with SageTV 6.27
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#4
|
|||
|
|||
Would it be possible to pass the tuner name too? I could see a benefit in being able to use this as a way to send additional commands to the DirecTV box
Thanks, B |
#5
|
||||
|
||||
Quote:
John |
#6
|
||||
|
||||
Quote:
(4.0.2) - Fix missing button on SageTV 6.2.6 I'm now using nielm's method of finding the options panel which is more robust that the method I was using before. John |
#7
|
||||
|
||||
Would it be possible to get a version of this for SageMC?
For now I am trying this with the default stv. I am trying to use this to fire off mencoder after making edits with the video edit addin. I am saving .edl files for mencoder to use, and I am trying to get the right batch file syntax. Each time I fire off my current batch file it happens invisibly, which is great except for while I am testing. I would like to see the cmd box and watch what the batch file is doing. Is this possible? Also it seems I need to pass the filename minus the extension as a variable in order to build the mencoder batch file successfully. Here is an example of mencoder from the command line. Code:
mencoder MickeyMouseClubhouse-SleepingMinnie-4049539-0.mpg -edl MickeyMouseClubhouse-SleepingMinnie-4049539-0.edl -oac copy -ovc copy -of mpeg -o E:\Archived\MickeyMouseClubhouse-SleepingMinnie-4049539-0.mpg Last edited by kricker; 09-25-2007 at 12:27 AM. |
#8
|
||||
|
||||
I'm having problem using your External program launcher from my client -
It seems that the PATH to the external commands directory is the server and not the local client and even if I try to run a BATC file from the server - It's not running. Any Idea what's wrong? Thanks, Oren.
__________________
Oren Shapir - Architect |
#9
|
||||
|
||||
I usually just have the batch files being called set up to call a real batch file to actually do the processing. So for your example.
External Apps calls Compressit.cmd which contains Code:
@echo off C: cd "C:\Program Files\SageTV\SageTV\Compressor" start "Compress" /MIN /LOW /WAIT compress.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 Code:
mencoder %1 -edl %~dpn1.edl -oac copy -ovc copy -of mpeg -o E:\\Archived\\%~n1.avi exit John |
#10
|
||||
|
||||
First of all, Thanks a bunch!
I would like it to be in the 'send to' panel that SageMC has, with the ability to only see the chosen external apps. In the standard STV I see all the slots one can choose from, I just wanna see the ones I actually have doing something (which is only going to be the mencoder one ATM). This will mostly be done by my wife who will be editing her shows with the video editing plugin. After she edits them, I need an easy way for her to send them to mencoder to actually do the editing. So until Bob adds this into the video edit, this is my best option. If there was some way to add it into the video edit screens...OMG...that would kick some serious booty. But, I'll take whatever I can get. |
#11
|
||||
|
||||
Any chance you are working on this for the new SageMC?
|
#12
|
||||
|
||||
Haven't had a chance to do anything lately, but it is on my list of things to do
John |
#13
|
||||
|
||||
Okay, whenever, I can be patient. I'm just glad to hear it's on the list.
|
#14
|
|||
|
|||
Will this work on Sage v4?
thanks -Doug |
#15
|
||||
|
||||
Doug, I don't have a version 4 STV to test on, but the change I made for it to work on 6.2.6 should probably mean it will import on 4.
Give it a try and let us know. John |
#16
|
|||
|
|||
Quote:
By that I mean that SageTV3-x.xml file was updated and sage it using the new one. However, I don't see anything new under the Customize window/menu. Is there something I should look for that I did wrong? In the sage...xml file I do see your <Hook> element. -Doug |
#17
|
||||
|
||||
What version of java are you running?
John |
#18
|
|||
|
|||
#19
|
||||
|
||||
Doug, I think the df_sageutils that is included is compiled for java 1.6.
Try this version of df_sageutils and see if that helps. John |
#20
|
|||
|
|||
Quote:
I have debug turned on - should I notice anything in the log file? -Doug |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Dynamic Customisable Main Menu (v6.4 20/Dec/2007 for SageTV 5.0/6.0) | nielm | SageTV Customizations | 555 | 07-09-2014 06:36 PM |
STV: SageMC 16x9 11/26/2005 Sage 4.x Version 5_10 | mlbdude | SageMC Custom Interface | 2160 | 09-01-2006 03:36 PM |
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) | Cayars | SageTV Customizations | 3664 | 12-13-2005 05:35 PM |
External media Players for Default stv for V4 | dvd_maniac | SageTV Customizations | 12 | 11-04-2005 08:25 AM |