projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c852e
)
fix: only remount optical disks on device change, this should fix secure remove of...
author
fritsch
<Peter.Fruehberger@gmail.com>
Mon, 26 Nov 2012 08:29:51 +0000
(09:29 +0100)
committer
fritsch
<Peter.Fruehberger@gmail.com>
Mon, 26 Nov 2012 08:39:02 +0000
(09:39 +0100)
xbmc/storage/linux/UDisksProvider.cpp
patch
|
blob
|
history
diff --git
a/xbmc/storage/linux/UDisksProvider.cpp
b/xbmc/storage/linux/UDisksProvider.cpp
index
4a7d650
..
2efbe96
100644
(file)
--- a/
xbmc/storage/linux/UDisksProvider.cpp
+++ b/
xbmc/storage/linux/UDisksProvider.cpp
@@
-360,8
+360,9
@@
void CUDisksProvider::DeviceChanged(const char *object, IStorageEventsCallback *
else
{
bool mounted = device->m_isMounted;
-
- if (!mounted && g_advancedSettings.m_handleMounting)
+ /* make sure to not silently remount ejected usb thumb drives
+ that user wants to eject, but make sure to mount blurays */
+ if (!mounted && g_advancedSettings.m_handleMounting && device->m_isOptical)
device->Mount();
device->Update();