Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
4e1b2aaf
Commit
4e1b2aaf
authored
Sep 27, 2016
by
Hugo Beauzée-Luyssen
Browse files
FsDiscoverer: Add missing devices update when reloading a subdirectory
parent
11d37c9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/discoverer/FsDiscoverer.cpp
View file @
4e1b2aaf
...
...
@@ -99,6 +99,12 @@ bool FsDiscoverer::reload()
bool
FsDiscoverer
::
reload
(
const
std
::
string
&
entryPoint
)
{
LOG_INFO
(
"Reloading folder "
,
entryPoint
);
// Start by checking if previously known devices have been plugged/unplugged
if
(
checkDevices
()
==
false
)
{
LOG_ERROR
(
"Refusing to reloading files with no storage device"
);
return
false
;
}
auto
folder
=
Folder
::
fromPath
(
m_ml
,
entryPoint
);
if
(
folder
==
nullptr
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment