Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
(2016-09-21, 02:01)brazen1 Wrote:
Quote:when I click "Play" on my Blu-ray Drive letter "K:", PowerDVD Launches

Make sure Windows Auto Play option is Take No Action when disc is inserted.
Also, try not selecting Play on the drive letter. That may make a difference?
Navigate into the virtual rom and then select Play for the bdmv or context menu © and select play using and then 2D.

Just so you understand, PDVD has a built in virtual rom.
If you selected play using PDVD from Windows Explorer, PDVD will mount on the next available drive letter for that iso.

If that doesn't work for you, this is another way of doing it:

Create and add this PlayDISC.bat next to your others.

Code:
@echo off

"C:\Program Files (x86)\CyberLink\PowerDVD16\PowerDVD.exe" K:

exit

and use this playercorefactory.xml (EDIT YOUR NAME THREE TIMES)

Code:
<playercorefactory>
  <players>
     <player name="3D" type="ExternalPlayer" audio="false" video="true">
       <filename>C:\Users\YOURNAMEGOESHERE\AppData\Roaming\Kodi\userdata\PlayISO3D.bat</filename>
       <args>"{1}"</args>
       <hidekodi>false</hidekodi>
       <hideconsole>true</hideconsole>
       <forceontop>false</forceontop>
    </player>
     <player name="2D" type="ExternalPlayer" audio="false" video="true">
       <filename>C:\Users\YOURNAMEGOESHERE\AppData\Roaming\Kodi\userdata\PlayISO2D.bat</filename>
       <args>"{1}"</args>
       <hidekodi>false</hidekodi>
       <hideconsole>true</hideconsole>
       <forceontop>false</forceontop>
    </player>
     <player name="DISC" type="ExternalPlayer" audio="false" video="true">
       <filename>C:\Users\YOURNAMEGOESHERE\AppData\Roaming\Kodi\userdata\PlayDISC.bat</filename>
       <args>"{1}"</args>
       <hidexbmc>false</hidexbmc>
       <hideconsole>true</hideconsole>
       <forceontop>false</forceontop>
    </player>
  </players>
     <rules action="prepend">
       <rule filetypes="mkv|avi|strm|mov|flv|mp4|webm|3gp" player="VideoPlayer"/>
       <rule filename=".*.3D.*|.*.3D.iso|3D.*" player="3D"/>
       <rule filetypes="iso|bdmv|mpls|m2ts" player="2D"/>
     </rules>
</playercorefactory>

Quote: My other issue is more of a convenience thing. Right now the only way to reach the Blu-ray Disc is going into Video -> Files. Is it possible at all to a "Play Disc" or something of that nature right into the main menu, where we have "Movies", "TV Shows", "Videos" etc, as opposed to going into Videos -> Files?

I have seen skins that have 'Play Disc' already added to the main menu.
Many allow you to add a main menu item by setting up items, such as a specific file/folder.
You should get a feel for it by starting in skin settings/main menu items and see if it can be edited to add a shortcut to your bdrom drive.

Please star rate this thread as you see fit.

Brazen,

Thanks for the code and all your help.

One question, in the playercorefactory.xml, I see we created a new <player> with the name "DISC", however, I don't see this player being called in the <rules> section. How will Kodi know to fire PlayDISC.bat if we haven't matched up the <player> called "DISC" with any of the rules? I might be missing something.

Thanks!
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
RE: HOW TO - Kodi 2D & 3D Guide Internal & External Players Incl afedchin build - by luci5r - 2016-09-22, 20:45
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39