mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: UDevProvider: mountpoint should contain "/media/"
/ (dev/loop0) is considered "removable" but should not be shown as (empty) media source
This commit is contained in:
parent
7c840e8491
commit
121b7f502a
@ -16,7 +16,7 @@ index c20facc..c1044c8 100644
|
||||
((bus && strstr(bus, "usb")) ||
|
||||
(cdrom && strstr(cdrom,"1")) ||
|
||||
- (mountpoint && strstr(mountpoint, "usb"))))
|
||||
+ (mountpoint)))
|
||||
+ (mountpoint && strstr(mountpoint, "/media/"))))
|
||||
{
|
||||
const char *label = udev_device_get_property_value(device, "ID_FS_LABEL");
|
||||
if (!label)
|
||||
|
Loading…
x
Reference in New Issue
Block a user