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
3eca5758
Commit
3eca5758
authored
Apr 01, 2022
by
Hugo Beauzée-Luyssen
Browse files
MetadataParser: Don't ignore errors when converting media to external
parent
f81cf467
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/metadata_services/MetadataParser.cpp
View file @
3eca5758
...
...
@@ -602,6 +602,8 @@ Status MetadataAnalyzer::createFileAndMedia( IItem& item ) const
return
Status
::
Fatal
;
}
auto
res
=
overrideExternalMedia
(
item
,
*
media
,
*
file
,
mediaType
);
if
(
res
!=
Status
::
Success
)
return
res
;
// IItem::setFile will update the task in db, so run it as part of
// the transation
item
.
setFile
(
std
::
move
(
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