Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jvoisin
mat2
Commits
d555a02c
Commit
d555a02c
authored
Dec 19, 2021
by
jvoisin
Browse files
Increase audio processing robustness
parent
143bb0a5
Pipeline
#71745
passed with stages
in 3 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libmat2/audio.py
View file @
d555a02c
...
...
@@ -27,8 +27,11 @@ class MutagenParser(abstract.AbstractParser):
def
remove_all
(
self
)
->
bool
:
shutil
.
copy
(
self
.
filename
,
self
.
output_filename
)
f
=
mutagen
.
File
(
self
.
output_filename
)
f
.
delete
()
f
.
save
()
try
:
f
.
delete
()
f
.
save
()
except
mutagen
.
MutagenError
:
raise
ValueError
return
True
...
...
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