• 1
  • 150
  • 151
  • 152(current)
  • 153
  • 154
Another External Player Code, but Very Simple to Setup
Anyone please?
Reply
I have a question on whether something can be done by modifying the playercorefactory file. I already have it correctly setup for launching Stereo Scopic player for MK3D files. What I would like is every time a file is clicked on that matches the rule open the play context window and be given a choice to play with the internal player or external player. Is this possible?
Reply
Has anyone setup with PowerDVD 15 Ultra yet? I upgraded but haven't gotten around to trying.

Want it auto play all my bd.iso and 3d bd.iso files. Version 14 I couldn't get it to auto start to keep simple for family. Also didn't auto detect with content was 3d. Has to manual change to 3d in PowerDVD.
Reply
(2015-05-13, 18:34)rmilyard Wrote: Has anyone setup with PowerDVD 15 Ultra yet? I upgraded but haven't gotten around to trying.

Want it auto play all my bd.iso and 3d bd.iso files. Version 14 I couldn't get it to auto start to keep simple for family. Also didn't auto detect with content was 3d. Has to manual change to 3d in PowerDVD.

Anyone trying this out? I am thinking about testing out PowerDVD 15. I am just not sure how to get the autoplay and detect 3d content right.

I use Kodi to play all files other than my bd.iso and 3d bd.iso files. I have a lot of those and like playing that back via something that I get true BD playback. IE Menu, Sound and true 3d.
Reply
This is the code I am trying right now:

powercorefactory:
Code:
<playercorefactory>
    <players>
           <player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\Ray\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>
                        <hideconsole>True</hideconsole>
                        <warpcursor>none</warpcursor>                
        </player>
        </players>
        <rules action="prepend">
        <!-- Bluray ISO -->
                <!-- Bluray ISO/BDMV -->
        <rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
                 
</rules>
</playercorefactory>

PlayISO.bat:
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" H:
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end

:end
exit

When it runs the iso mounts and PowerDVDCinema starts. However it's not playing the H: drive. I am getting this:
Image
As you can see it's looking at H: drive. Then I need to click the mouse and I will get this screen:
Image
From here if I select H: this screen comes up:
Image
If I click restart all works.

Also when I stop the movie it doesn't clock PowerDVD. I would like it to close to go back to Kodi.

If anyone knows what I might be doing wrong that would be great!
Reply
So if I use this code:

Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD15\PowerDVD.exe" H:
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\CyberLink\PowerDVD15\PowerDVD.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\CyberLink\PowerDVD15\PowerDVD.exe" %pth% exit
GOTO end

:end
exit

It autostarts and plays. However I would like to start in Cinema code but can't seem to figure out how the add the command line switch for that to try.
Reply
I used to have PowerDVD12 during XBMC days. I believe that to get Cinema mode you have to replace all the lines with PowerDVD with PowerDVDCinema. Or you can select Cinenma mode within PowerDVD as shown in this video- https://www.youtube.com/watch?v=VqIw6huwhX0
Reply
(2015-05-20, 19:21)noworry Wrote: I used to have PowerDVD12 during XBMC days. I believe that to get Cinema mode you have to replace all the lines with PowerDVD with PowerDVDCinema. Or you can select Cinenma mode within PowerDVD as shown in this video- https://www.youtube.com/watch?v=VqIw6huwhX0

Doesn't work for me. When in classic and switch the cinema it loses the ISO image. Think bat file thinks stopped so runs the unmount part in bat file.
Reply
Bug 
So I think I have found the issue just not sure how and if can fix this. I found what when running the PlayDVD.bat file the image mounts. Then PDVDLP loads then it jumps right the unmounts iso. If I put a timeout of say 60 secs you can play iso for 1 minute. If you run PowerDVD.exe instead then the unmounts doesn't run until you close the program.

playercorefactory:
Code:
<playercorefactory>
    <players>
        <player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\Ray\AppData\Roaming\Kodi\userdata\PlayDVD.bat</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>
                        <hideconsole>True</hideconsole>
                        <warpcursor>none</warpcursor>                
        </player>
    </players>
        <rules action="prepend">
            <!-- Bluray ISO -->
                    <!-- Bluray ISO/BDMV -->
            <rule filetypes="iso|bdmv|mpls" player="PowerDVD"/>
        </rules>
</playercorefactory>

PlayDVD.bat:
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
timeout 2
"C:\Program Files (x86)\Cyberlink\PowerDVD15\PDVDLP.exe" AUTOPLAY BD H:\ /LaunchProgram PowerDVDCinema
timeout 60
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\Cyberlink\PowerDVD15\PowerDVD.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\Cyberlink\PowerDVD15\PowerDVD.exe" %pth% exit
GOTO end

:end
exit
Reply
Well I have been messing with this a lot in PowerDVD 15. I am finding that this code works best for getting Cinema Mode.

PlayDVD.bat:
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
timeout 2
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" AUTOPLAY BD H:\
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\Cyberlink\PowerDVD15\PowerDVD.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\Cyberlink\PowerDVD15\PowerDVD.exe" %pth% exit
GOTO end

:end
exit

I am using this on my HTPC in Theater Room with our Epson 3d 2030 projector. We have a Harmony Ultimate Home remote to keep simple for family. When I was using TMT 6 if pressed stop on the remote it would close TMT and go back to Kodi. With this setup it doesn't. You need to click the X to close the program then you'll get Kodi. I would like to find some way to close program easy so doesn't need to keep a mouse in Theater room.
Reply
Decided to rename my 3D movies from "_3D" to "Bluray 3DBD" (so I could get the 3d icon on a skin I am using) But for some reason I cant get TMT6 to launch when trying to play my 3d movies with the new name tag. I am on Kodi 14.2. All my 3d movies are in ISO. Could someone tell me whats wrong with my playcorefactory.


Bluray 3DBD
Code:
<playercorefactory>
<players>
<player name="Bluray 3DBDISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\user\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
</player>

</players>

<rules action="prepend">

<rule filetypes="iso|mpls|bdmv" filename=".*Bluray 3DBD.*" player="Bluray 3DBDISO_Player"/>

</rules>
</playercorefactory>

This one works with "_3D"
Code:
<playercorefactory>
<players>
<player name="3DISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\USER\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
</player>

</players>

<rules action="prepend">

<rule filetypes="iso|mpls|bdmv" filename=".*_3D.*" player="3DISO_Player"/>

</rules>
</playercorefactory>
Reply
Could it be the space in between (Bluray 3DBD)? Have you try (Bluray_3DBD)?
Reply
Name your titles like this:

Avatar (2009) .3D for an iso.
or
Avatar (2009) .3D.SBS for a side by side.

@rmilyard

Map alt+f4 to your harmony to close your external and return to Kodi. I put it on the exit button. I also add it to the activity for when I shut down. I have perfect code for TMT if you need it but my setup is for defaulting 2D titles and 3D titles so that stereoscopic is automated with an NVidia GPU. It also selects the internal player or external player based on content by default. I'm sure you can adapt for PDVD but if you are not using 3D, the code will be of little use to you. I would also suggest you try changing these lines in your code:


<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
Moved to another thread
Reply
bit of a newbie here , is it possible to use pot player as an external player ?
If so would someone be able to link me to a corefactorplayer.xml I could use ?
Reply
  • 1
  • 150
  • 151
  • 152(current)
  • 153
  • 154

Logout Mark Read Team Forum Stats Members Help
Another External Player Code, but Very Simple to Setup13