aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalP <CrystalP@xbmc.org>2011-12-02 00:33:21 -0500
committerCrystalP <CrystalP@xbmc.org>2011-12-02 00:33:21 -0500
commit3609373c6f542115400525cdbf39116a57a2fa6c (patch)
tree28a5cda14013397d4df15fb1fc7304b732a20cef
parent58b7b2407edb1f020bc6eeb70f037c5acc41de06 (diff)
Fix identification of inserted dvd for computers with multiple drives
-rw-r--r--xbmc/ApplicationMessenger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/ApplicationMessenger.cpp b/xbmc/ApplicationMessenger.cpp
index 118c8ad12a..adc89af628 100644
--- a/xbmc/ApplicationMessenger.cpp
+++ b/xbmc/ApplicationMessenger.cpp
@@ -728,9 +728,9 @@ case TMSG_POWERDOWN:
case TMSG_OPTICAL_MOUNT:
{
CMediaSource share;
+ share.strPath = pMsg->strParam;
share.strStatus = g_mediaManager.GetDiskLabel(share.strPath);
share.strDiskUniqueId = g_mediaManager.GetDiskUniqueId(share.strPath);
- share.strPath = pMsg->strParam;
if(g_mediaManager.IsAudio(share.strPath))
share.strStatus = "Audio-CD";
else if(share.strStatus == "")