![]() |
|
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 |
#41
|
|||
|
|||
I just checked and the vprj file does contain the full path.
Again, if I manually run the batch file (outside of SageTV) and send it a recording it works fine (grabs the correct vprj, cuts the commercials, and replaces the original file). It's only in the external apps that it fails. Any other ideas? |
#42
|
||||
|
||||
What version of VideoRedo are you using?
The /t# option is not used with version 4 (h.264), you need to use a /p ![]() John |
#43
|
|||
|
|||
I'm using version 3 (the non h264 version), I've always used the /t1 switch and it has worked fine on this version.
Again, this batch file works perfectly well when I manually run it (dragging the recording file onto the batch file, or typing out the command in the command line). It's only when the exact same batch file (with trigger script) is run from SageTV that it fails. |
#44
|
|||
|
|||
I decided to have another go at it, but I still can't get it to work. I simplified the batch file to rule out possible problems, and I hardcoded paths in for a particular recording:
Code:
set videoredo_path=C:\Program Files (x86)\VideoReDoTVSuite\ set recording_path=D:\Sage\Recordings\MythBusters-WaterslideWipeout-8123959-0.vprj set priority=low START /B /W /MIN /%priority% cscript.exe //nologo "%videoredo_path%vp.vbs" "%recording_path%" "D:\Sage\Recordings\tmpEncode\temp.mpg" /t1 /d /q I decided to try setting up Dirmon2 to see if I could get it to run the batch file, and the exact same thing happens as before. Videoredo launches, but it doesn't actually process anything. I'm thinking this has something to do with user permissions (since both SageTV and Dirmon2 run things as a service) and VideoReDo not being able to access the .vprj file (which is weird because it can access a .mpg file when doing a quick stream fix). This is over my head though. Any ideas? I'm running Windows 7 64bit HP... Thanks. |
#45
|
||||
|
||||
To troubleshoot, you need to see what is actually being passed to the batch file by External Apps. (Try putting something like echo %1 %2 %3 > BatchOutput.txt at the beginning of the batch file, run something from the external apps, and check the text file to see if it contains anything).
__________________
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 |
#46
|
|||
|
|||
I tried something similar earlier, and had the entire command that launches Videoredo printed to a text file. The command was 100% right, and pasting that command into a command prompt within Windows worked perfectly... it just was never actually run properly when called from the External Apps.
If you look at the last bit of batch file I posted, it contains absolutely no reference to the programs arguments, so I think that can be safely ruled out. |
#47
|
||||
|
||||
No other ideas. Running as a service (logged into the user account) SHOULD still run the same as the user. the only difference would be access to mapped drives (if your D drive is actually a network share mapped as D:, this will not work).
__________________
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 |
#48
|
|||
|
|||
Peter,
try the simplified batch file below I added the windows directory where cscript.exe is located.... see if that works. If that doesn't work you can add the I switch to your batch. ex".... START /I /B /W /MIN /%priority% cscript.exe //nologo "%videoredo_path%vp.vbs" "%recording_path%" "D:\Sage\Recordings\tmpEncode\temp.mpg" /t1 /d /q Code:
set videoredo_path=C:\Program Files (x86)\VideoReDoTVSuite\ set recording_path=D:\Sage\Recordings\MythBusters-WaterslideWipeout-8123959-0.vprj set priority=low cd "C:\Windows\System32" c: START /B /W /MIN /%priority% cscript.exe //nologo "%videoredo_path%vp.vbs" "%recording_path%" "D:\Sage\Recordings\tmpEncode\temp.mpg" /t1 /d /q
__________________
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; 03-22-2012 at 10:18 AM. |
#49
|
|||
|
|||
Another great plugin!
Having a couple of issues, need some help. 1. >>> I want to run TMT5 on selected file on a SageTVClient (different machine than my server). In Setup, the External App Dirrectory defaults to the server (I know most people here manipulate server files with this Plugin). In order to get this to work, I have to be able to access the client machines' hard drive FROM the server. With mix of WinXP and Win7 machines, this is a real PIA, and a bit flakely on reboot of client and server machines. Am I doing something wrong here? Is there some way to point "External App Directory" directly to the client machines' hard drive directories? 2.>>> When I install the plugin, I get some funky things happening on my views of imported media. With Stock UI, navigating to "Folders," each folder has overwritten the path for the that folder with /BDMV at end. Real messy looking. When I remove the plugin, this goes away. Tried rebooting, etc..... Thanks in advance! |
#50
|
||||
|
||||
I'll assume you are wanting to run TMT5 for bluray playback. If that is the case, you may fine the BluRay/DVD External Playback plugin more useful.
__________________
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 |
#51
|
|||
|
|||
Fuzzy: Your Plugin for external playback is great.
Recently I have found "most" of my BR folder rips play fine within SageTV, including HD audio bitstreaming and even smooth m2ts VC-1 content! What I am thinking now is that I use your plugin for launching TMT5 for actual disc playback when anyone in family rents one. If I have any problems with native SageTV playback for folder rips (wrong m2ts file chosen, wrong language, problems forced subtitles, etc.) , or I want special features or 3D, I can have the option to launch TMT5 from this external plugin. In short, like most people here, I want it all ![]() |
#52
|
||||
|
||||
Quote:
I don't see what you're seeing when I go into the Video Folders view, or any other view that I've tried. John I take it back. I do see what you're talking about when I use Separate Folder Display Style Last edited by JREkiwi; 03-31-2012 at 01:55 AM. |
#53
|
|||
|
|||
Just reinstalled your plugin on another computer, and scratched my head as to why the "separate folder view" problem was fixed.
Then I checked the plugin date/ revision notes... you fixed it!!! I also can reliably get my server to access my client hard drive (without username/password b.s.)., so running TMT on my client (directed from server) works great. Thanks for great plugin! |
#54
|
||||
|
||||
Quote:
![]() John |
#55
|
|||
|
|||
TMT5 freezes hangs crashes with HD audio track
Hate to overstay my welcome here. Need a bit more help.
Have External Apps working great to launch TMT5 on my SageTV Client (separate from a SageTV server). Now that I am actually using this, I have noticed a problem, likely something in TMT itself: If just running TMT5, and I insert a disc into the drive, some discs will default to highest quality HDMI HD audio. Some discs, when inserted, default to lower resolution DTS or Dolby, and you must manually change to the higher resolution on the disc menu. Now to the problem: On BR Folder rips, if I launch TMT from plugin thru Sagetv, TMT opens great and I get to the disc menu always for the video chosen. Everything looks great. On BR Folders where the default is low-res audio, if I hit "play" , everything works great. If before hitting "Play," I change audio to the HD track, then hit play then TMT5 freezes up and have to kill it. (this works fine if I use actual disc). On a BR Folder rip that has a default audio track that is HD audio, when I launch from your plugin, get the normal disc menu for that video. When I hit play, TMT5 freezes up again. Even if I redo thiss, and attempt to change audio to low-res DTS/Dolby, the TMT5 freezes when I hit play. I created batch files that explicitly call TMT5 with the BR folders as arguments. The argument (path to video on server) is identical to the argument passed by "External Apps" (used the echo %>c:\batchoutput.txt in the external apps batch file to check). When running these "hard-coded" batch files, everything works fine, no freezes or crashes. So, External Apps launch of the batch files is different then a double click launch of a hard-coded batch file. And it seems to be related to BR folders with default HD audio tracks. It is almost as if TMT5 is detecting a Protected Audio Path violation when HD audio is attempted if TMT is launched from your plugin. UAC is turned off. I tried a trigger batch file also, still no love. Thoughts? edit: Also have Fuzzy's Bluray/External plugin installed. I enabled "Watch BluRays's in External Player" in Setup- DVD for his plugin. Now when I click watch now in Sagetv on a bluray rip folder, it launches TMT5 passing the video file as argument. And everything works fine!!!! So there may be a fundamental difference in the way Fuzzy calls the external batch file, and the way it is done in JREkiwi's plugin. Last edited by dcardellini; 04-08-2012 at 11:04 AM. |
#56
|
||||
|
||||
Quote:
__________________
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 |
#57
|
|||
|
|||
Fuzzy:
I didn't try this, as I really want to bitstream everything possible to my pre/pro. However, if I were to set this, how do I know that Arcsoft is starting with the DTS-HD audio track and uncompressing to LPCM? How do I know they are not mangling it somehow.....all off topic, and likely a never-ending debate on it own! As an aside, I did fix my problem. My newbie-like theory still stands. JREkiwi's plugin is calling the user batchfile in a different way than Fuzzy's batch file launch. I believe the batch file from JREkiwi's (External Apps) is not launching as the current user, TMT5's protected audio path is choking on BluRays that default to HD Audio due to this PAP/current user issue. Googled to death but find nothing. I struggled to elevate the user batch file to administrator thru runas command in batch file with no luck. Finally downloaded the Elevate.exe utility. Place Elevate.exe in windows directory, and precede command line in batch file (that launches the tmt exe) with the "Elevate" command. Works great now. Bit of a hack, but gets job done. Last edited by dcardellini; 04-11-2012 at 11:44 AM. |
#58
|
||||
|
||||
I am very confused.
![]() That will not work to launch an external player on the client computer. I am just trying to launch Zoomplayer for some files. How do I get this working? Thanks! |
#59
|
||||
|
||||
It's a bug - and a common one throughout plugins run on clients (including some of my plugins that i never got around to fixing). The way to get around it is to set the path to the batch file directly in the sageclient.properties file.
__________________
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 |
#60
|
||||
|
||||
Thanks Fuzzy! I will see if I can find those entries.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
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 |