diff options
author | CrystalP <CrystalP@xbmc.org> | 2011-12-02 00:33:21 -0500 |
---|---|---|
committer | CrystalP <CrystalP@xbmc.org> | 2011-12-02 00:33:21 -0500 |
commit | 3609373c6f542115400525cdbf39116a57a2fa6c (patch) | |
tree | 28a5cda14013397d4df15fb1fc7304b732a20cef | |
parent | 58b7b2407edb1f020bc6eeb70f037c5acc41de06 (diff) |
Fix identification of inserted dvd for computers with multiple drives
-rw-r--r-- | xbmc/ApplicationMessenger.cpp | 2 |
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 == "") |