2013-02-22, 11:46
(2013-02-20, 16:32)ltm82 Wrote: @ Bluray
in particular could you explain this command line in the bat file:
:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
could you please explain the string %1 what type of string passes to pth?
When you play a Blu-ray folder from the Movie library in Frodo you will get a small popup with a few options like 'Play Main Title', 'Choose Title' and 'Show Blu-ray menu', the %1 sent to the bat file will be different depending on what you choose.
If you choose the main title or one of the other titles it will send the playlist number, example -
"E:\Movies\Avatar\BDMV\PLAYLIST\00001.mpls"
If you choose the 'Show Blu-ray Menu' it will usually send the MovieObject.bdmv or index.bdmv, example -
"E:\Movies\Avatar\BDMV\MovieObject.bdmv"
So %1 would be "E:\Movies\Avatar\BDMV\MovieObject.bdmv"
set pth="E:\Movies\Avatar\BDMV\MovieObject.bdmv"
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
the second and third line remove 'BDMV\MovieObject.bdmv' or 'BDMV\index.bdmv' from the path
So pth will end up = "E:\Movies\Avatar\"
This path is then sent to the external player to play.
What command line are you using to start the BDMV folder in PowerDVD12?