Kodi Community Forum

Full Version: Play Disc Button and Bluray
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dharma allows you to play unencrypted Bluray discs sans menus without using an external player, however, you must invoke this via PlayMedia("X:\BDMV\index.bdmv"); PlayDVD() won't work. Is there any condition one can check for to invoke either PlayDVD() or PlayMedia() depending on what type of disc is inserted? When using an external player you can look for 'protocols="bd"' in playercorefacory.xml; is it possible to get at this value from the skin and use it in a <visible> tag? That way the Play button could be made to transparently behave properly regardless of the type of media inserted. Otherwise you need a completely seperate button to launch bluray.