NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 21 22 23 24 25 … 159 Next »
One click launch of Blu-ray rips

 
  • 0 Vote(s) - 0 Average
One click launch of Blu-ray rips
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#1
2012-04-12, 11:14 AM
I know there's "kind of" support for Blu-rays in NPVR now via the LAV splitter and audio decoder, but I've never really managed to get it working that well, and you're still left without support for subtitles, never mind full-menu support if you want that too. Therefore, I still play all of my blu-ray discs via TotalMediaTheater.

Not that I really have the drive space for it, but I started looking at options for ripping some of them (to iso, and using ClownBD to make them movie-only), but wanted a nice solution for launching TMT via NPVR direct to the mounted ISO. Turns out the solution is reasonably simple:

Rather than tell NPVR the location of VirtualCloneDrive's daemon.exe, I changed the config file so that it called a batch file instead:

Code:
<DaemonToolsExe>D:\Batch Files\NPVR-VCD.bat</DaemonToolsExe>

This batch then calls the daemon to do the mount using the parameters NPVR gave it. From there, it just has to call my normal launch script for TMT but with a different drive path now:

Code:
"C:\Program Files\SlySoft\VirtualCloneDrive\Daemon.exe" %1 %2 %3 %4 %5

"D:\BatchRunner\batchrunner.exe" "D:\Batch Files\NPVR-BluRayISO.bat"

Batchrunner is something I wrote to run batch files without the dos window appearing.

NPVR-BluRayISO.bat does a whole bunch of stuff to get ready for running TMT (like killing NPVR), but ultimately it calls the following, where y: is the path to my virtual blu-ray drive.

Code:
start /D"C:\Program Files\Arcsoft\TotalMedia Theatre 3\" /WAIT uMCEDVDPlayer.exe y:

Of course, if you have DVD rips as ISOs (I don't), then this would mean they'd play via TMT too rather than in NPVR, but you could probably work around that.

Iain
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#2
2012-04-12, 02:45 PM
Iain,

do you mind sharing batchrunner? Also, how is it different from hiderun?
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#3
2012-04-12, 03:01 PM
jam_zhou Wrote:do you mind sharing batchrunner? Also, how is it different from hiderun?

It's a few lines of Java that just starts the given argument (eg a path to a batch file) as a process, capturing any of its error/output streams along the way. It just means in the case of batch files the dos window never appears. If hiderun does something similar then I'd just stick with that as it'll have no reliance on Java (I've been meaning to rewrite mine in c# for months)...

Iain
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#4
2012-04-16, 02:39 PM
Looks as though CHP.EXE (Create Hidden Process - Not Combined Heat & Power) http://www.commandline.co.uk/chp/ could be a good solution to launching batch files silently and it is open source (source code is in the download)

I am just rebuilding Vista on my HTPC after 4 years service (Nasty wreck resizing the C drive, then remembered Acronis had refused the previous time :eekSmile - complete installation is now half the size of the previous SxS folder!

I will give CHP a try and report back.
It's not an overly complicated system - it's more - overly simple operatives  Huh
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#5
2012-04-18, 05:38 AM
Have given chp.exe a test and it seems to do what I wanted - runs batch files sillently. Just call chp in a custom task with the full path to the bat file as the argument - that caught me out as I was running chp in the script folder I wasn't putting the full path.
It's not an overly complicated system - it's more - overly simple operatives  Huh
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Launch from Green Button Solution mobiusnz 0 1,631 2014-09-22, 11:00 AM
Last Post: mobiusnz
  Internet Explorer click sound agerdin 3 1,661 2007-11-05, 08:44 AM
Last Post: stustunz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode