xbmc/xbmc — pull request #599 by ScudLee (2011-12-29 18:11:23+00:00)
Title: Fix: Get URIUtils::IsDVD to return true when playing DVD

Because AutoRun::RunDisc now uses the full path, IsDVD always returns false when you start playing a DVD. This has the minor knock-on effect that the dvd="true" test in playercorefactory.xml will never match (if you notice in your debug logs DVDs currently match against the dvdfile rule rather than dvd rule). That doesn't affect much (since it's the same default player), but hypothetically someone might want to use dvd="true" to launch an external player, and currently they can't.

This should work on all platforms, since it uses IsOnDVD which already handles the different cases, but I've only tested it on Windows.