SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 07-12-2010, 02:05 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by nyplayer View Post
For some reason qfixsage does not work with the external apps .... but it does work if you use a trigger job.
I've just been looking at the original thread and found that that is how I suggest running it. I've updated the first post with the info from there. It's been a long time since this was done originally.
Quote:
Originally Posted by nyplayer View Post
John it appears for some reason your are not passing the file name by default? and the Qfix job does not use %1.
It definitely passes the full filename as %1 but if I recall corectly there was some issues with running an exe with the batch file that is called directly.

John
Reply With Quote
  #22  
Old 07-12-2010, 02:44 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
John,

Yep we went down this road a long time ago... and I recall too using a trigger job.
__________________
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; 07-12-2010 at 02:48 PM.
Reply With Quote
  #23  
Old 07-12-2010, 07:20 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709


Using the trigger worked! Thanks for the help guys. I can now successfully run the original batch file no problem at all.

Reply With Quote
  #24  
Old 07-21-2010, 06:48 AM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
Is this the right approach to enable me, from the extender, to either shutdown or restart the server hosting Sage?

I'm guessing so, but just wanted to see.
Reply With Quote
  #25  
Old 08-05-2010, 06:02 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Long story made short: Bought a ZBOX HD-ID11-U to use as a client, having trouble getting all the codecs right to watch different types of movies, but they all work in MPC-HC or VLC.

Question: I just found this pluggin and I'm wondering, can I use it to "send" a video file to MPC-HC, watch it, and when it's done, return me back to Sage?

Thanks!
__________________
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
Reply With Quote
  #26  
Old 08-06-2010, 02:24 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by ChaOConnor View Post
Question: I just found this pluggin and I'm wondering, can I use it to "send" a video file to MPC-HC, watch it, and when it's done, return me back to Sage?
I used to use it to do exactly that.

John
Reply With Quote
  #27  
Old 08-06-2010, 06:14 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
John, that's great news, thank you! Question, do you use a batch file to do it, or just send the command from the pluggin? Are there examples, perhaps in the old thread? Thanks again!
__________________
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
Reply With Quote
  #28  
Old 08-07-2010, 01:22 PM
MitchSchaft MitchSchaft is offline
Sage Expert
 
Join Date: Jan 2008
Posts: 717
Has anybody used this to launch PDVD or TMT for bluray movies?
Reply With Quote
  #29  
Old 08-07-2010, 01:44 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by ChaOConnor View Post
John, that's great news, thank you! Question, do you use a batch file to do it, or just send the command from the pluggin? Are there examples, perhaps in the old thread? Thanks again!
I used a batch file. Here's what I used for launching TheaterTek
Quote:
"C:\Program Files\TheaterTek\TheaterTek DVD 2.0\TheaterTek DVD.exe" /NOSPLASH %1
John
Reply With Quote
  #30  
Old 08-07-2010, 02:13 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I haven't used this specifically, but I've got a 'working version' of a plugin that adds a 'Play in External Player' to the options menu for DVD's and BluRay's. Suppose I should get around to polishing it up and publishing it. It was a quick and dirty fix for my move to v7 (wife wouldn't have allowed the move without it).
__________________
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
Reply With Quote
  #31  
Old 08-07-2010, 08:23 PM
GMan78 GMan78 is offline
Sage User
 
Join Date: Jan 2010
Location: Grand Rapids, MI USA
Posts: 50
Yes Fuzzy! Please do post and publish your solution...I am tired of running down to my basement to manually launch a BD because it won't play in SageTV.

Thanks in advance!

George
Reply With Quote
  #32  
Old 08-07-2010, 09:56 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
well, it's certainly not a simple 'install plugin' type thing. Most importantly, you've got to have a method of controlling TMT3. or me, I have a separate Girder profile that is used for TMT. Part of the batch file I use to launch TMT sets the girder profile, AND sets my output to 24Hz. Then launches TMT3 with the path to the bluray rip, then after TMT closes, it sets refresh back to 60, and sets girder back to sage.
__________________
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
Reply With Quote
  #33  
Old 08-14-2010, 11:46 AM
GMan78 GMan78 is offline
Sage User
 
Join Date: Jan 2010
Location: Grand Rapids, MI USA
Posts: 50
Thanks Fuzzy...I will give this a try. I have LM Remote Keymap as opposed to Girder...but it's pretty powerful. Still seems rather "Rube Goldberg" but hey...if it works!

Thanks.

George

Reply With Quote
  #34  
Old 11-06-2010, 12:49 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by Fuzzy View Post
I haven't used this specifically, but I've got a 'working version' of a plugin that adds a 'Play in External Player' to the options menu for DVD's and BluRay's. Suppose I should get around to polishing it up and publishing it. It was a quick and dirty fix for my move to v7 (wife wouldn't have allowed the move without it).
Any way we will see a plugin?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #35  
Old 11-06-2010, 01:28 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by panteragstk View Post
Any way we will see a plugin?
Y'know, I totally forgot about it.. I'll have to get around to wrapping this up.
__________________
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
Reply With Quote
  #36  
Old 03-31-2011, 05:36 AM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
Quote:
Originally Posted by peternm22 View Post


Using the trigger worked! Thanks for the help guys. I can now successfully run the original batch file no problem at all.

Can you post the method that was successful to run the VideoReDo Quickstreamfix in one post? It's hard to follow what was successful, including the trigger file.

Processing files with Quickstreamfix would be nice. However, I would like to modify the script to process files with Comskip using the "External Apps" plugin.


Dave
Reply With Quote
  #37  
Old 03-31-2011, 07:21 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Hi Dave,

The trigger script simply looks like this:

Code:
start D:\Sage\QFixSage\qfixsage.bat %1
This is the file that you have the External Apps plugin point to (make sure you have the right path).

And then this is the actually qfixsage.bat file which runs VideoReDo's quick stream fix (some configuration is needed at the beginning of the file):

Code:
IF EXIST "%~d1%~p1%~n1.working" goto end
dir "%~f1">>"%~d1%~p1%~n1.working"
IF EXIST "%~d1%~p1%~n1.QFixed" goto end
IF EXIST "%~d1%~p1%~n1.compressed" goto end
del "%~d1%~p1tmpEncode\%~n1.tmp"

set extension=mpg
set usetouch=no

set touchpath=D:\Sage\QFixSage\
set videoredo_path=C:\Program Files (x86)\VideoReDoTVSuite\

set priority=low

set delOriginal=yes

rem "set delOriginal above to yes or no.... yes will delete original mpg and replace with QFixed file."
rem "if set to no will QFix file to tmpEncode directory but will not delete original...."

rem ........Do Not Touch Below................................................
Title QFixxing %1
if Not exist "%~f1" exit
if NOT exist "%videoredo_path%vp.vbs" goto :errorvrd
if /I "%usetouch%" EQU "yes" if Not exist "%touchpath%touch.exe" goto errtouch

md "%~d1%~p1tmpEncode"

START /B /W /MIN /%priority% cscript.exe //nologo "%videoredo_path%vp.vbs" "%~f1" "%~d1%~p1tmpEncode\%~n1.tmp" /t1 /d /q
if errorlevel = 1 goto end
if /I "%usetouch%" EQU "yes" if exist "%~d1%~p1tmpEncode\%~n1.tmp" "%touchpath%touch.exe" -r "%~f1" "%~d1%~p1tmpEncode\%~n1.tmp"
if /I "%usetouch%" EQU "yes" if errorlevel = 1 goto :errtouch
if /I "%delOriginal%" EQU "yes" if exist "%~d1%~p1tmpEncode\%~n1.tmp" del "%~f1"
if /I "%delOriginal%" EQU "yes" if not exist "%~f1" echo "Qfix Completed">>"%~d1%~p1%~n1.QFixed"
if /I "%delOriginal%" EQU "yes" if not exist "%~d1%~p1%~n1.QFixed" if exist "%~f1" echo "File In Use Not Replaced">>"%~d1%~p1%~n1.inuse%extension%"
if /I "%delOriginal%" EQU "yes" if exist "%~d1%~p1%~n1.QFixed" if not exist "%~f1" move "%~d1%~p1tmpEncode\%~n1.tmp" "%~d1%~p1%~n1.%extension%"
del "%~d1%~p1%~n1.working"
:end
exit
:errorvrd
echo "Videoredo not found in %videoredo_path%" >>"%~d1%~p1%~n1.error"
exit
:errtouch
echo "Error Touch.exe not found in %touchpath%" >>"%~d1%~p1%~n1.error"
exit
Credit to nyplayer for the code.
Reply With Quote
  #38  
Old 05-25-2011, 11:43 AM
DMT DMT is offline
Sage Advanced User
 
Join Date: Jun 2009
Posts: 94
Thanks for this app (External Apps) !!!

When the 'demigrator' on my WHS runs while watching a blu-ray, it often causes stuttering for a minute or so. This can occur twice during a movie, as the demigrator runs hourly. Very annoying.

Now I use External Apps on my extenders to launch DemigratorOff.bat before the movie starts and DemigratorOn.bat at the end. Very cool. Solves the problem while I test server alternatives to WHS v1.

Thanks again.
__________________
SageTV 7.1.9 on Win 7 Ultimate x86; Intel DH67CF, i3-2100T, 4GB DDR3, 60GB SSD, 8TB Drive Bender storage pool, blu-ray. 2x HD PVR (SA 4250HD firewire channel change), 2x HD200 extenders (external IR receiver mod, HD300 remotes).
Plugins: Custom Main Menu, Enable/Disable Favorites, Stock Manager, Web Interface, Mobile Web Interface, PlayOn
Reply With Quote
  #39  
Old 02-25-2012, 12:30 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
I'm trying to setup an external app that will take .vprj files that Showanalyzer creates, and cuts the commercials in a file replacing the existing file. I've taken the exact batch scripts I used for the quick stream fix, and simply changed the START command to point to the .vprj file and not the actual recording. I've also setup a new trigger file to run this batch file.

It doesn't work though.

I can see in the taskmanager that the Videoredo application is launching in the background, but it doesn't do anything. No files are being placed in the tmpEncode folder and the CPU usage of the Videoredo application remains at 0%.

I've run this batch file with a recording directly by dragging and dropping the file over the .bat file, and this works fine. It's only when I try to run it from SageTV that it fails. I've attached the batch file below, and as you can see it is identical to the quick stream fix file with the exception of pointing to the .vprj file instead of the mpeg recording.

Any ideas?

Thanks.


Code:
IF EXIST "%~d1%~p1%~n1.working" goto end
dir "%~f1">>"%~d1%~p1%~n1.working"
IF EXIST "%~d1%~p1%~n1.QFixed" goto end
IF EXIST "%~d1%~p1%~n1.compressed" goto end
del "%~d1%~p1tmpEncode\%~n1.tmp"

set extension=mpg
set usetouch=no

set touchpath=D:\Sage\QFixSage\
set videoredo_path=C:\Program Files (x86)\VideoReDoTVSuite\

set priority=low

set delOriginal=yes

rem "set delOriginal above to yes or no.... yes will delete original mpg and replace with QFixed file."
rem "if set to no will QFix file to tmpEncode directory but will not delete original...."

rem ........Do Not Touch Below................................................
Title QFixxing %1
if Not exist "%~f1" exit
if NOT exist "%videoredo_path%vp.vbs" goto :errorvrd
if /I "%usetouch%" EQU "yes" if Not exist "%touchpath%touch.exe" goto errtouch

md "%~d1%~p1tmpEncode"

START /B /W /MIN /%priority% cscript.exe //nologo "%videoredo_path%vp.vbs" "%~dp1%~n1.vprj" "%~d1%~p1tmpEncode\%~n1.tmp" /t1 /d /q
if errorlevel = 1 goto end
if /I "%usetouch%" EQU "yes" if exist "%~d1%~p1tmpEncode\%~n1.tmp" "%touchpath%touch.exe" -r "%~f1" "%~d1%~p1tmpEncode\%~n1.tmp"
if /I "%usetouch%" EQU "yes" if errorlevel = 1 goto :errtouch
if /I "%delOriginal%" EQU "yes" if exist "%~d1%~p1tmpEncode\%~n1.tmp" del "%~f1"
if /I "%delOriginal%" EQU "yes" if not exist "%~f1" echo "Qfix Completed">>"%~d1%~p1%~n1.QFixed"
if /I "%delOriginal%" EQU "yes" if not exist "%~d1%~p1%~n1.QFixed" if exist "%~f1" echo "File In Use Not Replaced">>"%~d1%~p1%~n1.inuse%extension%"
if /I "%delOriginal%" EQU "yes" if exist "%~d1%~p1%~n1.QFixed" if not exist "%~f1" move "%~d1%~p1tmpEncode\%~n1.tmp" "%~d1%~p1%~n1.%extension%"
del "%~d1%~p1%~n1.working"
:end
exit
:errorvrd
echo "Videoredo not found in %videoredo_path%" >>"%~d1%~p1%~n1.error"
exit
:errtouch
echo "Error Touch.exe not found in %touchpath%" >>"%~d1%~p1%~n1.error"
exit
Reply With Quote
  #40  
Old 02-25-2012, 01:36 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Are you using a trigger job?... You need to use a trigger job.
oops sorry see you are using a trigger job.


Does your VPRJ file include the full path to the file? You can look at it in wordpad.
__________________
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; 02-25-2012 at 01:39 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.