I have made a very simple addition to the code of DeviceChangeNotifier.py to allow the plugin a differentiation of media types inserted. It fires a "Drivemounted.X.BluRay" event for BD, a ".DVD" event or an ".Unknown" event for other types (Audio CD detection does not work). The idea behind is the following: Let's say you use DVBViewer as your media center. Although it can handle BD-playlists and therefore play the m2ts-streams you would rather open Blu Rays and DVDs (i.e. for upsampling reasons) in TMT oder PDVD. Of course you also want to use the correct display refresh rate, which is 24hz for BD and 50hz for DVD (PAL). So when a BD arrives, you now can tell EventGhost to stop DvbViewer, Change refresh rate and then open TMT or PDVD. After program termination you change back to 50hz which you would use for TV. If a DVD is inserted, no refresh rate change is necessary, just TMT or PDVD is opened.
To me this is the simpliest way to achieve the correct screen refresh rate, more comfortable than using third party programs/plugins. The downside is that you still need a DVBViewer plugin if you have MKV files with 24Hz and like to view in native refresh rate to avoid stutter...
Regards
Knilch
P.S.: I have no knowledge in Python programming, so my code addition looks very childish