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
c39ff8f2
Commit
c39ff8f2
authored
Oct 07, 2015
by
Hugo Beauzée-Luyssen
Browse files
FsDiscoverer: Log file deletion
parent
e981df66
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/discoverer/FsDiscoverer.cpp
View file @
c39ff8f2
...
...
@@ -147,12 +147,14 @@ void FsDiscoverer::checkFiles( fs::IDirectory* folder, FolderPtr parentFolder )
files
.
erase
(
it
);
continue
;
}
LOG_INFO
(
"Forcing file refresh "
,
filePath
);
m_ml
->
deleteFile
(
filePath
);
m_ml
->
addFile
(
filePath
,
parentFolder
);
files
.
erase
(
it
);
}
for
(
auto
file
:
files
)
{
LOG_INFO
(
"File "
,
file
->
mrl
(),
" not found on filesystem, deleting it"
);
m_ml
->
deleteFile
(
file
);
}
}
Write
Preview
Supports
Markdown
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