Skip to content

Commit

Permalink
Disabled audio normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
RicBent committed Dec 23, 2021
1 parent 8204c5d commit 161ba64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/migaku_connection/card_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ def handleAudioFile(self, file, filename, suffix):
return
filename = filename[0:-3] + "mp3"
if config.get('normalize_audio', True):
self.moveExtensionMp3NormalizeToMediaFolder(audio_temp_path, filename)
# TODO: self.moveExtensionMp3NormalizeToMediaFolder(audio_temp_path, filename)
self.moveExtensionMp3ToMediaFolder(audio_temp_path, filename)
else:
self.moveExtensionMp3ToMediaFolder(audio_temp_path, filename)
else:
Expand Down
2 changes: 2 additions & 0 deletions src/settings_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ def init_ui(self):
convert_audio_mp3.stateChanged.connect(lambda state: config.set('convert_audio_mp3', state == Qt.Checked))
self.lyt.addWidget(convert_audio_mp3)

return # TODO

self.add_label(
'Audio files imported via the Browser Extension may vary in volume which can be distracting during reviews.<br>'
'The option below will normalize the volume of all imported audio files to approximately the same level.'
Expand Down

0 comments on commit 161ba64

Please sign in to comment.