Results 1 to 5 of 5

Thread: One click launch of Blu-ray rips

  1. #1
    Join Date
    Feb 2008
    Location
    Scotland, UK
    Posts
    2,126

    One click launch of Blu-ray rips

    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
    NextPVR Plugins: AudioAdjust | AutoRefresh | MediaInfo | MovieTrailers | ReClockOrNot | SubMenu

  2. #2
    Join Date
    Sep 2005
    Location
    Ottawa, ON, Canada
    Posts
    623
    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

  3. #3
    Join Date
    Feb 2008
    Location
    Scotland, UK
    Posts
    2,126
    Quote Originally Posted by jam_zhou View Post
    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
    NextPVR Plugins: AudioAdjust | AutoRefresh | MediaInfo | MovieTrailers | ReClockOrNot | SubMenu

  4. #4
    Join Date
    Oct 2008
    Location
    Severn Estuary (Mendip) UK
    Posts
    804
    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 ) - 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

  5. #5
    Join Date
    Oct 2008
    Location
    Severn Estuary (Mendip) UK
    Posts
    804
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •