aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 == "")